File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
node_modules/init-package-json Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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" ,
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" ,
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" : {
4141 "nyc-arg" : [
4242 " --exclude" ,
4343 " tap-snapshots/**"
44- ]
44+ ],
45+ "timeout" : 300
4546 },
4647 "keywords" : [
4748 " init" ,
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}
Original file line number Diff line number Diff line change 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",
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",
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments