@swc/core 1.2.233 → 1.2.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/index.js +1 -0
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
## [unreleased]
|
|
3
3
|
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- **(es/compat)** Fix syntax context of transpiled class methods (#5498) ([b9933b1](https://github.com/swc-project/swc/commit/b9933b159a208a0bccbb9bf7cd9383b6a9be0e51))
|
|
9
|
+
|
|
10
|
+
### Refactor
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(bindings)** Merge cargo workspace (#5511) ([bbf9e2f](https://github.com/swc-project/swc/commit/bbf9e2f24363094819c7d0aa390122db85645f39))
|
|
15
|
+
|
|
16
|
+
## [1.2.234] - 2022-08-16
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
- **(plugin/proxy)** Fix a compilation attribute (#5495) ([ca82f64](https://github.com/swc-project/swc/commit/ca82f64b0e4a550be86bd36d61b3e358b14a720a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
- **(swc_core)** Revert crate version metadata patch (#5501) ([ef1f259](https://github.com/swc-project/swc/commit/ef1f259a93495128947e2010998b0f879e59a538))
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- **(bindings)** Update `swc_core` (#5510) ([b9f88ff](https://github.com/swc-project/swc/commit/b9f88ff7203e0143de78f43ec0a4770907fa42da))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- **(es/plugin)** Update `wasmer` to 3 (#5456) ([92f006c](https://github.com/swc-project/swc/commit/92f006c9a033bf4a49b48e842fd0668a96a13c61))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- **(swc_core)** Provide build-time metadata diagnostics (#5494) ([808e68b](https://github.com/swc-project/swc/commit/808e68b4b1cdbaff6a38cbec6d8b07c406d7d550))
|
|
38
|
+
|
|
39
|
+
### Refactor
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(bindings)** Use separate workspace for bindings (#5506) ([496346a](https://github.com/swc-project/swc/commit/496346ac04483581c29444e205392c479e1f8c4b))
|
|
44
|
+
|
|
45
|
+
### Build
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(swc_core)** Bump up `rkyv` (#5507) ([becc3ae](https://github.com/swc-project/swc/commit/becc3aebf2469cc29ddfce0c082470d06a6117df))
|
|
50
|
+
|
|
51
|
+
## [1.2.233] - 2022-08-15
|
|
52
|
+
|
|
4
53
|
### Build
|
|
5
54
|
|
|
6
55
|
|
package/index.js
CHANGED
|
@@ -54,6 +54,7 @@ const assert = __importStar(require("assert"));
|
|
|
54
54
|
// Allow overrides to the location of the .node binding file
|
|
55
55
|
const bindingsOverride = process.env["SWC_BINARY_PATH"];
|
|
56
56
|
// `@swc/core` includes d.ts for the `@swc/wasm` to provide typed fallback bindings
|
|
57
|
+
// todo: fix package.json scripts
|
|
57
58
|
let fallbackBindings;
|
|
58
59
|
const bindings = (() => {
|
|
59
60
|
let binding;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.235",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm",
|
|
60
60
|
"pack": "wasm-pack",
|
|
61
61
|
"build:ts": "tsc -d",
|
|
62
|
-
"build:wasm": "npm-run-all \"pack -- build ./
|
|
63
|
-
"build": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -
|
|
64
|
-
"build:dev": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -
|
|
62
|
+
"build:wasm": "npm-run-all \"pack -- build ./bindings/binding_core_wasm --scope swc {1} -t {2} --features plugin\" --",
|
|
63
|
+
"build": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings/binding_core_node --release",
|
|
64
|
+
"build:dev": "tsc -d && napi build --platform --cargo-name binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --cargo-cwd ./bindings/binding_core_node",
|
|
65
65
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./node-swc/jest.config.js",
|
|
66
66
|
"version": "napi version -p scripts/npm"
|
|
67
67
|
},
|
|
@@ -138,19 +138,19 @@
|
|
|
138
138
|
"url": "https://opencollective.com/swc"
|
|
139
139
|
},
|
|
140
140
|
"optionalDependencies": {
|
|
141
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
142
|
-
"@swc/core-darwin-x64": "1.2.
|
|
143
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
144
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
145
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
146
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
147
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
148
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
149
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
150
|
-
"@swc/core-android-arm64": "1.2.
|
|
151
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
152
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
153
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
141
|
+
"@swc/core-win32-x64-msvc": "1.2.235",
|
|
142
|
+
"@swc/core-darwin-x64": "1.2.235",
|
|
143
|
+
"@swc/core-linux-x64-gnu": "1.2.235",
|
|
144
|
+
"@swc/core-linux-x64-musl": "1.2.235",
|
|
145
|
+
"@swc/core-freebsd-x64": "1.2.235",
|
|
146
|
+
"@swc/core-win32-ia32-msvc": "1.2.235",
|
|
147
|
+
"@swc/core-linux-arm64-gnu": "1.2.235",
|
|
148
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.235",
|
|
149
|
+
"@swc/core-darwin-arm64": "1.2.235",
|
|
150
|
+
"@swc/core-android-arm64": "1.2.235",
|
|
151
|
+
"@swc/core-linux-arm64-musl": "1.2.235",
|
|
152
|
+
"@swc/core-win32-arm64-msvc": "1.2.235",
|
|
153
|
+
"@swc/core-android-arm-eabi": "1.2.235"
|
|
154
154
|
},
|
|
155
155
|
"files": [
|
|
156
156
|
"CHANGELOG.md",
|
|
@@ -171,6 +171,6 @@
|
|
|
171
171
|
"spack.d.ts",
|
|
172
172
|
"types.js",
|
|
173
173
|
"postinstall.js",
|
|
174
|
-
"
|
|
174
|
+
"bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
|
|
175
175
|
]
|
|
176
176
|
}
|