| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent be3205a commit 6fc6a62
3 files 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" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments