@swc/core 1.2.232 → 1.2.237

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/index.js +1 -0
  3. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -5,6 +5,75 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/plugin/runner)** Provide guest memory allocator for the sourcemap (#5517) ([3bdb39c](https://github.com/swc-project/swc/commit/3bdb39c0eea3c8c5473ff6034be7f7f44d9ba9e7))
9
+
10
+
11
+ - **(es/plugin/runner)** Revert wasmer@3 (#5521) ([4a9b1dd](https://github.com/swc-project/swc/commit/4a9b1dde1aaf84e233a9d1a59a1de539706e652b))
12
+
13
+ ### Features
14
+
15
+
16
+
17
+ - **(bindings)** Update `swc_core` (#5518) ([b37b640](https://github.com/swc-project/swc/commit/b37b64013354d621b47bddca6e3bf6294f29b11d))
18
+
19
+
20
+ - **(bindings)** Bump `swc_core` (#5525) ([ac60c0a](https://github.com/swc-project/swc/commit/ac60c0a2a01009a29ab71e7805eb8ee2aad40b34))
21
+
22
+ ## [1.2.235] - 2022-08-16
23
+
24
+ ### Bug Fixes
25
+
26
+
27
+
28
+ - **(plugin/proxy)** Fix a compilation attribute (#5495) ([ca82f64](https://github.com/swc-project/swc/commit/ca82f64b0e4a550be86bd36d61b3e358b14a720a))
29
+
30
+
31
+ - **(swc_core)** Revert crate version metadata patch (#5501) ([ef1f259](https://github.com/swc-project/swc/commit/ef1f259a93495128947e2010998b0f879e59a538))
32
+
33
+ ### Features
34
+
35
+
36
+
37
+ - **(bindings)** Update `swc_core` (#5510) ([b9f88ff](https://github.com/swc-project/swc/commit/b9f88ff7203e0143de78f43ec0a4770907fa42da))
38
+
39
+
40
+ - **(es/compat)** Fix syntax context of transpiled class methods (#5498) ([b9933b1](https://github.com/swc-project/swc/commit/b9933b159a208a0bccbb9bf7cd9383b6a9be0e51))
41
+
42
+
43
+ - **(es/plugin)** Update `wasmer` to 3 (#5456) ([92f006c](https://github.com/swc-project/swc/commit/92f006c9a033bf4a49b48e842fd0668a96a13c61))
44
+
45
+
46
+ - **(swc_core)** Provide build-time metadata diagnostics (#5494) ([808e68b](https://github.com/swc-project/swc/commit/808e68b4b1cdbaff6a38cbec6d8b07c406d7d550))
47
+
48
+ ### Refactor
49
+
50
+
51
+
52
+ - **(bindings)** Use separate workspace for bindings (#5506) ([496346a](https://github.com/swc-project/swc/commit/496346ac04483581c29444e205392c479e1f8c4b))
53
+
54
+
55
+ - **(bindings)** Merge cargo workspace (#5511) ([bbf9e2f](https://github.com/swc-project/swc/commit/bbf9e2f24363094819c7d0aa390122db85645f39))
56
+
57
+ ### Build
58
+
59
+
60
+
61
+ - **(swc_core)** Bump up `rkyv` (#5507) ([becc3ae](https://github.com/swc-project/swc/commit/becc3aebf2469cc29ddfce0c082470d06a6117df))
62
+
63
+ ## [1.2.233] - 2022-08-15
64
+
65
+ ### Build
66
+
67
+
68
+
69
+ - **(es)** Bump up bindings (#5493) ([e547631](https://github.com/swc-project/swc/commit/e5476310f816c8d16dc9c653e234737bfeb03697))
70
+
71
+ ## [1.2.232] - 2022-08-15
72
+
73
+ ### Bug Fixes
74
+
75
+
76
+
8
77
  - **(es/minifier)** Fix context of call/new expressions (#5487) ([40bb695](https://github.com/swc-project/swc/commit/40bb695f64da7fe1f7d892ded51bf77101cea4bc))
9
78
 
10
79
 
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.232",
3
+ "version": "1.2.237",
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 ./crates/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 -p 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 -p binding_core_node",
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.232",
142
- "@swc/core-darwin-x64": "1.2.232",
143
- "@swc/core-linux-x64-gnu": "1.2.232",
144
- "@swc/core-linux-x64-musl": "1.2.232",
145
- "@swc/core-freebsd-x64": "1.2.232",
146
- "@swc/core-win32-ia32-msvc": "1.2.232",
147
- "@swc/core-linux-arm64-gnu": "1.2.232",
148
- "@swc/core-linux-arm-gnueabihf": "1.2.232",
149
- "@swc/core-darwin-arm64": "1.2.232",
150
- "@swc/core-android-arm64": "1.2.232",
151
- "@swc/core-linux-arm64-musl": "1.2.232",
152
- "@swc/core-win32-arm64-msvc": "1.2.232",
153
- "@swc/core-android-arm-eabi": "1.2.232"
141
+ "@swc/core-win32-x64-msvc": "1.2.237",
142
+ "@swc/core-darwin-x64": "1.2.237",
143
+ "@swc/core-linux-x64-gnu": "1.2.237",
144
+ "@swc/core-linux-x64-musl": "1.2.237",
145
+ "@swc/core-freebsd-x64": "1.2.237",
146
+ "@swc/core-win32-ia32-msvc": "1.2.237",
147
+ "@swc/core-linux-arm64-gnu": "1.2.237",
148
+ "@swc/core-linux-arm-gnueabihf": "1.2.237",
149
+ "@swc/core-darwin-arm64": "1.2.237",
150
+ "@swc/core-android-arm64": "1.2.237",
151
+ "@swc/core-linux-arm64-musl": "1.2.237",
152
+ "@swc/core-win32-arm64-msvc": "1.2.237",
153
+ "@swc/core-android-arm-eabi": "1.2.237"
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
- "crates/binding_core_wasm/pkg/binding_core_wasm.d.ts"
174
+ "bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
175
175
  ]
176
176
  }