From: daiwei Date: Wed, 16 Jul 2025 03:48:46 +0000 (+0800) Subject: chore: update X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9036ecebb099501a04ce4af4c42f43306331e90;p=thirdparty%2Fvuejs%2Fcore.git chore: update --- diff --git a/packages-private/sfc-playground/package.json b/packages-private/sfc-playground/package.json index 1d44af0787..d6cd4913c5 100644 --- a/packages-private/sfc-playground/package.json +++ b/packages-private/sfc-playground/package.json @@ -13,7 +13,7 @@ "vite": "catalog:" }, "dependencies": { - "@vue/repl": "https://pkg.pr.new/@vue/repl@0c1d0f7", + "@vue/repl": "^4.6.2", "file-saver": "^2.0.5", "jszip": "^3.10.1", "vue": "workspace:*" diff --git a/packages-private/sfc-playground/src/App.vue b/packages-private/sfc-playground/src/App.vue index cb61e7deba..4d995a5273 100644 --- a/packages-private/sfc-playground/src/App.vue +++ b/packages-private/sfc-playground/src/App.vue @@ -137,7 +137,7 @@ watch( (version, oldVersion) => { const [major, minor] = (version || store.compiler.version) .split('.') - .map(Number) + .map((v: string) => parseInt(v, 10)) isVaporSupported.value = major > 3 || (major === 3 && minor >= 6) if (oldVersion) reloadPage() }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 727d4d445d..d365a4790b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -251,8 +251,8 @@ importers: packages-private/sfc-playground: dependencies: '@vue/repl': - specifier: https://pkg.pr.new/@vue/repl@0c1d0f7 - version: https://pkg.pr.new/@vue/repl@0c1d0f7 + specifier: ^4.6.2 + version: 4.6.2 file-saver: specifier: ^2.0.5 version: 2.0.5 @@ -1650,9 +1650,8 @@ packages: '@vue/reactivity@3.6.0-alpha.1': resolution: {integrity: sha512-h/Rscsd7OhcBM3YWKwEg4FG5iLSjASMZVl5ahPfma19xig/MhwKrUc9dE4tLNMtd3ZbocIPzZsV+O4fgoAZFdw==} - '@vue/repl@https://pkg.pr.new/@vue/repl@0c1d0f7': - resolution: {tarball: https://pkg.pr.new/@vue/repl@0c1d0f7} - version: 4.6.1 + '@vue/repl@4.6.2': + resolution: {integrity: sha512-Rjl/X++MbfWNncry+qiIadY5BdrB3hp0Iu9W7R9eLJAce3hXnjUiykMK5rLAkQJpB6N83SR0LGNJbKg7gpzplg==} '@vue/runtime-core@3.6.0-alpha.1': resolution: {integrity: sha512-HYCDiD2GrkiOqc+XHSDCOFeg2grCvFK0xw6gsPgUa8g0CK/vx+Ks3Qba6sBTdjwP9NNWWXtyAoHzd7uySlgBXg==} @@ -4843,7 +4842,7 @@ snapshots: dependencies: '@vue/shared': 3.6.0-alpha.1 - '@vue/repl@https://pkg.pr.new/@vue/repl@0c1d0f7': {} + '@vue/repl@4.6.2': {} '@vue/runtime-core@3.6.0-alpha.1': dependencies: