Socket
Socket
Sign inDemoInstall

normalize-package-data

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-package-data - npm Package Compare versions

Comparing version 2.3.3 to 2.3.4

4

lib/fixer.js
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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc