Skip to content

Commit 4c5bf77

Browse files
committedMay 7, 2024
deps: init-package-json@6.0.3
1 parent 714e3e1 commit 4c5bf77

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed
 

‎node_modules/init-package-json/lib/init-package-json.js

+3
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,17 @@ async function init (dir,
124124
if (yes) {
125125
await pkg.save()
126126
if (!config.get('silent')) {
127+
// eslint-disable-next-line no-console
127128
console.log(`Wrote to ${msg}`)
128129
}
129130
return pkg.content
130131
}
131132

133+
// eslint-disable-next-line no-console
132134
console.log(`About to write to ${msg}`)
133135
const ok = await read({ prompt: 'Is this OK? ', default: 'yes' })
134136
if (!ok || !ok.toLowerCase().startsWith('y')) {
137+
// eslint-disable-next-line no-console
135138
console.log('Aborted.')
136139
return
137140
}

‎node_modules/init-package-json/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "init-package-json",
3-
"version": "6.0.2",
3+
"version": "6.0.3",
44
"main": "lib/init-package-json.js",
55
"scripts": {
66
"test": "tap",
@@ -13,7 +13,7 @@
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/npm/init-package-json.git"
16+
"url": "git+https://github.com/npm/init-package-json.git"
1717
},
1818
"author": "GitHub Inc.",
1919
"license": "ISC",
@@ -30,7 +30,7 @@
3030
"devDependencies": {
3131
"@npmcli/config": "^8.2.0",
3232
"@npmcli/eslint-config": "^4.0.0",
33-
"@npmcli/template-oss": "4.21.3",
33+
"@npmcli/template-oss": "4.22.0",
3434
"tap": "^16.0.1"
3535
},
3636
"engines": {
@@ -41,7 +41,8 @@
4141
"nyc-arg": [
4242
"--exclude",
4343
"tap-snapshots/**"
44-
]
44+
],
45+
"timeout": 300
4546
},
4647
"keywords": [
4748
"init",
@@ -59,7 +60,7 @@
5960
],
6061
"templateOSS": {
6162
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
62-
"version": "4.21.3",
63+
"version": "4.22.0",
6364
"publish": true
6465
}
6566
}

‎package-lock.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"graceful-fs": "^4.2.11",
109109
"hosted-git-info": "^7.0.2",
110110
"ini": "^4.1.2",
111-
"init-package-json": "^6.0.2",
111+
"init-package-json": "^6.0.3",
112112
"is-cidr": "^5.0.5",
113113
"json-parse-even-better-errors": "^3.0.1",
114114
"libnpmaccess": "^8.0.1",
@@ -6104,10 +6104,11 @@
61046104
}
61056105
},
61066106
"node_modules/init-package-json": {
6107-
"version": "6.0.2",
6108-
"resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-6.0.2.tgz",
6109-
"integrity": "sha512-ZQ9bxt6PkqIH6fPU69HPheOMoUqIqVqwZj0qlCBfoSCG4lplQhVM/qB3RS4f0RALK3WZZSrNQxNtCZgphuf3IA==",
6107+
"version": "6.0.3",
6108+
"resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-6.0.3.tgz",
6109+
"integrity": "sha512-Zfeb5ol+H+eqJWHTaGca9BovufyGeIfr4zaaBorPmJBMrJ+KBnN+kQx2ZtXdsotUTgldHmHQV44xvUWOUA7E2w==",
61106110
"inBundle": true,
6111+
"license": "ISC",
61116112
"dependencies": {
61126113
"@npmcli/package-json": "^5.0.0",
61136114
"npm-package-arg": "^11.0.0",

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"graceful-fs": "^4.2.11",
7474
"hosted-git-info": "^7.0.2",
7575
"ini": "^4.1.2",
76-
"init-package-json": "^6.0.2",
76+
"init-package-json": "^6.0.3",
7777
"is-cidr": "^5.0.5",
7878
"json-parse-even-better-errors": "^3.0.1",
7979
"libnpmaccess": "^8.0.1",

0 commit comments

Comments
 (0)
Please sign in to comment.