git: cb9139ad0a3a - main - www/npm: Fix npm ability to run commands
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Dec 2022 17:36:58 UTC
The branch main has been updated by madpilot:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cb9139ad0a3a8c3d07086ffa8926a525a3c1b1e7
commit cb9139ad0a3a8c3d07086ffa8926a525a3c1b1e7
Author: Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-12-05 17:34:33 +0000
Commit: Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-12-05 17:34:33 +0000
www/npm: Fix npm ability to run commands
PR: 268098
Approved by: portmg (fixit blanket)
---
www/npm/Makefile | 1 +
www/npm/files/patch-npm-run | 11 -----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/www/npm/Makefile b/www/npm/Makefile
index 6e167073d2c0..805d0f55f96f 100644
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -1,5 +1,6 @@
PORTNAME= npm
PORTVERSION= 9.1.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
diff --git a/www/npm/files/patch-npm-run b/www/npm/files/patch-npm-run
deleted file mode 100644
index 913d1f4c0453..000000000000
--- a/www/npm/files/patch-npm-run
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js.orig 2022-11-18 17:24:11 UTC
-+++ lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js
-@@ -117,7 +117,7 @@ const spawnWithShell = (cmd, args, opts, extra) => {
- for (const arg of args) {
- script += ` ${escape.sh(arg)}`
- }
-- realArgs.push('-c', script)
-+ realArgs.push('-c', '--', script)
- }
-
- return promiseSpawn(command, realArgs, options, extra)