Content-Length: 333040 | pFad | http://github.com/npm/cli/commit/d06004b19a03e211f5e4d81954f9083edaf039c9

C3 deps: init-package-json@8.1.1 · npm/cli@d06004b · GitHub
Skip to content

Commit d06004b

Browse files
committed
deps: init-package-json@8.1.1
1 parent c9383e6 commit d06004b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

node_modules/init-package-json/lib/default-input.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,3 +266,8 @@ const type = package.type || getConfig('type') || 'commonjs'
266266
exports.type = yes ? type : prompt('type', type, (data) => {
267267
return data
268268
})
269+
270+
const initPrivate = package.private || getConfig('private')
271+
if (initPrivate === true) {
272+
exports.private = true
273+
}

node_modules/init-package-json/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "init-package-json",
3-
"version": "8.0.0",
3+
"version": "8.1.1",
44
"main": "lib/init-package-json.js",
55
"scripts": {
66
"test": "tap",
@@ -29,7 +29,7 @@
2929
"validate-npm-package-name": "^6.0.0"
3030
},
3131
"devDependencies": {
32-
"@npmcli/config": "^9.0.0",
32+
"@npmcli/config": "^10.0.0",
3333
"@npmcli/eslint-config": "^5.0.0",
3434
"@npmcli/template-oss": "4.23.4",
3535
"tap": "^16.0.1"

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9493,9 +9493,9 @@
94939493
}
94949494
},
94959495
"node_modules/init-package-json": {
9496-
"version": "8.0.0",
9497-
"resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-8.0.0.tgz",
9498-
"integrity": "sha512-zKgxfaGt6Zzi8VBSInOK0CYDigA9gzDCWPnSzGIoUlTU/5w7qIyi+6MyJYX96mMlxDGrIR85FhQszVyodYfB9g==",
9496+
"version": "8.1.1",
9497+
"resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-8.1.1.tgz",
9498+
"integrity": "sha512-MSbYZ+5kPal/gtUX4MO1rDWOQMkG/Wo6u7JbvAaYlEYpeCtARfDLJkF88ZQxOCOoqpxI0sUQuQIVJqhXv6fQtw==",
94999499
"inBundle": true,
95009500
"license": "ISC",
95019501
"dependencies": {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/npm/cli/commit/d06004b19a03e211f5e4d81954f9083edaf039c9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy