is-core-module
Advanced tools
Comparing version 2.14.0 to 2.15.0
@@ -8,2 +8,8 @@ # Changelog | ||
## [v2.15.0](https://github.com/inspect-js/is-core-module/compare/v2.14.0...v2.15.0) - 2024-07-17 | ||
### Commits | ||
- [New] add `node:sea` [`2819fb3`](https://github.com/inspect-js/is-core-module/commit/2819fb3eae312fa64643bc5430ebd06ec0f3fb88) | ||
## [v2.14.0](https://github.com/inspect-js/is-core-module/compare/v2.13.1...v2.14.0) - 2024-06-20 | ||
@@ -10,0 +16,0 @@ |
@@ -92,2 +92,3 @@ { | ||
"node:repl": [">= 14.18 && < 15", ">= 16"], | ||
"node:sea": [">= 20.12 && < 21", ">= 21.7"], | ||
"smalloc": ">= 0.11.5 && < 3", | ||
@@ -94,0 +95,0 @@ "_stream_duplex": ">= 0.9.4", |
{ | ||
"name": "is-core-module", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"description": "Is this specifier a node.js core module?", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -86,2 +86,3 @@ 'use strict'; | ||
]; | ||
// see https://github.com/nodejs/node/issues/42785 | ||
@@ -91,2 +92,6 @@ if (semver.satisfies(process.version, '>= 18')) { | ||
} | ||
if (semver.satisfies(process.version, '^20.12 || >= 21.7')) { | ||
libs = libs.concat('node:sea'); | ||
} | ||
for (var i = 0; i < libs.length; ++i) { | ||
@@ -93,0 +98,0 @@ var mod = libs[i]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31459
340