Socket
Socket
Sign inDemoInstall

normalize-package-data

Package Overview
Dependencies
8
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.1 to 6.0.2

4

lib/fixer.js

@@ -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"

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc