From 419f9b9d9d6806d56b68d96bd50f7d25274a8f48 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 6 May 2024 15:21:09 -0700 Subject: [PATCH] deps: cmd-shim@6.0.3 --- DEPENDENCIES.md | 2 ++ node_modules/cmd-shim/lib/index.js | 2 +- node_modules/cmd-shim/package.json | 10 +++++----- package-lock.json | 6 +++--- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index 89b2792ac512a..222abd4bf2030 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -88,6 +88,7 @@ graph LR; normalize-package-data-->semver; npm-->abbrev; npm-->cacache; + npm-->cmd-shim; npm-->fs-minipass; npm-->hosted-git-info; npm-->ini; @@ -469,6 +470,7 @@ graph LR; npm-->ci-info; npm-->cli-columns; npm-->cli-table3; + npm-->cmd-shim; npm-->diff; npm-->fastest-levenshtein; npm-->fs-minipass; diff --git a/node_modules/cmd-shim/lib/index.js b/node_modules/cmd-shim/lib/index.js index 9cf2243ebf035..c13890aed3263 100644 --- a/node_modules/cmd-shim/lib/index.js +++ b/node_modules/cmd-shim/lib/index.js @@ -56,7 +56,7 @@ const writeShim = (from, to) => const prog = shebang[2] const args = shebang[3] || '' return writeShim_(from, to, prog, args, vars) - }, er => writeShim_(from, to)) + }, () => writeShim_(from, to)) const writeShim_ = (from, to, prog, args, variables) => { let shTarget = relative(dirname(to), from) diff --git a/node_modules/cmd-shim/package.json b/node_modules/cmd-shim/package.json index ec274b2768fbb..094ca2df619d2 100644 --- a/node_modules/cmd-shim/package.json +++ b/node_modules/cmd-shim/package.json @@ -1,11 +1,11 @@ { "name": "cmd-shim", - "version": "6.0.2", + "version": "6.0.3", "description": "Used in npm for command line application support", "scripts": { "test": "tap", "snap": "tap", - "lint": "eslint \"**/*.js\"", + "lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", "postlint": "template-oss-check", "template-oss-apply": "template-oss-apply --force", "lintfix": "npm run lint -- --fix", @@ -13,12 +13,12 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/cmd-shim.git" + "url": "git+https://github.com/npm/cmd-shim.git" }, "license": "ISC", "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.19.0", + "@npmcli/template-oss": "4.22.0", "tap": "^16.0.1" }, "files": [ @@ -41,7 +41,7 @@ "author": "GitHub Inc.", "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.19.0", + "version": "4.22.0", "publish": true } } diff --git a/package-lock.json b/package-lock.json index eeadbffc469a0..65b0f08a6262b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3149,9 +3149,9 @@ } }, "node_modules/cmd-shim": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz", - "integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.3.tgz", + "integrity": "sha512-FMabTRlc5t5zjdenF6mS0MBeFZm0XqHqeOkcskKFb/LYCcRQ5fVgLOHVc4Lq9CqABd9zhjwPjMBCJvMCziSVtA==", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }