Commit 8a6feab 1 parent 1589665 commit 8a6feab Copy full SHA for 8a6feab
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DEPS_DIR="$BASE_DIR/deps"
17
17
. " $BASE_DIR /tools/dep_updaters/utils.sh"
18
18
19
19
NEW_VERSION=$( " $NODE " " $NPM " view acorn-walk dist-tags.latest)
20
- CURRENT_VERSION=$( " $NODE " " $NPM " --prefix ' ./deps/acorn/acorn-walk/' pkg get version)
20
+ CURRENT_VERSION=$( " $NODE " -p " require( './deps/acorn/acorn-walk/package.json'). version" )
21
21
22
22
# This function exit with 0 if new version and current version are the same
23
23
compare_dependency_version " acorn-walk" " $NEW_VERSION " " $CURRENT_VERSION "
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DEPS_DIR="$BASE_DIR/deps"
17
17
. " $BASE_DIR /tools/dep_updaters/utils.sh"
18
18
19
19
NEW_VERSION=$( " $NODE " " $NPM " view acorn dist-tags.latest)
20
- CURRENT_VERSION=$( " $NODE " " $NPM " --prefix ' ./deps/acorn/acorn/' pkg get version)
20
+ CURRENT_VERSION=$( " $NODE " -p " require( './deps/acorn/acorn/package.json'). version" )
21
21
22
22
# This function exit with 0 if new version and current version are the same
23
23
compare_dependency_version " acorn" " $NEW_VERSION " " $CURRENT_VERSION "
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ NPM="$DEPS_DIR/npm/bin/npm-cli.js"
17
17
. " $BASE_DIR /tools/dep_updaters/utils.sh"
18
18
19
19
NEW_VERSION=$( " $NODE " " $NPM " view minimatch dist-tags.latest)
20
- CURRENT_VERSION=$( " $NODE " " $NPM " --prefix ' ./deps/minimatch' pkg get version)
20
+ CURRENT_VERSION=$( " $NODE " -p " require( './deps/minimatch/package.json'). version" )
21
21
22
22
# This function exit with 0 if new version and current version are the same
23
23
compare_dependency_version " minimatch" " $NEW_VERSION " " $CURRENT_VERSION "
You can’t perform that action at this time.
0 commit comments