From d855940fd445bb4488effb1995804a50a1935889 Mon Sep 17 00:00:00 2001 From: tada5hi Date: Fri, 15 Sep 2023 13:02:28 +0200 Subject: [PATCH 1/6] feat(repo): set min node engine version to v18 BREAKING CHANGE: min version changed --- packages/alias/package.json | 2 +- packages/auto-install/package.json | 2 +- packages/babel/package.json | 2 +- packages/beep/package.json | 2 +- packages/buble/package.json | 2 +- packages/commonjs/package.json | 2 +- packages/data-uri/package.json | 2 +- packages/dsv/package.json | 3 +++ packages/dynamic-import-vars/package.json | 2 +- packages/eslint/package.json | 2 +- packages/esm-shim/package.json | 2 +- packages/graphql/package.json | 2 +- packages/html/package.json | 2 +- packages/image/package.json | 2 +- packages/inject/package.json | 2 +- packages/json/package.json | 2 +- packages/legacy/package.json | 2 +- packages/multi-entry/package.json | 2 +- packages/node-resolve/package.json | 2 +- packages/pluginutils/package.json | 2 +- packages/replace/package.json | 2 +- packages/run/package.json | 2 +- packages/strip/package.json | 2 +- packages/sucrase/package.json | 2 +- packages/swc/package.json | 2 +- packages/terser/package.json | 2 +- packages/typescript/package.json | 2 +- packages/url/package.json | 2 +- packages/virtual/package.json | 2 +- packages/wasm/package.json | 2 +- packages/yaml/package.json | 2 +- 31 files changed, 33 insertions(+), 30 deletions(-) diff --git a/packages/alias/package.json b/packages/alias/package.json index 30aec8b1e..d60c30227 100755 --- a/packages/alias/package.json +++ b/packages/alias/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/auto-install/package.json b/packages/auto-install/package.json index 8d2346268..cb8f5e7d8 100755 --- a/packages/auto-install/package.json +++ b/packages/auto-install/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/babel/package.json b/packages/babel/package.json index f4668c20f..6b05e3ce2 100644 --- a/packages/babel/package.json +++ b/packages/babel/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/beep/package.json b/packages/beep/package.json index 734cfa834..9bd0993d2 100644 --- a/packages/beep/package.json +++ b/packages/beep/package.json @@ -15,7 +15,7 @@ "bugs": "https://github.com/rollup/plugins/issues", "main": "lib/index.js", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov", diff --git a/packages/buble/package.json b/packages/buble/package.json index 54f5cfb29..ee9766289 100644 --- a/packages/buble/package.json +++ b/packages/buble/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index aaa8eef48..d1e8e6b22 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/data-uri/package.json b/packages/data-uri/package.json index d74646536..4597ee09d 100644 --- a/packages/data-uri/package.json +++ b/packages/data-uri/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/dsv/package.json b/packages/dsv/package.json index 86b826d19..c06acd10f 100755 --- a/packages/dsv/package.json +++ b/packages/dsv/package.json @@ -15,6 +15,9 @@ "bugs": "https://github.com/rollup/plugins/issues", "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", + "engines": { + "node": ">=18.0.0" + }, "exports": { "types": "./types/index.d.ts", "import": "./dist/es/index.js", diff --git a/packages/dynamic-import-vars/package.json b/packages/dynamic-import-vars/package.json index bfe2c9398..71ad705e9 100644 --- a/packages/dynamic-import-vars/package.json +++ b/packages/dynamic-import-vars/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/eslint/package.json b/packages/eslint/package.json index 7681a688c..0150b7c73 100755 --- a/packages/eslint/package.json +++ b/packages/eslint/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/esm-shim/package.json b/packages/esm-shim/package.json index fbbd2288c..d4f573619 100644 --- a/packages/esm-shim/package.json +++ b/packages/esm-shim/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 6280a1b7a..6b84364bc 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/html/package.json b/packages/html/package.json index 4bfdf7371..62ed9dca7 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/image/package.json b/packages/image/package.json index 17eac8963..7b4c291e8 100644 --- a/packages/image/package.json +++ b/packages/image/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/inject/package.json b/packages/inject/package.json index 7ecabd25f..65679efda 100644 --- a/packages/inject/package.json +++ b/packages/inject/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/json/package.json b/packages/json/package.json index 47b04a896..88e8fbe48 100755 --- a/packages/json/package.json +++ b/packages/json/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/legacy/package.json b/packages/legacy/package.json index 04b027ecd..92bb9f30f 100644 --- a/packages/legacy/package.json +++ b/packages/legacy/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/multi-entry/package.json b/packages/multi-entry/package.json index 699a0eac1..7d0dca6a3 100755 --- a/packages/multi-entry/package.json +++ b/packages/multi-entry/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/node-resolve/package.json b/packages/node-resolve/package.json index 78b7c922d..1475d47f7 100644 --- a/packages/node-resolve/package.json +++ b/packages/node-resolve/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/pluginutils/package.json b/packages/pluginutils/package.json index e86973629..a00728cae 100644 --- a/packages/pluginutils/package.json +++ b/packages/pluginutils/package.json @@ -24,7 +24,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/replace/package.json b/packages/replace/package.json index e6d351846..8cab3a74a 100644 --- a/packages/replace/package.json +++ b/packages/replace/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/run/package.json b/packages/run/package.json index c6e1dffa2..9358e748d 100644 --- a/packages/run/package.json +++ b/packages/run/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/strip/package.json b/packages/strip/package.json index b3272cede..f36052f8a 100644 --- a/packages/strip/package.json +++ b/packages/strip/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/sucrase/package.json b/packages/sucrase/package.json index 986376ab6..9051e89c0 100644 --- a/packages/sucrase/package.json +++ b/packages/sucrase/package.json @@ -22,7 +22,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/swc/package.json b/packages/swc/package.json index 5fe74971f..4a926770e 100644 --- a/packages/swc/package.json +++ b/packages/swc/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/terser/package.json b/packages/terser/package.json index 24f9a35a6..915f613b1 100644 --- a/packages/terser/package.json +++ b/packages/terser/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 0f0c23abf..29829fe81 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/url/package.json b/packages/url/package.json index 6883535d5..676cc4662 100644 --- a/packages/url/package.json +++ b/packages/url/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/virtual/package.json b/packages/virtual/package.json index a396595dc..0ccb814eb 100755 --- a/packages/virtual/package.json +++ b/packages/virtual/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/wasm/package.json b/packages/wasm/package.json index c4723c27b..d07f33375 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", diff --git a/packages/yaml/package.json b/packages/yaml/package.json index cd7c102ab..16bd271af 100755 --- a/packages/yaml/package.json +++ b/packages/yaml/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c", From 2ad099421e5e3ff825b64faeb67ba3115b13a08c Mon Sep 17 00:00:00 2001 From: tada5hi Date: Fri, 15 Sep 2023 13:15:18 +0200 Subject: [PATCH 2/6] style: apply prettier rules for dsv package.json --- packages/dsv/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dsv/package.json b/packages/dsv/package.json index c06acd10f..de83bdce1 100755 --- a/packages/dsv/package.json +++ b/packages/dsv/package.json @@ -15,14 +15,14 @@ "bugs": "https://github.com/rollup/plugins/issues", "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", - "engines": { - "node": ">=18.0.0" - }, "exports": { "types": "./types/index.d.ts", "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, + "engines": { + "node": ">=18.0.0" + }, "scripts": { "build": "rollup -c", "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov", From 38659a6012e51fcffffdc38f6822684c50501e80 Mon Sep 17 00:00:00 2001 From: tada5hi Date: Fri, 15 Sep 2023 13:26:38 +0200 Subject: [PATCH 3/6] fix: bump swc to 1.3.85 to avoid error on test pipeline --- packages/swc/package.json | 2 +- pnpm-lock.yaml | 74 +++++++++++++++++++++------------------ 2 files changed, 41 insertions(+), 35 deletions(-) diff --git a/packages/swc/package.json b/packages/swc/package.json index 4a926770e..478d742c9 100644 --- a/packages/swc/package.json +++ b/packages/swc/package.json @@ -66,7 +66,7 @@ "smob": "^1.4.0" }, "devDependencies": { - "@swc/core": "^1.3.78", + "@swc/core": "^1.3.85", "rollup": "^4.0.0-24", "typescript": "^4.8.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dbe85b834..944872a23 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -694,8 +694,8 @@ importers: version: 1.4.0 devDependencies: '@swc/core': - specifier: ^1.3.78 - version: 1.3.78 + specifier: ^1.3.85 + version: 1.3.85 rollup: specifier: ^4.0.0-24 version: 4.0.0-24 @@ -2531,8 +2531,8 @@ packages: resolution: {integrity: sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==} dev: true - /@swc/core-darwin-arm64@1.3.78: - resolution: {integrity: sha512-596KRua/d5Gx1buHKKchSyHuwoIL4S1BRD/wCvYNLNZ3xOzcuBBmXOjrDVigKi1ztNDeS07p30RO5UyYur0XAA==} + /@swc/core-darwin-arm64@1.3.85: + resolution: {integrity: sha512-jTikp+i4nO4Ofe6qGm4I3sFeebD1OvueBCHITux5tQKD6umN1c2z4CRGv6K49NIz/qEpUcdr6Qny6K+3yibVFQ==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -2540,8 +2540,8 @@ packages: dev: true optional: true - /@swc/core-darwin-x64@1.3.78: - resolution: {integrity: sha512-w0RsD1onQAj0vuLAoOVi48HgnW6D6oBEIZP17l0HYejCDBZ+FRZLjml7wgNAWMqHcd2qNRqgtZ+v7aLza2JtBQ==} + /@swc/core-darwin-x64@1.3.85: + resolution: {integrity: sha512-3uHYkjVU+2F+YbVYtq5rH0uCJIztFTALaS3mQEfQUZKXZ5/8jD5titTCRqFKtSlQg0CzaFZgsYsuqwYBmgN0mA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -2549,8 +2549,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm-gnueabihf@1.3.78: - resolution: {integrity: sha512-v1CpRn+H6fha1WIqmdRvJM40pFdjUHrGfhf4Ygci72nlAU41l5XimN8Iwkm8FgIwf2wnv0lLzedSM4IHvpq/yA==} + /@swc/core-linux-arm-gnueabihf@1.3.85: + resolution: {integrity: sha512-ouHzAHsFaEOkRuoTAOI/8n2m8BQAAnb4vr/xbMhhDOmix0lp5eNsW5Iac/EcJ2uG6B3n7P2K8oycj9SWkj+pfw==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -2558,8 +2558,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-gnu@1.3.78: - resolution: {integrity: sha512-Sis17dz9joJRFVvR/gteOZSUNrrrioo81RQzani0Zr5ZZOfWLMTB9DA+0MVlfnVa2taYcsJHJZFoAv9JkLwbzg==} + /@swc/core-linux-arm64-gnu@1.3.85: + resolution: {integrity: sha512-/Z1CZOWiO+NqJEh1J20PIxQFHMH43upQJ1l7FJ5Z7+MyuYF8WkeJ7OSovau729pBR+38vvvccEJrMZIztfv7hQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2567,8 +2567,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-musl@1.3.78: - resolution: {integrity: sha512-E5F8/qp+QupnfBnsP4vN1PKyCmAHYHDG1GMyPE/zLFOUYLgw+jK4C9rfyLBR0o2bWo1ay2WCIjusBZD9XHGOSA==} + /@swc/core-linux-arm64-musl@1.3.85: + resolution: {integrity: sha512-gfh7CfKavi076dbMBTzfdawSGcYfZ4+1Q+8aRkSesqepKHcIWIJti8Cf3zB4a6CHNhJe+VN0Gb7DEfumydAm1w==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2576,8 +2576,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-gnu@1.3.78: - resolution: {integrity: sha512-iDxa+RknnTQlyy+WfPor1FM6y44ERNI2E0xiUV6gV6uPwegCngi8LFC+E7IvP6+p+yXtAkesunAaiZ8nn0s+rw==} + /@swc/core-linux-x64-gnu@1.3.85: + resolution: {integrity: sha512-lWVqjHKzofb9q1qrBM4dLqO7CIisp08/xMS5Hz9DWex1gTc5F2b6yJO6Ceqwa256GMweJcdP6A5EvEFQAiZ5dg==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2585,8 +2585,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-musl@1.3.78: - resolution: {integrity: sha512-dWtIYUFL5sMTE2UKshkXTusHcK8+zAhhGzvqWq1wJS45pqTlrAbzpyqB780fle880x3A6DMitWmsAFARdNzpuQ==} + /@swc/core-linux-x64-musl@1.3.85: + resolution: {integrity: sha512-EPJmlfqC05TUetnlErxNRyIp7Nc3B2w9abET6oQ/EgldeAeQnZ3M6svMViET/c2QSomgrU3rdP+Qcozkt62/4A==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2594,8 +2594,8 @@ packages: dev: true optional: true - /@swc/core-win32-arm64-msvc@1.3.78: - resolution: {integrity: sha512-CXFaGEc2M9Su3UoUMC8AnzKb9g+GwPxXfakLWZsjwS448h6jcreExq3nwtBNdVGzQ26xqeVLMFfb1l/oK99Hwg==} + /@swc/core-win32-arm64-msvc@1.3.85: + resolution: {integrity: sha512-ibckJDZw8kNosciMexwk0z75ZyUhwtiFMV9rSBpup0opa7NNCUCoERCJ1e9LRyMdhsVUoLpZg/KZiHCdTw96hQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -2603,8 +2603,8 @@ packages: dev: true optional: true - /@swc/core-win32-ia32-msvc@1.3.78: - resolution: {integrity: sha512-FaH1jwWnJpWkdImpMoiZpMg9oy9UUyZwltzN7hFwjR48e3Li82cRFb+9PifIBHCUSBM+CrrsJXbHP213IMVAyw==} + /@swc/core-win32-ia32-msvc@1.3.85: + resolution: {integrity: sha512-hY4MpHGUVQHL1T2kgRXOigDho4DTIpVPYzJ4uyy8VQRbS7GzN5XtvdGP/fA4zp8+2BQjcig+6J7Y92SY15ouNQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -2612,8 +2612,8 @@ packages: dev: true optional: true - /@swc/core-win32-x64-msvc@1.3.78: - resolution: {integrity: sha512-oYxa+tPdhlx1aH14AIoF6kvVjo49tEOW0drNqoEaVHufvgH0y43QU2Jum3b2+xXztmMRtzK2CSN3GPOAXDKKKg==} + /@swc/core-win32-x64-msvc@1.3.85: + resolution: {integrity: sha512-ktxWOMFJ0iqKn6WUHtXqi4CS7xkyHmrRtjllGRuGqxmLmDX/HSOfuQ55Tm1KXKk5oHLacJkUbOSF2kBrpZ8dpg==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -2621,8 +2621,8 @@ packages: dev: true optional: true - /@swc/core@1.3.78: - resolution: {integrity: sha512-y6DQP571v7fbUUY7nz5G4lNIRGofuO48K5pGhD9VnuOCTuptfooCdi8wnigIrIhM/M4zQ53m/YCMDCbOtDgEww==} + /@swc/core@1.3.85: + resolution: {integrity: sha512-qnoxp+2O0GtvRdYnXgR1v8J7iymGGYpx6f6yCK9KxipOZOjrlKILFANYlghQxZyPUfXwK++TFxfSlX4r9wK+kg==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -2630,17 +2630,23 @@ packages: peerDependenciesMeta: '@swc/helpers': optional: true + dependencies: + '@swc/types': 0.1.4 optionalDependencies: - '@swc/core-darwin-arm64': 1.3.78 - '@swc/core-darwin-x64': 1.3.78 - '@swc/core-linux-arm-gnueabihf': 1.3.78 - '@swc/core-linux-arm64-gnu': 1.3.78 - '@swc/core-linux-arm64-musl': 1.3.78 - '@swc/core-linux-x64-gnu': 1.3.78 - '@swc/core-linux-x64-musl': 1.3.78 - '@swc/core-win32-arm64-msvc': 1.3.78 - '@swc/core-win32-ia32-msvc': 1.3.78 - '@swc/core-win32-x64-msvc': 1.3.78 + '@swc/core-darwin-arm64': 1.3.85 + '@swc/core-darwin-x64': 1.3.85 + '@swc/core-linux-arm-gnueabihf': 1.3.85 + '@swc/core-linux-arm64-gnu': 1.3.85 + '@swc/core-linux-arm64-musl': 1.3.85 + '@swc/core-linux-x64-gnu': 1.3.85 + '@swc/core-linux-x64-musl': 1.3.85 + '@swc/core-win32-arm64-msvc': 1.3.85 + '@swc/core-win32-ia32-msvc': 1.3.85 + '@swc/core-win32-x64-msvc': 1.3.85 + dev: true + + /@swc/types@0.1.4: + resolution: {integrity: sha512-z/G02d+59gyyUb7KYhKi9jOhicek6QD2oMaotUyG+lUkybpXoV49dY9bj7Ah5Q+y7knK2jU67UTX9FyfGzaxQg==} dev: true /@szmarczak/http-timer@4.0.6: From e9ad73f151815d0cb09c263d0927c02be25a8664 Mon Sep 17 00:00:00 2001 From: tada5hi Date: Thu, 28 Sep 2023 22:07:32 +0200 Subject: [PATCH 4/6] fix: set revert changes to wasm plugin --- packages/wasm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wasm/package.json b/packages/wasm/package.json index d07f33375..c4723c27b 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=18.0.0" + "node": ">=14.0.0" }, "scripts": { "build": "rollup -c", From 055aff520e03f3e67a0027f5f3a16fca5c1d48f3 Mon Sep 17 00:00:00 2001 From: tada5hi Date: Thu, 28 Sep 2023 22:22:30 +0200 Subject: [PATCH 5/6] build: bump @swc/core to 1.3.90 --- packages/swc/package.json | 2 +- pnpm-lock.yaml | 83 +++++++++++++++++++++------------------ 2 files changed, 45 insertions(+), 40 deletions(-) diff --git a/packages/swc/package.json b/packages/swc/package.json index 478d742c9..c3ff7ef6b 100644 --- a/packages/swc/package.json +++ b/packages/swc/package.json @@ -66,7 +66,7 @@ "smob": "^1.4.0" }, "devDependencies": { - "@swc/core": "^1.3.85", + "@swc/core": "^1.3.92", "rollup": "^4.0.0-24", "typescript": "^4.8.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 944872a23..d7a1df0b0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -694,8 +694,8 @@ importers: version: 1.4.0 devDependencies: '@swc/core': - specifier: ^1.3.85 - version: 1.3.85 + specifier: ^1.3.92 + version: 1.3.92 rollup: specifier: ^4.0.0-24 version: 4.0.0-24 @@ -2531,8 +2531,8 @@ packages: resolution: {integrity: sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==} dev: true - /@swc/core-darwin-arm64@1.3.85: - resolution: {integrity: sha512-jTikp+i4nO4Ofe6qGm4I3sFeebD1OvueBCHITux5tQKD6umN1c2z4CRGv6K49NIz/qEpUcdr6Qny6K+3yibVFQ==} + /@swc/core-darwin-arm64@1.3.92: + resolution: {integrity: sha512-v7PqZUBtIF6Q5Cp48gqUiG8zQQnEICpnfNdoiY3xjQAglCGIQCjJIDjreZBoeZQZspB27lQN4eZ43CX18+2SnA==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -2540,8 +2540,8 @@ packages: dev: true optional: true - /@swc/core-darwin-x64@1.3.85: - resolution: {integrity: sha512-3uHYkjVU+2F+YbVYtq5rH0uCJIztFTALaS3mQEfQUZKXZ5/8jD5titTCRqFKtSlQg0CzaFZgsYsuqwYBmgN0mA==} + /@swc/core-darwin-x64@1.3.92: + resolution: {integrity: sha512-Q3XIgQfXyxxxms3bPN+xGgvwk0TtG9l89IomApu+yTKzaIIlf051mS+lGngjnh9L0aUiCp6ICyjDLtutWP54fw==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -2549,8 +2549,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm-gnueabihf@1.3.85: - resolution: {integrity: sha512-ouHzAHsFaEOkRuoTAOI/8n2m8BQAAnb4vr/xbMhhDOmix0lp5eNsW5Iac/EcJ2uG6B3n7P2K8oycj9SWkj+pfw==} + /@swc/core-linux-arm-gnueabihf@1.3.92: + resolution: {integrity: sha512-tnOCoCpNVXC+0FCfG84PBZJyLlz0Vfj9MQhyhCvlJz9hQmvpf8nTdKH7RHrOn8VfxtUBLdVi80dXgIFgbvl7qA==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -2558,8 +2558,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-gnu@1.3.85: - resolution: {integrity: sha512-/Z1CZOWiO+NqJEh1J20PIxQFHMH43upQJ1l7FJ5Z7+MyuYF8WkeJ7OSovau729pBR+38vvvccEJrMZIztfv7hQ==} + /@swc/core-linux-arm64-gnu@1.3.92: + resolution: {integrity: sha512-lFfGhX32w8h1j74Iyz0Wv7JByXIwX11OE9UxG+oT7lG0RyXkF4zKyxP8EoxfLrDXse4Oop434p95e3UNC3IfCw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2567,8 +2567,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-musl@1.3.85: - resolution: {integrity: sha512-gfh7CfKavi076dbMBTzfdawSGcYfZ4+1Q+8aRkSesqepKHcIWIJti8Cf3zB4a6CHNhJe+VN0Gb7DEfumydAm1w==} + /@swc/core-linux-arm64-musl@1.3.92: + resolution: {integrity: sha512-rOZtRcLj57MSAbiecMsqjzBcZDuaCZ8F6l6JDwGkQ7u1NYR57cqF0QDyU7RKS1Jq27Z/Vg21z5cwqoH5fLN+Sg==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -2576,8 +2576,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-gnu@1.3.85: - resolution: {integrity: sha512-lWVqjHKzofb9q1qrBM4dLqO7CIisp08/xMS5Hz9DWex1gTc5F2b6yJO6Ceqwa256GMweJcdP6A5EvEFQAiZ5dg==} + /@swc/core-linux-x64-gnu@1.3.92: + resolution: {integrity: sha512-qptoMGnBL6v89x/Qpn+l1TH1Y0ed+v0qhNfAEVzZvCvzEMTFXphhlhYbDdpxbzRmCjH6GOGq7Y+xrWt9T1/ARg==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2585,8 +2585,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-musl@1.3.85: - resolution: {integrity: sha512-EPJmlfqC05TUetnlErxNRyIp7Nc3B2w9abET6oQ/EgldeAeQnZ3M6svMViET/c2QSomgrU3rdP+Qcozkt62/4A==} + /@swc/core-linux-x64-musl@1.3.92: + resolution: {integrity: sha512-g2KrJ43bZkCZHH4zsIV5ErojuV1OIpUHaEyW1gf7JWKaFBpWYVyubzFPvPkjcxHGLbMsEzO7w/NVfxtGMlFH/Q==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -2594,8 +2594,8 @@ packages: dev: true optional: true - /@swc/core-win32-arm64-msvc@1.3.85: - resolution: {integrity: sha512-ibckJDZw8kNosciMexwk0z75ZyUhwtiFMV9rSBpup0opa7NNCUCoERCJ1e9LRyMdhsVUoLpZg/KZiHCdTw96hQ==} + /@swc/core-win32-arm64-msvc@1.3.92: + resolution: {integrity: sha512-3MCRGPAYDoQ8Yyd3WsCMc8eFSyKXY5kQLyg/R5zEqA0uthomo0m0F5/fxAJMZGaSdYkU1DgF73ctOWOf+Z/EzQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -2603,8 +2603,8 @@ packages: dev: true optional: true - /@swc/core-win32-ia32-msvc@1.3.85: - resolution: {integrity: sha512-hY4MpHGUVQHL1T2kgRXOigDho4DTIpVPYzJ4uyy8VQRbS7GzN5XtvdGP/fA4zp8+2BQjcig+6J7Y92SY15ouNQ==} + /@swc/core-win32-ia32-msvc@1.3.92: + resolution: {integrity: sha512-zqTBKQhgfWm73SVGS8FKhFYDovyRl1f5dTX1IwSKynO0qHkRCqJwauFJv/yevkpJWsI2pFh03xsRs9HncTQKSA==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -2612,8 +2612,8 @@ packages: dev: true optional: true - /@swc/core-win32-x64-msvc@1.3.85: - resolution: {integrity: sha512-ktxWOMFJ0iqKn6WUHtXqi4CS7xkyHmrRtjllGRuGqxmLmDX/HSOfuQ55Tm1KXKk5oHLacJkUbOSF2kBrpZ8dpg==} + /@swc/core-win32-x64-msvc@1.3.92: + resolution: {integrity: sha512-41bE66ddr9o/Fi1FBh0sHdaKdENPTuDpv1IFHxSg0dJyM/jX8LbkjnpdInYXHBxhcLVAPraVRrNsC4SaoPw2Pg==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -2621,8 +2621,8 @@ packages: dev: true optional: true - /@swc/core@1.3.85: - resolution: {integrity: sha512-qnoxp+2O0GtvRdYnXgR1v8J7iymGGYpx6f6yCK9KxipOZOjrlKILFANYlghQxZyPUfXwK++TFxfSlX4r9wK+kg==} + /@swc/core@1.3.92: + resolution: {integrity: sha512-vx0vUrf4YTEw59njOJ46Ha5i0cZTMYdRHQ7KXU29efN1MxcmJH2RajWLPlvQarOP1ab9iv9cApD7SMchDyx2vA==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -2631,22 +2631,27 @@ packages: '@swc/helpers': optional: true dependencies: - '@swc/types': 0.1.4 + '@swc/counter': 0.1.1 + '@swc/types': 0.1.5 optionalDependencies: - '@swc/core-darwin-arm64': 1.3.85 - '@swc/core-darwin-x64': 1.3.85 - '@swc/core-linux-arm-gnueabihf': 1.3.85 - '@swc/core-linux-arm64-gnu': 1.3.85 - '@swc/core-linux-arm64-musl': 1.3.85 - '@swc/core-linux-x64-gnu': 1.3.85 - '@swc/core-linux-x64-musl': 1.3.85 - '@swc/core-win32-arm64-msvc': 1.3.85 - '@swc/core-win32-ia32-msvc': 1.3.85 - '@swc/core-win32-x64-msvc': 1.3.85 - dev: true - - /@swc/types@0.1.4: - resolution: {integrity: sha512-z/G02d+59gyyUb7KYhKi9jOhicek6QD2oMaotUyG+lUkybpXoV49dY9bj7Ah5Q+y7knK2jU67UTX9FyfGzaxQg==} + '@swc/core-darwin-arm64': 1.3.92 + '@swc/core-darwin-x64': 1.3.92 + '@swc/core-linux-arm-gnueabihf': 1.3.92 + '@swc/core-linux-arm64-gnu': 1.3.92 + '@swc/core-linux-arm64-musl': 1.3.92 + '@swc/core-linux-x64-gnu': 1.3.92 + '@swc/core-linux-x64-musl': 1.3.92 + '@swc/core-win32-arm64-msvc': 1.3.92 + '@swc/core-win32-ia32-msvc': 1.3.92 + '@swc/core-win32-x64-msvc': 1.3.92 + dev: true + + /@swc/counter@0.1.1: + resolution: {integrity: sha512-xVRaR4u9hcYjFvcSg71Lz5Bo4//CyjAAfMxa7UsaDSYxAshflUkVJWiyVWrfxC59z2kP1IzI4/1BEpnhI9o3Mw==} + dev: true + + /@swc/types@0.1.5: + resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==} dev: true /@szmarczak/http-timer@4.0.6: From 95509bf2ea6d2971d8da5ac48595602eb3449fca Mon Sep 17 00:00:00 2001 From: tada5hi Date: Thu, 5 Oct 2023 11:43:52 +0200 Subject: [PATCH 6/6] build: set wasm node engine version to v18 --- packages/wasm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wasm/package.json b/packages/wasm/package.json index c4723c27b..d07f33375 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -21,7 +21,7 @@ "default": "./dist/cjs/index.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "build": "rollup -c",