Skip to content

Commit

Permalink
deps: cmd-shim@6.0.2 (#6915)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Oct 18, 2023
1 parent 5142735 commit 96e1637
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
12 changes: 10 additions & 2 deletions node_modules/cmd-shim/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ const writeShim_ = (from, to, prog, args, variables) => {
// basedir=`dirname "$0"`
//
// case `uname` in
// *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
// *CYGWIN*|*MINGW*|*MSYS*)
// if command -v cygpath > /dev/null 2>&1; then
// basedir=`cygpath -w "$basedir"`
// fi
// ;;
// esac
//
// if [ -x "$basedir/node.exe" ]; then
Expand All @@ -137,7 +141,11 @@ const writeShim_ = (from, to, prog, args, variables) => {
+ `basedir=$(dirname "$(echo "$0" | sed -e 's,\\\\,/,g')")\n`
+ '\n'
+ 'case `uname` in\n'
+ ' *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;\n'
+ ' *CYGWIN*|*MINGW*|*MSYS*)\n'
+ ' if command -v cygpath > /dev/null 2>&1; then\n'
+ ' basedir=`cygpath -w "$basedir"`\n'
+ ' fi\n'
+ ' ;;\n'
+ 'esac\n'
+ '\n'

Expand Down
7 changes: 4 additions & 3 deletions node_modules/cmd-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cmd-shim",
"version": "6.0.1",
"version": "6.0.2",
"description": "Used in npm for command line application support",
"scripts": {
"test": "tap",
Expand All @@ -18,7 +18,7 @@
"license": "ISC",
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.11.0",
"@npmcli/template-oss": "4.19.0",
"tap": "^16.0.1"
},
"files": [
Expand All @@ -41,6 +41,7 @@
"author": "GitHub Inc.",
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.11.0"
"version": "4.19.0",
"publish": true
}
}
6 changes: 3 additions & 3 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4560,9 +4560,9 @@
}
},
"node_modules/cmd-shim": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.1.tgz",
"integrity": "sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q==",
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz",
"integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
Expand Down

0 comments on commit 96e1637

Please sign in to comment.