@swc/core 1.3.1 → 1.3.2

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 +86 -0
  2. package/README.md +3 -1
  3. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,86 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/codegen)** Drop the last comma in an array literal (#5877) ([7d6d04b](https://github.com/swc-project/swc/commit/7d6d04b4215c5c1ec368a8ccdabdda187cfa647e))
9
+
10
+
11
+ - **(es/compat)** Fix handling of objects in generator (#5861) ([006c7fb](https://github.com/swc-project/swc/commit/006c7fb56e0b8d4955f848c6af8c83bcd87515ab))
12
+
13
+
14
+ - **(es/minifier)** Remove `fake_block` while calculating next scope (#5869) ([991a34e](https://github.com/swc-project/swc/commit/991a34e0c2b50f81dfdf44ae892ebc118a808c58))
15
+
16
+
17
+ - **(es/minifier)** Fix handling of `.toFixed` call without an argument (#5868) ([90d311c](https://github.com/swc-project/swc/commit/90d311c042952c8b0d6381791c9f504fc54551ae))
18
+
19
+
20
+ - **(es/minifier)** Fix unicode handling (#5875) ([c3fa96b](https://github.com/swc-project/swc/commit/c3fa96b21b1545be62fdfd359ca5762a1bd4a473))
21
+
22
+
23
+ - **(html/parser)** Reflect the fix for a bug in spec (#5779) ([57e9f9c](https://github.com/swc-project/swc/commit/57e9f9c88ed4c8f29a26e500fd1f00cb1befab9f))
24
+
25
+ ### Features
26
+
27
+
28
+
29
+ - **(es/minifier)** Move assign with seq init into seq (#5847) ([63fb0c4](https://github.com/swc-project/swc/commit/63fb0c4ad34698d4d3f0c49ff5a78f6e446e64f9))
30
+
31
+
32
+ - **(es/minifier)** Drop variable from the sequential inliner (#5896) ([4e656af](https://github.com/swc-project/swc/commit/4e656af1ecddadc4fa96e79aaf7338b7f22a672c))
33
+
34
+
35
+ - **(es/plugin)** Enable plugin for bytecheck flags (#5885) ([2d4d04d](https://github.com/swc-project/swc/commit/2d4d04d06beec5c88e8515c95298a0bf5d961d8c))
36
+
37
+
38
+ - **(preset-env/base)** Implement more traits for `BrowserData` and `Version` (#5879) ([73c48a8](https://github.com/swc-project/swc/commit/73c48a8e6eb3d002ca0c575d253f32ae1aa6e5ea))
39
+
40
+
41
+ - **(swc_core)** Enable `bytecheck` for plugin (#5878) ([1ba151f](https://github.com/swc-project/swc/commit/1ba151fe9540a8595f9ac9f286917fdec9db5264))
42
+
43
+ ### Miscellaneous Tasks
44
+
45
+
46
+
47
+ - **(ci)** Reduce CI time (#5870) ([9ca3966](https://github.com/swc-project/swc/commit/9ca3966686ea2e62dc7225352cdc2ae66b970b8b))- **general**: Update MSRV (#5856) ([f3e0267](https://github.com/swc-project/swc/commit/f3e02675ad74013b82ef911bfcf75e39bc7b4967))- **general**: Fix publish script ([720b3e0](https://github.com/swc-project/swc/commit/720b3e05c1e5fa9ab5bdae5f6d1268d6f6bce885))- **general**: Remove `.prettierrc.json` (#5895) ([89f0a4c](https://github.com/swc-project/swc/commit/89f0a4c5ac66d30ac2b9bf51db488a9946acea65))
48
+
49
+ ### Performance
50
+
51
+
52
+
53
+ - **(html)** Reduce memory usage (#5867) ([7f62fa6](https://github.com/swc-project/swc/commit/7f62fa62277621bc0787eca1e5e0df9dd575b5cd))
54
+
55
+
56
+ - **(html/parser)** Improve performance (#5884) ([5645e81](https://github.com/swc-project/swc/commit/5645e810df36e7954dc1249634e1a92e34f8172c))
57
+
58
+ ### Refactor
59
+
60
+
61
+
62
+ - **(es/ast)** Apply rkyv-bytecheck flag (#5866) ([092b728](https://github.com/swc-project/swc/commit/092b7281d0929a77ddfa3d09018445b94b0dc1cf))- **general**: Refactor code using clippy (#5863) ([dfb01bd](https://github.com/swc-project/swc/commit/dfb01bde71c73ea398b7e3d8428a3c3015366d4e))
63
+
64
+ ### Testing
65
+
66
+
67
+
68
+ - **(es/minifier)** Add a test for a fixed issue (#5897) ([0bbcfe1](https://github.com/swc-project/swc/commit/0bbcfe15ee25e6debfb3dbed2d97fbf65bbb885a))
69
+
70
+
71
+ - **(es/modules)** Add tests for `jsc.paths` (#5876) ([0d492bf](https://github.com/swc-project/swc/commit/0d492bfce1681dbbdbe8701f6e928002cc6ce6cd))
72
+
73
+
74
+ - **(es/plugin)** Add a noop plugin (#5892) ([20d071b](https://github.com/swc-project/swc/commit/20d071bdc771e9b863a9f8d38a11485539eda0d0))
75
+
76
+ ### Build
77
+
78
+
79
+
80
+ - **(bindings)** Remove cargo patch (#5874) ([355bb41](https://github.com/swc-project/swc/commit/355bb41a1f0c9920c16d620f3b8099e910cedbad))
81
+
82
+ ## [1.3.1] - 2022-09-14
83
+
84
+ ### Bug Fixes
85
+
86
+
87
+
8
88
  - **(cli)** Update the plugin template (#5824) ([969ecde](https://github.com/swc-project/swc/commit/969ecdee3d63b2f4b9ffc7f854d25ceb5bff32f4))
9
89
 
10
90
 
@@ -55,6 +135,12 @@
55
135
 
56
136
  - **(swc_core)** Export testing utilities (#5839) ([856d741](https://github.com/swc-project/swc/commit/856d741ec77f46eb04be8489a3a18340269dbe4d))
57
137
 
138
+ ### Miscellaneous Tasks
139
+
140
+
141
+
142
+ - **(ci)** FIx publish action (#5857) ([c2f25c9](https://github.com/swc-project/swc/commit/c2f25c9998776366a5df8da77d94b0a85e4869fe))
143
+
58
144
  ### Performance
59
145
 
60
146
 
package/README.md CHANGED
@@ -38,7 +38,9 @@ Also, SWC tries to ensure that
38
38
 
39
39
  > If you select the latest version of each crates, it will work
40
40
 
41
- for rust users. Without such guarantee, using SWC would be too hard as SWC is a large, modular project and typically you have to use many modules.
41
+ for rust users.
42
+
43
+ MSRV of crates named `swc_ecma_*` is the current stable, and nightly for others.
42
44
 
43
45
  ---
44
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -143,19 +143,19 @@
143
143
  "url": "https://opencollective.com/swc"
144
144
  },
145
145
  "optionalDependencies": {
146
- "@swc/core-win32-x64-msvc": "1.3.1",
147
- "@swc/core-darwin-x64": "1.3.1",
148
- "@swc/core-linux-x64-gnu": "1.3.1",
149
- "@swc/core-linux-x64-musl": "1.3.1",
150
- "@swc/core-freebsd-x64": "1.3.1",
151
- "@swc/core-win32-ia32-msvc": "1.3.1",
152
- "@swc/core-linux-arm64-gnu": "1.3.1",
153
- "@swc/core-linux-arm-gnueabihf": "1.3.1",
154
- "@swc/core-darwin-arm64": "1.3.1",
155
- "@swc/core-android-arm64": "1.3.1",
156
- "@swc/core-linux-arm64-musl": "1.3.1",
157
- "@swc/core-win32-arm64-msvc": "1.3.1",
158
- "@swc/core-android-arm-eabi": "1.3.1"
146
+ "@swc/core-win32-x64-msvc": "1.3.2",
147
+ "@swc/core-darwin-x64": "1.3.2",
148
+ "@swc/core-linux-x64-gnu": "1.3.2",
149
+ "@swc/core-linux-x64-musl": "1.3.2",
150
+ "@swc/core-freebsd-x64": "1.3.2",
151
+ "@swc/core-win32-ia32-msvc": "1.3.2",
152
+ "@swc/core-linux-arm64-gnu": "1.3.2",
153
+ "@swc/core-linux-arm-gnueabihf": "1.3.2",
154
+ "@swc/core-darwin-arm64": "1.3.2",
155
+ "@swc/core-android-arm64": "1.3.2",
156
+ "@swc/core-linux-arm64-musl": "1.3.2",
157
+ "@swc/core-win32-arm64-msvc": "1.3.2",
158
+ "@swc/core-android-arm-eabi": "1.3.2"
159
159
  },
160
160
  "files": [
161
161
  "CHANGELOG.md",