Detalhes do pacote

has-bigints

ljharb159.1mMIT1.1.0

Determine if the JS environment has BigInt support.

BigInt, bigints, typeof, ES2020

readme (leia-me)

has-bigints Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has BigInt support.

Example

var hasBigInts = require('has-bigints');

hasBigInts() === true; // if the environment has native BigInt support. Not polyfillable, not forgeable.

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.1.0 - 2024-12-18

Commits

  • [meta] use npmignore to autogenerate an npmignore file a411cea
  • [actions] split out node 10-20, and 20+ 4515878
  • [New] add types c888241
  • [actions] update rebase action to use reusable workflow 6f44338
  • [Dev Deps] update @ljharb/eslint-config, auto-changelog, npmignore, tape ffa1e4d
  • [Dev Deps] update aud, tape 0f5d096
  • [meta] add missing engines.node 3f73c71
  • [Tests] replace aud with npm audit b007efd
  • [Dev Deps] add missing peer dep 459c612

v1.0.2 - 2022-04-19

Commits

  • [actions] reuse common workflows a655b7f
  • [actions] use node/install instead of node/run; use codecov action 730a2e5
  • [readme] add github actions/codecov badges; update URLs 9a83788
  • [Dev Deps] update eslint, @ljharb/eslint-config, safe-publish-latest, tape b1edc52
  • [actions] update codecov uploader cbb1bd0
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, tape 8717e6d
  • [Dev Deps] update eslint, @ljharb/eslint-config, auto-changelog, safe-publish-latest, tape 5f70eab
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, tape a1446bc
  • [meta] use prepublishOnly script for npm 7+ f2dd197
  • [actions] use checkout v3 1ba72f1
  • [Refactor] use a global variable to get the original BigInt instead of a global property a7ccfac
  • [actions] skip npm ls on older nodes 62d31e7

v1.0.1 - 2020-12-13

Commits

  • [Tests] use shared travis-ci configs 46a0d6b
  • [Tests] migrate tests to Github Actions 91a38fa
  • [meta] do not publish github action workflow files 69aacba
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, tape 64e2c08
  • [Tests] run nyc on all tests; use tape runner 8009375
  • [actions] add automatic rebasing / merge commit blocking e599917
  • [actions] add "Allow Edits" workflow bd0126e
  • [readme] remove travis badge 8e02a73
  • [Dev Deps] update eslint, @ljharb/eslint-config, auto-changelog, safe-publish-latest 95859f2
  • [Dev Deps] update auto-changelog, in-publish, tape 0588f41
  • [Dev Deps] update eslint, @ljharb/eslint-config, tape 5b024a6
  • [meta] add version scripts 4788d61
  • [actions] switch Automatic Rebase workflow to pull_request_target event be0e0de
  • [Dev Deps] update auto-changelog; add aud 13a8d1b
  • [actions] fix action name f873d9a
  • [meta] add funding field 1b51f49
  • [Dev Deps] update auto-changelog 2322461
  • [Tests] only audit prod deps aabdade

v1.0.0 - 2019-08-10

Commits