@swc/core 1.3.18 → 1.3.20

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 (2) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,106 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/codegen)** Preserve parens for `new` in optional chaining (#6484) ([1ca281a](https://github.com/swc-project/swc/commit/1ca281a6cfdbdcb4b52e7617c5e843b8458a2299))
9
+
10
+
11
+ - **(es/minifier)** Preserve classes with side effects in static fields (#6480) ([8d906b4](https://github.com/swc-project/swc/commit/8d906b45e56d447792df59d5fdde5ee072e2bc80))
12
+
13
+
14
+ - **(es/react)** Allow spread children (#6505) ([90aa6c8](https://github.com/swc-project/swc/commit/90aa6c831890bf3978d9e6298a003e0652b27dce))
15
+
16
+
17
+ - **(es/visit)** Visit TypeScript satisfies expressions (#6511) ([0cee0e1](https://github.com/swc-project/swc/commit/0cee0e1af7f8c476fe3622e687e6b953aef8cd31))
18
+
19
+ ### Features
20
+
21
+
22
+
23
+ - **(es/codegen)** Skip whitespaces for comments in minify mode (#6465) ([08a9e21](https://github.com/swc-project/swc/commit/08a9e21b36a3fbb03d4b5ae621c94e76ae6ab54f))
24
+
25
+ ### Miscellaneous Tasks
26
+
27
+
28
+
29
+ - **(ci)** Reduce trigger scope for PRs (#6486) ([7fe091a](https://github.com/swc-project/swc/commit/7fe091af1f0fea7ec599edc080b00484ae15871f))
30
+
31
+
32
+ - **(ci)** Skip benchmark for forks (#6489) ([78af96e](https://github.com/swc-project/swc/commit/78af96e5078b5a5235d3210e110a130c4f864171))
33
+
34
+ ### Performance
35
+
36
+
37
+
38
+ - **(es/helpers)** Improve fast-path for helper detection (#6502) ([b3b5526](https://github.com/swc-project/swc/commit/b3b5526be4a7b5f85c2aea22f1ced0a9896730ed))
39
+
40
+ ### Refactor
41
+
42
+
43
+
44
+ - **(binding/wasm)** Use binding_macro (#6487) ([d957aac](https://github.com/swc-project/swc/commit/d957aac056bede3b813a413af49759a6ced61cb6))
45
+
46
+
47
+ - **(es)** Remove settings related to `privateInObject` (#6468) ([c57307d](https://github.com/swc-project/swc/commit/c57307d0029e9e52dc41411c4c727da221cdfadb))
48
+
49
+ ### Build
50
+
51
+
52
+
53
+ - **(publish)** Upload cli binaries to github release (#6495) ([4f8af16](https://github.com/swc-project/swc/commit/4f8af1615634fb32df94e5ab462d120a52ac251c))
54
+
55
+ ## [1.3.19] - 2022-11-20
56
+
57
+ ### Bug Fixes
58
+
59
+
60
+
61
+ - **(es/compat)** Fix consecutive optional call (#6461) ([f7072db](https://github.com/swc-project/swc/commit/f7072dbb7eb768e2a4dad5aa9f2ac6c6bacf560e))
62
+
63
+
64
+ - **(es/lints)** Revert check for reassignment to classes (#6472) ([ca20d94](https://github.com/swc-project/swc/commit/ca20d94a7492198b450755a9d5033fb6404737f9))
65
+
66
+
67
+ - **(es/minifier)** Preserve unused imported specifiers (#6458) ([dabea71](https://github.com/swc-project/swc/commit/dabea71c4461a96836e4456bd2c6bbcf07f238a4))
68
+
69
+
70
+ - **(es/minifier)** Abort inliner on fn declarations used multiple time (#6473) ([15ad2c2](https://github.com/swc-project/swc/commit/15ad2c256880bea01931203ec7adfa61c9ca13be))
71
+
72
+
73
+ - **(es/minifier)** Avoid dropping statements which has side-effects (#6476) ([9154bbc](https://github.com/swc-project/swc/commit/9154bbc1117f91dd53fdf87c7eab29db90149376))
74
+
75
+
76
+ - **(es/modules)** Remove wrong check for `jsc.paths` (#6470) ([072bd13](https://github.com/swc-project/swc/commit/072bd130239579566d319a47156c570277cebb1b))
77
+
78
+
79
+ - **(es/parser)** Fix parsing of regexp (#6469) ([3e702b9](https://github.com/swc-project/swc/commit/3e702b9804a07f610948f731bbb8cfdcec8065a5))
80
+
81
+
82
+ - **(xml/parser)** Fix parsing of comments (#6449) ([3a0d98b](https://github.com/swc-project/swc/commit/3a0d98b6e986dd175b64534bc99c2a59a99b97d0))
83
+
84
+ ### Features
85
+
86
+
87
+
88
+ - **(es/minifier)** Support script fully (#6455) ([4d7b920](https://github.com/swc-project/swc/commit/4d7b920bd4521aacd7e4b77e3f2973a30c8ab5e9))
89
+
90
+
91
+ - **(html/minifier)** Remove empty script and style tags with attributes (#6447) ([7441721](https://github.com/swc-project/swc/commit/74417217a98bb26dcce7f913bb8ee35b538f0d06))
92
+
93
+
94
+ - **(html/minifier)** Use the latest `EsVersion` (#6453) ([7f6bf59](https://github.com/swc-project/swc/commit/7f6bf59a98710ce7964e99ab621a68dc729c021d))
95
+
96
+ ### Refactor
97
+
98
+
99
+
100
+ - **(bindings)** Deprecate `jsvalue::*_serde` (#6462) ([dd4b9e8](https://github.com/swc-project/swc/commit/dd4b9e87de93294ed402c357745a2e0d268b34ef))
101
+
102
+ ## [1.3.18] - 2022-11-16
103
+
104
+ ### Bug Fixes
105
+
106
+
107
+
8
108
  - **(es/minifier)** Fix code for dropping unreachable statements (#6429) ([bb544ba](https://github.com/swc-project/swc/commit/bb544ba2f58531e2cf984bbbaf2f819a1e4d8ada))
9
109
 
10
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.18",
3
+ "version": "1.3.20",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -141,16 +141,16 @@
141
141
  "url": "https://opencollective.com/swc"
142
142
  },
143
143
  "optionalDependencies": {
144
- "@swc/core-win32-x64-msvc": "1.3.18",
145
- "@swc/core-darwin-x64": "1.3.18",
146
- "@swc/core-linux-x64-gnu": "1.3.18",
147
- "@swc/core-linux-x64-musl": "1.3.18",
148
- "@swc/core-win32-ia32-msvc": "1.3.18",
149
- "@swc/core-linux-arm64-gnu": "1.3.18",
150
- "@swc/core-linux-arm-gnueabihf": "1.3.18",
151
- "@swc/core-darwin-arm64": "1.3.18",
152
- "@swc/core-linux-arm64-musl": "1.3.18",
153
- "@swc/core-win32-arm64-msvc": "1.3.18"
144
+ "@swc/core-win32-x64-msvc": "1.3.20",
145
+ "@swc/core-darwin-x64": "1.3.20",
146
+ "@swc/core-linux-x64-gnu": "1.3.20",
147
+ "@swc/core-linux-x64-musl": "1.3.20",
148
+ "@swc/core-win32-ia32-msvc": "1.3.20",
149
+ "@swc/core-linux-arm64-gnu": "1.3.20",
150
+ "@swc/core-linux-arm-gnueabihf": "1.3.20",
151
+ "@swc/core-darwin-arm64": "1.3.20",
152
+ "@swc/core-linux-arm64-musl": "1.3.20",
153
+ "@swc/core-win32-arm64-msvc": "1.3.20"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",