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
2323 */
2424module . exports = function readPackageJson ( ) {
2525 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 => ( {
2727 taskList : Object . keys ( body . scripts || { } ) ,
2828 packageInfo : { path, body }
2929 } ) )
Original file line number Diff line number Diff line change 3131 "memorystream" : " ^0.3.1" ,
3232 "minimatch" : " ^9.0.0" ,
3333 "pidtree" : " ^0.6.0" ,
34- "read-pkg " : " ^8 .0.0 " ,
34+ "read-package-json-fast " : " ^3 .0.2 " ,
3535 "shell-quote" : " ^1.7.3"
3636 },
3737 "devDependencies" : {
4242 "jsdoc" : " ^4.0.0" ,
4343 "mocha" : " ^10.0.0" ,
4444 "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 "
4747 },
4848 "repository" : {
4949 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments