]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(deps): update dependency execa to v8 (#9266)
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Thu, 21 Sep 2023 12:25:32 +0000 (07:25 -0500)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2023 12:25:32 +0000 (07:25 -0500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
package.json
packages/sfc-playground/package.json
packages/sfc-playground/vite.config.ts
pnpm-lock.yaml
scripts/build.js
scripts/const-enum.js
scripts/release.js

index 1b08c54e852ac2b61cb5a5684399168f624ddfc8..0bdec3084f32a67296a470c7200aafe79221f01c 100644 (file)
@@ -77,7 +77,7 @@
     "eslint": "^8.49.0",
     "eslint-plugin-jest": "^27.4.0",
     "estree-walker": "^2.0.2",
-    "execa": "^4.1.0",
+    "execa": "^8.0.1",
     "jsdom": "^22.1.0",
     "lint-staged": "^14.0.1",
     "lodash": "^4.17.21",
index 4455a801d365892d20d61f90810c9c56299bb9c1..7eca6b512e0d4d5f5829bc372d1307f5e52bd130 100644 (file)
@@ -1,6 +1,7 @@
 {
   "name": "@vue/sfc-playground",
   "version": "3.3.4",
+  "type": "module",
   "private": true,
   "scripts": {
     "dev": "vite",
index 8b93d1d31267f2684fd832932d2fe115a631bc4d..df5441cb0f630226e39a09a49720be54023f7a07 100644 (file)
@@ -2,9 +2,9 @@ import fs from 'fs'
 import path from 'path'
 import { defineConfig, Plugin } from 'vite'
 import vue from '@vitejs/plugin-vue'
-import execa from 'execa'
+import { execaSync } from 'execa'
 
-const commit = execa.sync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
+const commit = execaSync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
 
 export default defineConfig({
   plugins: [
index 24ead2e1e955885df1dd7d1f9fd4608e7b481777..7e9962052984295a400747692f107159a862f138 100644 (file)
@@ -72,8 +72,8 @@ importers:
         specifier: ^2.0.2
         version: 2.0.2
       execa:
-        specifier: ^4.1.0
-        version: 4.1.0
+        specifier: ^8.0.1
+        version: 8.0.1
       jsdom:
         specifier: ^22.1.0
         version: 22.1.0
@@ -3116,21 +3116,6 @@ packages:
     resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==}
     dev: true
 
-  /execa@4.1.0:
-    resolution: {integrity: sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==}
-    engines: {node: '>=10'}
-    dependencies:
-      cross-spawn: 7.0.3
-      get-stream: 5.2.0
-      human-signals: 1.1.1
-      is-stream: 2.0.1
-      merge-stream: 2.0.0
-      npm-run-path: 4.0.1
-      onetime: 5.1.2
-      signal-exit: 3.0.7
-      strip-final-newline: 2.0.0
-    dev: true
-
   /execa@5.1.1:
     resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
     engines: {node: '>=10'}
@@ -3161,6 +3146,21 @@ packages:
       strip-final-newline: 3.0.0
     dev: true
 
+  /execa@8.0.1:
+    resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==}
+    engines: {node: '>=16.17'}
+    dependencies:
+      cross-spawn: 7.0.3
+      get-stream: 8.0.1
+      human-signals: 5.0.0
+      is-stream: 3.0.0
+      merge-stream: 2.0.0
+      npm-run-path: 5.1.0
+      onetime: 6.0.0
+      signal-exit: 4.1.0
+      strip-final-newline: 3.0.0
+    dev: true
+
   /extract-zip@2.0.1:
     resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==}
     engines: {node: '>= 10.17.0'}
@@ -3378,6 +3378,11 @@ packages:
     engines: {node: '>=10'}
     dev: true
 
+  /get-stream@8.0.1:
+    resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==}
+    engines: {node: '>=16'}
+    dev: true
+
   /get-symbol-description@1.0.0:
     resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==}
     engines: {node: '>= 0.4'}
@@ -3649,11 +3654,6 @@ packages:
       - supports-color
     dev: true
 
-  /human-signals@1.1.1:
-    resolution: {integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==}
-    engines: {node: '>=8.12.0'}
-    dev: true
-
   /human-signals@2.1.0:
     resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}
     engines: {node: '>=10.17.0'}
@@ -3664,6 +3664,11 @@ packages:
     engines: {node: '>=14.18.0'}
     dev: true
 
+  /human-signals@5.0.0:
+    resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==}
+    engines: {node: '>=16.17.0'}
+    dev: true
+
   /iconv-lite@0.6.3:
     resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
     engines: {node: '>=0.10.0'}
@@ -5565,6 +5570,11 @@ packages:
     resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
     dev: true
 
+  /signal-exit@4.1.0:
+    resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+    engines: {node: '>=14'}
+    dev: true
+
   /simple-git-hooks@2.9.0:
     resolution: {integrity: sha512-waSQ5paUQtyGC0ZxlHmcMmD9I1rRXauikBwX31bX58l5vTOhCEcBC5Bi+ZDkPXTjDnZAF8TbCqKBY+9+sVPScw==}
     hasBin: true
index 1f8af65017dae2c0d98def33eb7cd64d94f201c7..eb1ac33ac43cc018d034790ea0528404b03b525f 100644 (file)
@@ -22,7 +22,7 @@ import path from 'node:path'
 import minimist from 'minimist'
 import { gzipSync, brotliCompressSync } from 'node:zlib'
 import chalk from 'chalk'
-import execa from 'execa'
+import { execa, execaSync } from 'execa'
 import { cpus } from 'node:os'
 import { createRequire } from 'node:module'
 import { targets as allTargets, fuzzyMatchTarget } from './utils.js'
@@ -40,7 +40,7 @@ const sourceMap = args.sourcemap || args.s
 const isRelease = args.release
 const buildAllMatching = args.all || args.a
 const writeSize = args.size
-const commit = execa.sync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
+const commit = execaSync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
 
 const sizeDir = path.resolve('temp/size')
 
index 0e262285f10ab7d9d83bdd90e8e7170a5df656e0..e9f25bcef500fb7324dccdc57bf8fac82221982b 100644 (file)
@@ -14,7 +14,7 @@
  * This file is expected to be executed with project root as cwd.
  */
 
-import execa from 'execa'
+import { execaSync } from 'execa'
 import {
   existsSync,
   mkdirSync,
@@ -45,7 +45,7 @@ export function scanEnums() {
   }
 
   // 1. grep for files with exported const enum
-  const { stdout } = execa.sync('git', ['grep', `export const enum`])
+  const { stdout } = execaSync('git', ['grep', `export const enum`])
   const files = [...new Set(stdout.split('\n').map(line => line.split(':')[0]))]
 
   // 2. parse matched files to collect enum info
index 2c91cbbaface1b0590859544828f0b6d87c9df95..3d29b8b2c64901cda53e5648ac11176e3fad220c 100644 (file)
@@ -5,7 +5,7 @@ import path from 'node:path'
 import chalk from 'chalk'
 import semver from 'semver'
 import enquirer from 'enquirer'
-import execa from 'execa'
+import { execa } from 'execa'
 import { createRequire } from 'node:module'
 import { fileURLToPath } from 'node:url'