normalize-package-data
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -142,3 +142,3 @@ var isValidSemver = require('semver/functions/valid') | ||
fixDependencies: function (data, strict) { | ||
fixDependencies: function (data) { | ||
objectifyDeps(data, this.warn) | ||
@@ -419,3 +419,3 @@ addOptionalDepsToDeps(data, this.warn) | ||
function addOptionalDepsToDeps (data, warn) { | ||
function addOptionalDepsToDeps (data) { | ||
var o = data.optionalDependencies | ||
@@ -422,0 +422,0 @@ if (!o) { |
@@ -29,3 +29,3 @@ module.exports = normalize | ||
if (!warn || data.private) { | ||
warn = function (msg) { /* noop */ } | ||
warn = function () { /* noop */ } | ||
} | ||
@@ -32,0 +32,0 @@ |
{ | ||
"name": "normalize-package-data", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"author": "GitHub Inc.", | ||
@@ -9,3 +9,3 @@ "description": "Normalizes data that can be found in package.json files.", | ||
"type": "git", | ||
"url": "https://github.com/npm/normalize-package-data.git" | ||
"url": "git+https://github.com/npm/normalize-package-data.git" | ||
}, | ||
@@ -16,3 +16,3 @@ "main": "lib/normalize.js", | ||
"npmclilint": "npmcli-lint", | ||
"lint": "eslint \"**/*.js\"", | ||
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", | ||
"lintfix": "npm run lint -- --fix", | ||
@@ -33,3 +33,3 @@ "posttest": "npm run lint", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.18.0", | ||
"@npmcli/template-oss": "4.22.0", | ||
"tap": "^16.0.1" | ||
@@ -46,10 +46,4 @@ }, | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.18.0", | ||
"publish": "true", | ||
"ciVersions": [ | ||
"16.14.0", | ||
"16.x", | ||
"18.0.0", | ||
"18.x" | ||
] | ||
"version": "4.22.0", | ||
"publish": "true" | ||
}, | ||
@@ -56,0 +50,0 @@ "tap": { |
# normalize-package-data | ||
[![Build Status](https://travis-ci.org/npm/normalize-package-data.svg?branch=master)](https://travis-ci.org/npm/normalize-package-data) | ||
[![Build Status](https://img.shields.io/github/actions/workflow/status/npm/normalize-package-data/ci.yml?branch=main)](https://github.com/npm/normalize-package-data) | ||
@@ -5,0 +5,0 @@ normalize-package-data exports a function that normalizes package metadata. This data is typically found in a package.json file, but in principle could come from any source - for example the npm registry. |
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
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
0
28225