+15
-10
lines changedFilter options
+15
-10
lines changed Original file line number Diff line number Diff line change
@@ -124,14 +124,17 @@ async function init (dir,
124
124
if (yes) {
125
125
await pkg.save()
126
126
if (!config.get('silent')) {
127
+
// eslint-disable-next-line no-console
127
128
console.log(`Wrote to ${msg}`)
128
129
}
129
130
return pkg.content
130
131
}
131
132
133
+
// eslint-disable-next-line no-console
132
134
console.log(`About to write to ${msg}`)
133
135
const ok = await read({ prompt: 'Is this OK? ', default: 'yes' })
134
136
if (!ok || !ok.toLowerCase().startsWith('y')) {
137
+
// eslint-disable-next-line no-console
135
138
console.log('Aborted.')
136
139
return
137
140
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "init-package-json",
3
-
"version": "6.0.2",
3
+
"version": "6.0.3",
4
4
"main": "lib/init-package-json.js",
5
5
"scripts": {
6
6
"test": "tap",
@@ -13,7 +13,7 @@
13
13
},
14
14
"repository": {
15
15
"type": "git",
16
-
"url": "https://github.com/npm/init-package-json.git"
16
+
"url": "git+https://github.com/npm/init-package-json.git"
17
17
},
18
18
"author": "GitHub Inc.",
19
19
"license": "ISC",
@@ -30,7 +30,7 @@
30
30
"devDependencies": {
31
31
"@npmcli/config": "^8.2.0",
32
32
"@npmcli/eslint-config": "^4.0.0",
33
-
"@npmcli/template-oss": "4.21.3",
33
+
"@npmcli/template-oss": "4.22.0",
34
34
"tap": "^16.0.1"
35
35
},
36
36
"engines": {
@@ -41,7 +41,8 @@
41
41
"nyc-arg": [
42
42
"--exclude",
43
43
"tap-snapshots/**"
44
-
]
44
+
],
45
+
"timeout": 300
45
46
},
46
47
"keywords": [
47
48
"init",
@@ -59,7 +60,7 @@
59
60
],
60
61
"templateOSS": {
61
62
"//@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",
63
64
"publish": true
64
65
}
65
66
}
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@
108
108
"graceful-fs": "^4.2.11",
109
109
"hosted-git-info": "^7.0.2",
110
110
"ini": "^4.1.2",
111
-
"init-package-json": "^6.0.2",
111
+
"init-package-json": "^6.0.3",
112
112
"is-cidr": "^5.0.5",
113
113
"json-parse-even-better-errors": "^3.0.1",
114
114
"libnpmaccess": "^8.0.1",
@@ -6104,10 +6104,11 @@
6104
6104
}
6105
6105
},
6106
6106
"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==",
6110
6110
"inBundle": true,
6111
+
"license": "ISC",
6111
6112
"dependencies": {
6112
6113
"@npmcli/package-json": "^5.0.0",
6113
6114
"npm-package-arg": "^11.0.0",
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@
73
73
"graceful-fs": "^4.2.11",
74
74
"hosted-git-info": "^7.0.2",
75
75
"ini": "^4.1.2",
76
-
"init-package-json": "^6.0.2",
76
+
"init-package-json": "^6.0.3",
77
77
"is-cidr": "^5.0.5",
78
78
"json-parse-even-better-errors": "^3.0.1",
79
79
"libnpmaccess": "^8.0.1",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4