From 24b2ec4e156f98ef80ed5ac8751d35a32ad1251a Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Wed, 1 Feb 2023 15:18:19 -0800 Subject: [PATCH] deps: @npmcli/promise-spawn@6.0.2 --- node_modules/@npmcli/promise-spawn/lib/index.js | 2 +- node_modules/@npmcli/promise-spawn/package.json | 8 ++++---- package-lock.json | 9 +++++---- package.json | 2 +- smoke-tests/package.json | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/node_modules/@npmcli/promise-spawn/lib/index.js b/node_modules/@npmcli/promise-spawn/lib/index.js index 1d422045d558c..571ff6b9169c9 100644 --- a/node_modules/@npmcli/promise-spawn/lib/index.js +++ b/node_modules/@npmcli/promise-spawn/lib/index.js @@ -131,7 +131,7 @@ const open = (_args, opts = {}, extra = {}) => { let platform = process.platform // process.platform === 'linux' may actually indicate WSL, if that's the case // we want to treat things as win32 anyway so the host can open the argument - if (platform === 'linux' && os.release().includes('Microsoft')) { + if (platform === 'linux' && os.release().toLowerCase().includes('microsoft')) { platform = 'win32' } diff --git a/node_modules/@npmcli/promise-spawn/package.json b/node_modules/@npmcli/promise-spawn/package.json index c21e84fe83599..2080d9f5be9f0 100644 --- a/node_modules/@npmcli/promise-spawn/package.json +++ b/node_modules/@npmcli/promise-spawn/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/promise-spawn", - "version": "6.0.1", + "version": "6.0.2", "files": [ "bin/", "lib/" @@ -32,8 +32,8 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.8.0", - "minipass": "^3.1.1", + "@npmcli/template-oss": "4.11.0", + "minipass": "^4.0.0", "spawk": "^1.7.1", "tap": "^16.0.1" }, @@ -42,7 +42,7 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.8.0" + "version": "4.11.0" }, "dependencies": { "which": "^3.0.0" diff --git a/package-lock.json b/package-lock.json index 658f5ce48685b..9d56ac20b585a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -162,7 +162,7 @@ "@npmcli/fs": "^3.1.0", "@npmcli/git": "^4.0.1", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/promise-spawn": "^6.0.2", "@npmcli/template-oss": "4.11.3", "licensee": "^10.0.0", "nock": "^13.2.4", @@ -2223,9 +2223,10 @@ } }, "node_modules/@npmcli/promise-spawn": { - "version": "6.0.1", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", + "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", "inBundle": true, - "license": "ISC", "dependencies": { "which": "^3.0.0" }, @@ -14361,7 +14362,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/promise-spawn": "^6.0.2", "@npmcli/template-oss": "4.11.3", "http-proxy": "^1.18.1", "just-extend": "^6.1.1", diff --git a/package.json b/package.json index f6d4193ba674b..4d7717e38edd2 100644 --- a/package.json +++ b/package.json @@ -195,7 +195,7 @@ "@npmcli/fs": "^3.1.0", "@npmcli/git": "^4.0.1", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/promise-spawn": "^6.0.2", "@npmcli/template-oss": "4.11.3", "licensee": "^10.0.0", "nock": "^13.2.4", diff --git a/smoke-tests/package.json b/smoke-tests/package.json index 3505614b3b6da..37bf125f5be0c 100644 --- a/smoke-tests/package.json +++ b/smoke-tests/package.json @@ -20,7 +20,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/mock-registry": "^1.0.0", - "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/promise-spawn": "^6.0.2", "@npmcli/template-oss": "4.11.3", "http-proxy": "^1.18.1", "just-extend": "^6.1.1",