Skip to content

Commit 310a7a5

Browse files
committed
deps: normalize-package-data@6.0.1
1 parent e71f541 commit 310a7a5

File tree

6 files changed

+17
-22
lines changed

6 files changed

+17
-22
lines changed

node_modules/normalize-package-data/lib/fixer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module.exports = {
139139
}
140140
},
141141

142-
fixDependencies: function (data, strict) {
142+
fixDependencies: function (data) {
143143
objectifyDeps(data, this.warn)
144144
addOptionalDepsToDeps(data, this.warn)
145145
this.fixBundleDependenciesField(data)
@@ -415,7 +415,7 @@ function parsePerson (person) {
415415
return obj
416416
}
417417

418-
function addOptionalDepsToDeps (data, warn) {
418+
function addOptionalDepsToDeps (data) {
419419
var o = data.optionalDependencies
420420
if (!o) {
421421
return

node_modules/normalize-package-data/lib/normalize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function normalize (data, warn, strict) {
2626
strict = false
2727
}
2828
if (!warn || data.private) {
29-
warn = function (msg) { /* noop */ }
29+
warn = function () { /* noop */ }
3030
}
3131

3232
if (data.scripts &&

node_modules/normalize-package-data/package.json

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "normalize-package-data",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"author": "GitHub Inc.",
55
"description": "Normalizes data that can be found in package.json files.",
66
"license": "BSD-2-Clause",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/npm/normalize-package-data.git"
9+
"url": "git+https://github.com/npm/normalize-package-data.git"
1010
},
1111
"main": "lib/normalize.js",
1212
"scripts": {
1313
"test": "tap",
1414
"npmclilint": "npmcli-lint",
15-
"lint": "eslint \"**/*.js\"",
15+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
1616
"lintfix": "npm run lint -- --fix",
1717
"posttest": "npm run lint",
1818
"postsnap": "npm run lintfix --",
@@ -28,7 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"@npmcli/eslint-config": "^4.0.0",
31-
"@npmcli/template-oss": "4.18.0",
31+
"@npmcli/template-oss": "4.22.0",
3232
"tap": "^16.0.1"
3333
},
3434
"files": [
@@ -40,14 +40,8 @@
4040
},
4141
"templateOSS": {
4242
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
43-
"version": "4.18.0",
44-
"publish": "true",
45-
"ciVersions": [
46-
"16.14.0",
47-
"16.x",
48-
"18.0.0",
49-
"18.x"
50-
]
43+
"version": "4.22.0",
44+
"publish": "true"
5145
},
5246
"tap": {
5347
"branches": 86,

package-lock.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"ms": "^2.1.2",
130130
"node-gyp": "^10.1.0",
131131
"nopt": "^7.2.1",
132-
"normalize-package-data": "^6.0.0",
132+
"normalize-package-data": "^6.0.1",
133133
"npm-audit-report": "^5.0.0",
134134
"npm-install-checks": "^6.3.0",
135135
"npm-package-arg": "^11.0.2",
@@ -8770,10 +8770,11 @@
87708770
}
87718771
},
87728772
"node_modules/normalize-package-data": {
8773-
"version": "6.0.0",
8774-
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz",
8775-
"integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==",
8773+
"version": "6.0.1",
8774+
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.1.tgz",
8775+
"integrity": "sha512-6rvCfeRW+OEZagAB4lMLSNuTNYZWLVtKccK79VSTf//yTY5VOCgcpH80O+bZK8Neps7pUnd5G+QlMg1yV/2iZQ==",
87768776
"inBundle": true,
8777+
"license": "BSD-2-Clause",
87778778
"dependencies": {
87788779
"hosted-git-info": "^7.0.0",
87798780
"is-core-module": "^2.8.1",
@@ -15006,7 +15007,7 @@
1500615007
"license": "ISC",
1500715008
"dependencies": {
1500815009
"ci-info": "^4.0.0",
15009-
"normalize-package-data": "^6.0.0",
15010+
"normalize-package-data": "^6.0.1",
1501015011
"npm-package-arg": "^11.0.2",
1501115012
"npm-registry-fetch": "^17.0.1",
1501215013
"proc-log": "^4.2.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"ms": "^2.1.2",
9595
"node-gyp": "^10.1.0",
9696
"nopt": "^7.2.1",
97-
"normalize-package-data": "^6.0.0",
97+
"normalize-package-data": "^6.0.1",
9898
"npm-audit-report": "^5.0.0",
9999
"npm-install-checks": "^6.3.0",
100100
"npm-package-arg": "^11.0.2",

workspaces/libnpmpublish/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"homepage": "https://npmjs.com/package/libnpmpublish",
4040
"dependencies": {
4141
"ci-info": "^4.0.0",
42-
"normalize-package-data": "^6.0.0",
42+
"normalize-package-data": "^6.0.1",
4343
"npm-package-arg": "^11.0.2",
4444
"npm-registry-fetch": "^17.0.1",
4545
"proc-log": "^4.2.0",

0 commit comments

Comments
 (0)