Skip to content

Commit

Permalink
deps: normalize-package-data@6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 7, 2024
1 parent e71f541 commit 310a7a5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 22 deletions.
4 changes: 2 additions & 2 deletions node_modules/normalize-package-data/lib/fixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = {
}
},

fixDependencies: function (data, strict) {
fixDependencies: function (data) {
objectifyDeps(data, this.warn)
addOptionalDepsToDeps(data, this.warn)
this.fixBundleDependenciesField(data)
Expand Down Expand Up @@ -415,7 +415,7 @@ function parsePerson (person) {
return obj
}

function addOptionalDepsToDeps (data, warn) {
function addOptionalDepsToDeps (data) {
var o = data.optionalDependencies
if (!o) {
return
Expand Down
2 changes: 1 addition & 1 deletion node_modules/normalize-package-data/lib/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function normalize (data, warn, strict) {
strict = false
}
if (!warn || data.private) {
warn = function (msg) { /* noop */ }
warn = function () { /* noop */ }
}

if (data.scripts &&
Expand Down
18 changes: 6 additions & 12 deletions node_modules/normalize-package-data/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "normalize-package-data",
"version": "6.0.0",
"version": "6.0.1",
"author": "GitHub Inc.",
"description": "Normalizes data that can be found in package.json files.",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "https://github.com/npm/normalize-package-data.git"
"url": "git+https://github.com/npm/normalize-package-data.git"
},
"main": "lib/normalize.js",
"scripts": {
"test": "tap",
"npmclilint": "npmcli-lint",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint",
"postsnap": "npm run lintfix --",
Expand All @@ -28,7 +28,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.22.0",
"tap": "^16.0.1"
},
"files": [
Expand All @@ -40,14 +40,8 @@
},
"templateOSS": {
"//@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"
},
"tap": {
"branches": 86,
Expand Down
11 changes: 6 additions & 5 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"ms": "^2.1.2",
"node-gyp": "^10.1.0",
"nopt": "^7.2.1",
"normalize-package-data": "^6.0.0",
"normalize-package-data": "^6.0.1",
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.2",
Expand Down Expand Up @@ -8770,10 +8770,11 @@
}
},
"node_modules/normalize-package-data": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz",
"integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==",
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.1.tgz",
"integrity": "sha512-6rvCfeRW+OEZagAB4lMLSNuTNYZWLVtKccK79VSTf//yTY5VOCgcpH80O+bZK8Neps7pUnd5G+QlMg1yV/2iZQ==",
"inBundle": true,
"license": "BSD-2-Clause",
"dependencies": {
"hosted-git-info": "^7.0.0",
"is-core-module": "^2.8.1",
Expand Down Expand Up @@ -15006,7 +15007,7 @@
"license": "ISC",
"dependencies": {
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"normalize-package-data": "^6.0.1",
"npm-package-arg": "^11.0.2",
"npm-registry-fetch": "^17.0.1",
"proc-log": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"ms": "^2.1.2",
"node-gyp": "^10.1.0",
"nopt": "^7.2.1",
"normalize-package-data": "^6.0.0",
"normalize-package-data": "^6.0.1",
"npm-audit-report": "^5.0.0",
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.2",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"homepage": "https://npmjs.com/package/libnpmpublish",
"dependencies": {
"ci-info": "^4.0.0",
"normalize-package-data": "^6.0.0",
"normalize-package-data": "^6.0.1",
"npm-package-arg": "^11.0.2",
"npm-registry-fetch": "^17.0.1",
"proc-log": "^4.2.0",
Expand Down

0 comments on commit 310a7a5

Please sign in to comment.