Detalhes do pacote

is-core-module

inspect-js264.7mMIT2.16.1

Is this specifier a node.js core module?

core, modules, module, npm

readme (leia-me)

is-core-module Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.

Example

var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));

Tests

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.

v2.16.1 - 2024-12-21

Fixed

  • [Fix] node:sqlite is available in node ^22.13 #17

v2.16.0 - 2024-12-13

Commits

  • [New] add node:sqlite 1ee94d2
  • [Dev Deps] update auto-changelog, tape aa84aa3

v2.15.1 - 2024-08-21

Commits

  • [Tests] add process.getBuiltinModule tests 28c7791
  • [Fix] test/mock_loader is no longer exposed as of v22.7 68b08b0
  • [Tests] replace aud with npm audit 32f8060
  • [Dev Deps] update mock-property f7d3c8f
  • [Dev Deps] add missing peer dep eaee885

v2.15.0 - 2024-07-17

Commits

v2.14.0 - 2024-06-20

Commits

  • [Dev Deps] update @ljharb/eslint-config, aud, mock-property, npmignore, tape 0e43200
  • [meta] add missing engines.node 4ea3af8
  • [New] add test/mock_loader e9fbd29
  • [Deps] update hasown 57f1940

v2.13.1 - 2023-10-20

Commits

  • [Refactor] use hasown instead of has 0e52096
  • [Dev Deps] update mock-property, tape 8736b35

v2.13.0 - 2023-08-05

Commits

  • [Dev Deps] update @ljharb/eslint-config, aud, semver, tape c75b263
  • [New] node:test/reporters and wasi/node:wasi are in v18.17 d76cbf8

v2.12.1 - 2023-05-16

Commits

  • [Fix] test/reporters now requires the node: prefix as of v20.2 12183d0

v2.12.0 - 2023-04-10

Commits

  • [actions] update rebase action to use reusable workflow c0a7251
  • [Dev Deps] update @ljharb/eslint-config, aud, tape 9ae8b7f
  • [New] test/reporters added in v19.9, wasi added in v20 9d5341a
  • [Dev Deps] add missing in-publish dep 5980245

v2.11.0 - 2022-10-18

Commits

  • [meta] use npmignore to autogenerate an npmignore file 3360011
  • [Dev Deps] update aud, tape 651c6b0
  • [New] inspector/promises and node:inspector/promises is now available in node 19 22d332f

v2.10.0 - 2022-08-03

Commits

  • [New] node:test is now available in node ^16.17 e8fd36e
  • [Tests] improve skip message c014a4c

v2.9.0 - 2022-04-19

Commits

  • [New] add node:test, in node 18+ f853eca
  • [Tests] use mock-property 03b3644
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, tape 7c0e2d0
  • [meta] simplify "exports" d6ed201

v2.8.1 - 2022-01-05

Commits

  • [actions] reuse common workflows cd2cf9b
  • [Fix] update node 0.4 results 062195d
  • [Dev Deps] update eslint, @ljharb/eslint-config, safe-publish-latest, tape 0790b62
  • [Dev Deps] update eslint, @ljharb/eslint-config, tape 7d139a6
  • [Tests] run nyc in tests-only, not test 780e8a0

v2.8.0 - 2021-10-14

Commits

  • [actions] update codecov uploader 0cfe94e
  • [New] add readline/promises to node v17+ 4f78c30
  • [Tests] node ^14.18 supports node: prefixes for CJS 43e2f17

v2.7.0 - 2021-09-27

Commits

  • [New] node v14.18 added node:-prefixed core modules to require 6d943ab
  • [Tests] add coverage for Object.prototype pollution c6baf5f
  • [Dev Deps] update @ljharb/eslint-config 6717f00
  • [eslint] fix linter warning 594c10b
  • [meta] add sideEffects flag c32cfa5

v2.6.0 - 2021-08-17

Commits

  • [Dev Deps] update eslint, tape 6cc928f
  • [New] add stream/consumers to node >= 16.7 a1a423e
  • [Refactor] Remove duplicated && operand 86faea7
  • [Tests] include prereleases a4da7a6

v2.5.0 - 2021-07-12

Commits

  • [Dev Deps] update auto-changelog, eslint 6334cc9
  • [New] add stream/web to node v16.5+ 17ac59b

v2.4.0 - 2021-05-09

Commits

  • [readme] add actions and codecov badges 82b7faa
  • [Dev Deps] update @ljharb/eslint-config, aud 8096868
  • [Dev Deps] update eslint 6726824
  • [New] add diagnostics_channel to node ^14.17 86c6563
  • [meta] fix prepublish script 697a01e

v2.3.0 - 2021-04-24

Commits

  • [meta] do not publish github action workflow files 060d4bb
  • [New] add support for node: prefix, in node 16+ 7341223
  • [actions] use node/install instead of node/run; use codecov action 016269a
  • [patch] remove unneeded .0 in version ranges cb466a6
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, tape c9f9c39
  • [actions] update workflows 3ee4a89
  • [Dev Deps] update eslint, @ljharb/eslint-config dee4fed
  • [Dev Deps] update eslint, @ljharb/eslint-config 7d046ba
  • [meta] use prepublishOnly script for npm 7+ 149e677
  • [readme] remove travis badge 903b51d

v2.2.0 - 2020-11-26

Commits

  • [Tests] migrate tests to Github Actions c919f57
  • [patch] core.json: %s/ /\t/g db3f685
  • [Tests] run nyc on all tests b2f925f
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud; add safe-publish-latest 89f02a2
  • [New] add path/posix, path/win32, util/types 77f94f1

v2.1.0 - 2020-11-04

Commits

  • [Dev Deps] update eslint 5e0034e
  • [New] Add diagnostics_channel c2d83d0

v2.0.0 - 2020-09-29

Commits

  • v2 implementation 865aeb5
  • Only apps should have lockfiles 5a5e660
  • Initial commit for v2 5a51524
  • Tests 116eae4
  • [meta] add auto-changelog c24388b
  • [actions] add "Automatic Rebase" and "require allow edits" actions 34292db
  • [Tests] add npm run lint 4f9eeee
  • [readme] fix travis badges, https all URLs e516a73
  • [meta] create FUNDING.yml 1aabebc
  • [Fix] domain: domain landed sometime > v0.7.7 and <= v0.7.12 2df7d37
  • [Fix] sys: worked in 0.6, not 0.7, and 0.8+ a75c134

v1.0.2 - 2014-09-28

Commits

v1.0.1 - 2014-09-28

Commits

v1.0.0 - 2014-09-28

Commits