Detalhes do pacote

math.clz32

es-shims65MIT1.0.3

An ES-spec-compliant Math.clz32 shim/polyfill/replacement that works as far down as ES3

Math, clz32, Math.clz32, shim

readme (leia-me)

Math.clz32 Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ESnext spec-compliant Math.clz32 shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Getting started

npm install --save math.clz32

Usage/Examples

console.log(Math.clz32(1)); // 31
console.log(Math.clz32(1000)); // 22

Tests

Simply clone the repo, npm install, and run npm test

changelog (log de mudanças)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.0.3 - 2023-09-01

Commits

  • [Dev Deps] update @es-shims/api, @ljharb/eslint-config, aud, reflect.ownkeys, tape 6d10b97
  • [Deps] update define-properties, es-abstract 9f42d44

v1.0.2 - 2022-11-04

Commits

  • [actions] reuse common workflows 7f49680
  • [meta] fix package.json indentation 09282be
  • [meta] use npmignore to autogenerate an npmignore file b758614
  • [Dev Deps] update eslint, @ljharb/eslint-config, @es-shims/api, reflect.ownkeys, safe-publish-latest, tape 2fb41cd
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, functions-have-names, tape 180d6cc
  • [actions] update codecov uploader fa514e7
  • [actions] update rebase action to use reusable workflow 4a53349
  • [Deps] update es-abstract cdaa47d
  • [Deps] update es-abstract ea68b6f

v1.0.1 - 2021-10-02

Commits

  • [actions] update workflows 0517e9e
  • [Refactor] remove ESM entry points a3047e4
  • [Dev Deps] update eslint, @ljharb/eslint-config, @es-shims/api, aud, auto-changelog, tape 6867005
  • [readme] add github actions/codecov badges efea108
  • [Deps] update es-abstract ae15fda
  • [Test] fix keys test in older nodes ee48056

v1.0.0 - 2021-01-05

Commits

  • Initial commit f521e15
  • Implement Math.clz32 polyfill de08a71
  • [meta] fix npm package name/readme URLs 4c4e6c9
  • [Fix] do not mutate the builtin when no polyfill is needed 6cca684
  • [Deps] update es-abstract 2cdd72c
  • [Tests] add es-shim-api in postlint fc2c67f
  • [meta] remove trailing whitespace 665c476
  • [Dev Deps] update tape 261751c