From 1235de9144c221ef89d6a1b557414b4c8c9f88a2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 23:45:39 +0000 Subject: [PATCH 1/2] chore(deps): update dependency open to ^10.2.0 --- packages/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index fa084dfa6d..f24f9fdbb8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -80,7 +80,7 @@ "launch-editor-middleware": "^2.10.0", "mrmime": "^2.0.1", "on-finished": "2.4.1", - "open": "^10.1.2", + "open": "^10.2.0", "picocolors": "^1.1.1", "postcss": "^8.5.6", "postcss-load-config": "6.0.1", From d0d199b5deb78e749be6c1b4a982e3b811759406 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 15 Jul 2025 10:24:05 +0800 Subject: [PATCH 2/2] fix --- .../{open@10.1.2.patch => open@10.2.0.patch} | 6 ++--- pnpm-lock.yaml | 26 ++++++++++++------- pnpm-workspace.yaml | 2 +- 3 files changed, 21 insertions(+), 13 deletions(-) rename patches/{open@10.1.2.patch => open@10.2.0.patch} (70%) diff --git a/patches/open@10.1.2.patch b/patches/open@10.2.0.patch similarity index 70% rename from patches/open@10.1.2.patch rename to patches/open@10.2.0.patch index bfe4527480..b19c1b4d75 100644 --- a/patches/open@10.1.2.patch +++ b/patches/open@10.2.0.patch @@ -1,14 +1,14 @@ diff --git a/index.js b/index.js -index 6b55785fc17441f784da3681d3a5234d9eb97290..560a78112ddd8ae6f26f914de55a10a540a61f7b 100644 +index 43c060a0002c4b1cd6c5e5185ee7fdbab53b0d8d..3642a2b81b732bd529809fa543d9dad1946e9823 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,8 @@ import path from 'node:path'; import {fileURLToPath} from 'node:url'; - import util from 'node:util'; + import {promisify} from 'node:util'; import childProcess from 'node:child_process'; -import fs, {constants as fsConstants} from 'node:fs/promises'; +import fs from 'node:fs/promises'; +import {constants as fsConstants} from 'node:fs'; - import isWsl from 'is-wsl'; + import {isWsl, powerShellPath} from 'wsl-utils'; import defineLazyProperty from 'define-lazy-prop'; import defaultBrowser from 'default-browser'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5745709f2b..1f7dda5d26 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,9 +14,9 @@ patchedDependencies: http-proxy@1.18.1: hash: 424b689da454f1f336d635615733f30568882789c1173f861c30f95ba8b05723 path: patches/http-proxy@1.18.1.patch - open@10.1.2: - hash: 0c2b5a73ded8138281dec15e6b97b8c9671e376ffe1946f5c9294489ca6a4a96 - path: patches/open@10.1.2.patch + open@10.2.0: + hash: 7bcf8172c4cfec5e484422abed097de4fb7a5a9b62c79bc06d6460e7fc879581 + path: patches/open@10.2.0.patch postcss-loader@8.1.1: hash: 7f10237e1665e9913e0f735a822545af08363f5cc67eacc2c37408aee7553d47 path: patches/postcss-loader@8.1.1.patch @@ -682,8 +682,8 @@ importers: specifier: 2.4.1 version: 2.4.1 open: - specifier: ^10.1.2 - version: 10.1.2(patch_hash=0c2b5a73ded8138281dec15e6b97b8c9671e376ffe1946f5c9294489ca6a4a96) + specifier: ^10.2.0 + version: 10.2.0(patch_hash=7bcf8172c4cfec5e484422abed097de4fb7a5a9b62c79bc06d6460e7fc879581) picocolors: specifier: ^1.1.1 version: 1.1.1 @@ -5295,8 +5295,8 @@ packages: only@0.0.2: resolution: {integrity: sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ==} - open@10.1.2: - resolution: {integrity: sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==} + open@10.2.0: + resolution: {integrity: sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==} engines: {node: '>=18'} open@8.4.2: @@ -6641,6 +6641,10 @@ packages: utf-8-validate: optional: true + wsl-utils@0.1.0: + resolution: {integrity: sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==} + engines: {node: '>=18'} + xml-js@1.6.11: resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==} hasBin: true @@ -11448,12 +11452,12 @@ snapshots: only@0.0.2: {} - open@10.1.2(patch_hash=0c2b5a73ded8138281dec15e6b97b8c9671e376ffe1946f5c9294489ca6a4a96): + open@10.2.0(patch_hash=7bcf8172c4cfec5e484422abed097de4fb7a5a9b62c79bc06d6460e7fc879581): dependencies: default-browser: 5.2.1 define-lazy-prop: 3.0.0 is-inside-container: 1.0.0 - is-wsl: 3.1.0 + wsl-utils: 0.1.0 open@8.4.2: dependencies: @@ -12816,6 +12820,10 @@ snapshots: ws@8.18.3: {} + wsl-utils@0.1.0: + dependencies: + is-wsl: 3.1.0 + xml-js@1.6.11: dependencies: sax: 1.4.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index f2a24d3414..87110caf49 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -15,8 +15,8 @@ patchedDependencies: css-loader@7.1.2: patches/css-loader@7.1.2.patch file-loader: patches/file-loader@6.2.0.patch http-proxy@1.18.1: patches/http-proxy@1.18.1.patch + open@10.2.0: patches/open@10.2.0.patch postcss-loader@8.1.1: patches/postcss-loader@8.1.1.patch url-loader: patches/url-loader@4.1.1.patch - open@10.1.2: patches/open@10.1.2.patch strictPeerDependencies: false