Skip to content

Commit 419f9b9

Browse files
committed
deps: cmd-shim@6.0.3
1 parent dade2c8 commit 419f9b9

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

DEPENDENCIES.md

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ graph LR;
8888
normalize-package-data-->semver;
8989
npm-->abbrev;
9090
npm-->cacache;
91+
npm-->cmd-shim;
9192
npm-->fs-minipass;
9293
npm-->hosted-git-info;
9394
npm-->ini;
@@ -469,6 +470,7 @@ graph LR;
469470
npm-->ci-info;
470471
npm-->cli-columns;
471472
npm-->cli-table3;
473+
npm-->cmd-shim;
472474
npm-->diff;
473475
npm-->fastest-levenshtein;
474476
npm-->fs-minipass;

node_modules/cmd-shim/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const writeShim = (from, to) =>
5656
const prog = shebang[2]
5757
const args = shebang[3] || ''
5858
return writeShim_(from, to, prog, args, vars)
59-
}, er => writeShim_(from, to))
59+
}, () => writeShim_(from, to))
6060

6161
const writeShim_ = (from, to, prog, args, variables) => {
6262
let shTarget = relative(dirname(to), from)

node_modules/cmd-shim/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"name": "cmd-shim",
3-
"version": "6.0.2",
3+
"version": "6.0.3",
44
"description": "Used in npm for command line application support",
55
"scripts": {
66
"test": "tap",
77
"snap": "tap",
8-
"lint": "eslint \"**/*.js\"",
8+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
99
"postlint": "template-oss-check",
1010
"template-oss-apply": "template-oss-apply --force",
1111
"lintfix": "npm run lint -- --fix",
1212
"posttest": "npm run lint"
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/npm/cmd-shim.git"
16+
"url": "git+https://github.com/npm/cmd-shim.git"
1717
},
1818
"license": "ISC",
1919
"devDependencies": {
2020
"@npmcli/eslint-config": "^4.0.0",
21-
"@npmcli/template-oss": "4.19.0",
21+
"@npmcli/template-oss": "4.22.0",
2222
"tap": "^16.0.1"
2323
},
2424
"files": [
@@ -41,7 +41,7 @@
4141
"author": "GitHub Inc.",
4242
"templateOSS": {
4343
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
44-
"version": "4.19.0",
44+
"version": "4.22.0",
4545
"publish": true
4646
}
4747
}

package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3149,9 +3149,9 @@
31493149
}
31503150
},
31513151
"node_modules/cmd-shim": {
3152-
"version": "6.0.2",
3153-
"resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz",
3154-
"integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==",
3152+
"version": "6.0.3",
3153+
"resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.3.tgz",
3154+
"integrity": "sha512-FMabTRlc5t5zjdenF6mS0MBeFZm0XqHqeOkcskKFb/LYCcRQ5fVgLOHVc4Lq9CqABd9zhjwPjMBCJvMCziSVtA==",
31553155
"engines": {
31563156
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
31573157
}

0 commit comments

Comments
 (0)