normalize-package-data
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -5,3 +5,3 @@ var isValidSemver = require('semver/functions/valid') | ||
var hostedGitInfo = require('hosted-git-info') | ||
var isBuiltinModule = require('is-core-module') | ||
var moduleBuiltin = require('node:module') | ||
var depTypes = ['dependencies', 'devDependencies', 'optionalDependencies'] | ||
@@ -235,3 +235,3 @@ var extractDescription = require('./extract_description') | ||
ensureValidName(data.name, strict, options.allowLegacyCase) | ||
if (isBuiltinModule(data.name)) { | ||
if (moduleBuiltin.builtinModules.includes(data.name)) { | ||
this.warn('conflictingName', data.name) | ||
@@ -238,0 +238,0 @@ } |
{ | ||
"name": "normalize-package-data", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"author": "GitHub Inc.", | ||
@@ -25,3 +25,2 @@ "description": "Normalizes data that can be found in package.json files.", | ||
"hosted-git-info": "^7.0.0", | ||
"is-core-module": "^2.8.1", | ||
"semver": "^7.3.5", | ||
@@ -28,0 +27,0 @@ "validate-npm-package-license": "^3.0.4" |
3
28210
- Removedis-core-module@^2.8.1
- Removedfunction-bind@1.1.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-core-module@2.14.0(transitive)