normalize-package-data
Advanced tools
Comparing version 2.3.3 to 2.3.4
var semver = require("semver") | ||
var validateLicense = require('validate-npm-package-license'); | ||
var hostedGitInfo = require("hosted-git-info") | ||
var isBuiltinModule = require("is-builtin-module") | ||
var depTypes = ["dependencies","devDependencies","optionalDependencies"] | ||
@@ -8,3 +9,2 @@ var extractDescription = require("./extract_description") | ||
var typos = require("./typos") | ||
var coreModuleNames = require("./core_module_names") | ||
@@ -212,3 +212,3 @@ var fixer = module.exports = { | ||
ensureValidName(data.name, strict, options.allowLegacyCase) | ||
if (coreModuleNames.indexOf(data.name) !== -1) | ||
if (isBuiltinModule(data.name)) | ||
this.warn("conflictingName", data.name) | ||
@@ -215,0 +215,0 @@ } |
{ | ||
"name": "normalize-package-data", | ||
"version": "2.3.3", | ||
"version": "2.3.4", | ||
"author": "Meryn Stol <merynstol@gmail.com>", | ||
@@ -17,2 +17,3 @@ "description": "Normalizes data that can be found in package.json files.", | ||
"hosted-git-info": "^2.0.2", | ||
"is-builtin-module": "^1.0.0", | ||
"semver": "2 || 3 || 4 || 5", | ||
@@ -19,0 +20,0 @@ "validate-npm-package-license": "^3.0.1" |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
58332
4
35
1565
1
+ Addedis-builtin-module@^1.0.0
+ Addedbuiltin-modules@1.1.1(transitive)
+ Addedis-builtin-module@1.0.0(transitive)