File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const joinPath = require('path').join
23
23
*/
24
24
module . exports = function readPackageJson ( ) {
25
25
const path = joinPath ( process . cwd ( ) , 'package.json' )
26
- return import ( 'read-pkg ' ) . then ( ( { readPackage } ) => readPackage ( path ) ) . then ( body => ( {
26
+ return import ( 'read-package-json-fast ' ) . then ( ( { default : readPackage } ) => readPackage ( path ) ) . then ( body => ( {
27
27
taskList : Object . keys ( body . scripts || { } ) ,
28
28
packageInfo : { path, body }
29
29
} ) )
Original file line number Diff line number Diff line change 31
31
"memorystream" : " ^0.3.1" ,
32
32
"minimatch" : " ^9.0.0" ,
33
33
"pidtree" : " ^0.6.0" ,
34
- "read-pkg " : " ^8 .0.0 " ,
34
+ "read-package-json-fast " : " ^3 .0.2 " ,
35
35
"shell-quote" : " ^1.7.3"
36
36
},
37
37
"devDependencies" : {
42
42
"jsdoc" : " ^4.0.0" ,
43
43
"mocha" : " ^10.0.0" ,
44
44
"p-queue" : " ^7.3.4" ,
45
- "yarn " : " ^1.12.3 " ,
46
- "standard " : " ^17.1.0 "
45
+ "standard " : " ^17.1.0 " ,
46
+ "yarn " : " ^1.12.3 "
47
47
},
48
48
"repository" : {
49
49
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments