@swc/core 1.3.19 → 1.3.21

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 +133 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,139 @@
5
5
 
6
6
 
7
7
 
8
+ - **(ci)** Fix publish action for binaries (#6517) ([2ac3201](https://github.com/swc-project/swc/commit/2ac32017bad112956a781b0d003782988655409c))
9
+
10
+
11
+ - **(es/minifier)** Don't drop used variables from sequential inliner (#6520) ([b394f9f](https://github.com/swc-project/swc/commit/b394f9f1d3efd24fd55b4ac5efdbaee91b9d8021))
12
+
13
+
14
+ - **(es/minifier)** Make sequential inliner respect resolution order (#6509) ([27ae59e](https://github.com/swc-project/swc/commit/27ae59e77bb8cb1f1d1dbbba3f8dec58359bc2ba))
15
+
16
+
17
+ - **(es/minifier)** Use unsafe option for arrow => method (#6521) ([9752b43](https://github.com/swc-project/swc/commit/9752b43f94313fe2902ad04e5b01b865e0180155))
18
+
19
+
20
+ - **(es/minifier)** Don't convert a signed integer literal key to a numeric literal (#6529) ([81224b5](https://github.com/swc-project/swc/commit/81224b5d67a92c7154a870f07f28d9802be2106e))
21
+
22
+
23
+ - **(html/parser)** Fix parsing of cdata (#6534) ([e3cbe7e](https://github.com/swc-project/swc/commit/e3cbe7e9a98149bfc05421a264d4e421fb543f7e))
24
+
25
+ ### Features
26
+
27
+
28
+
29
+ - **(common)** Add contexts to the error messages (#6526) ([b8fe04f](https://github.com/swc-project/swc/commit/b8fe04f720d81f2d4ef0778cbb345f64b9ec1956))
30
+
31
+
32
+ - **(es/parser)** Make error message helpful (#6535) ([cb15721](https://github.com/swc-project/swc/commit/cb157215d26e5acfe74f7592da011ab9d5206207))
33
+
34
+
35
+ - **(es/preset-env)** Update data (#6538) ([ae63220](https://github.com/swc-project/swc/commit/ae6322064d67bc24d65f560f699a2a554bbfdb37))
36
+
37
+
38
+ - **(xml/parser)** Parse cdata section (#6531) ([7f8c4e0](https://github.com/swc-project/swc/commit/7f8c4e04b246bef493a044f794ea1608f4550457))
39
+
40
+ ### Miscellaneous Tasks
41
+
42
+
43
+
44
+ - **(bindings)** Fix jemalloc on aarch64 (#6541) ([d56b5a8](https://github.com/swc-project/swc/commit/d56b5a890a69a9a9177eed2a955f2c959fd1eaa1))
45
+
46
+
47
+ - **(swc_core)** Reexport more modules (#6548) ([9b58cce](https://github.com/swc-project/swc/commit/9b58cce10bf5d313b6397c0366222c51db19eaca))
48
+
49
+ ### Performance
50
+
51
+
52
+
53
+ - **(common)** Fix perf bug of sourcemap for inputs with multi-byte chars (#6523) ([47908a4](https://github.com/swc-project/swc/commit/47908a49d3d773b7ffacf6ffa6e38c7e091101cb))
54
+
55
+ ### Refactor
56
+
57
+
58
+
59
+ - **(css/parser)** Canonicalize only if required (#6532) ([251e98c](https://github.com/swc-project/swc/commit/251e98c05576d0495647e93ae0fe179da7435db9))
60
+
61
+ ### Testing
62
+
63
+
64
+
65
+ - **(es/minifier)** Add tests for preserving top-level directives (#6545) ([8d8f150](https://github.com/swc-project/swc/commit/8d8f15079224de52482397c1a36b9b9575ba1464))
66
+
67
+
68
+ - **(es/transforms)** Add tests about preserving top-level directives (#6518) ([5ff87af](https://github.com/swc-project/swc/commit/5ff87afa78e5bb56f2b03678577279256c18e4da))
69
+
70
+
71
+ - **(es/typescript)** Migrate inline tests to fixture tests (#6546) ([cddbc41](https://github.com/swc-project/swc/commit/cddbc41430c524b126368a6989de3b2c88e5e713))
72
+
73
+
74
+ - **(ts/compat)** Migrate inline tests to fixture testing (#6475) ([cc4646a](https://github.com/swc-project/swc/commit/cc4646a4cc455c08680f7dedb344337f90f0c668))- **general**: Use correct extensions for fixture tests (#6539) ([7ee86d1](https://github.com/swc-project/swc/commit/7ee86d1d2579d861501a525cbc6ddd3669d4c25c))
75
+
76
+ ### Build
77
+
78
+
79
+
80
+ - **(cargo)** Update `browerslist-rs` (#6547) ([d730186](https://github.com/swc-project/swc/commit/d730186e9f49b9481b89b35121d7095e05781565))
81
+
82
+ ## [1.3.20] - 2022-11-26
83
+
84
+ ### Bug Fixes
85
+
86
+
87
+
88
+ - **(es/codegen)** Preserve parens for `new` in optional chaining (#6484) ([1ca281a](https://github.com/swc-project/swc/commit/1ca281a6cfdbdcb4b52e7617c5e843b8458a2299))
89
+
90
+
91
+ - **(es/minifier)** Preserve classes with side effects in static fields (#6480) ([8d906b4](https://github.com/swc-project/swc/commit/8d906b45e56d447792df59d5fdde5ee072e2bc80))
92
+
93
+
94
+ - **(es/react)** Allow spread children (#6505) ([90aa6c8](https://github.com/swc-project/swc/commit/90aa6c831890bf3978d9e6298a003e0652b27dce))
95
+
96
+
97
+ - **(es/visit)** Visit TypeScript satisfies expressions (#6511) ([0cee0e1](https://github.com/swc-project/swc/commit/0cee0e1af7f8c476fe3622e687e6b953aef8cd31))
98
+
99
+ ### Features
100
+
101
+
102
+
103
+ - **(es/codegen)** Skip whitespaces for comments in minify mode (#6465) ([08a9e21](https://github.com/swc-project/swc/commit/08a9e21b36a3fbb03d4b5ae621c94e76ae6ab54f))
104
+
105
+ ### Miscellaneous Tasks
106
+
107
+
108
+
109
+ - **(ci)** Reduce trigger scope for PRs (#6486) ([7fe091a](https://github.com/swc-project/swc/commit/7fe091af1f0fea7ec599edc080b00484ae15871f))
110
+
111
+
112
+ - **(ci)** Skip benchmark for forks (#6489) ([78af96e](https://github.com/swc-project/swc/commit/78af96e5078b5a5235d3210e110a130c4f864171))
113
+
114
+ ### Performance
115
+
116
+
117
+
118
+ - **(es/helpers)** Improve fast-path for helper detection (#6502) ([b3b5526](https://github.com/swc-project/swc/commit/b3b5526be4a7b5f85c2aea22f1ced0a9896730ed))
119
+
120
+ ### Refactor
121
+
122
+
123
+
124
+ - **(binding/wasm)** Use binding_macro (#6487) ([d957aac](https://github.com/swc-project/swc/commit/d957aac056bede3b813a413af49759a6ced61cb6))
125
+
126
+
127
+ - **(es)** Remove settings related to `privateInObject` (#6468) ([c57307d](https://github.com/swc-project/swc/commit/c57307d0029e9e52dc41411c4c727da221cdfadb))
128
+
129
+ ### Build
130
+
131
+
132
+
133
+ - **(publish)** Upload cli binaries to github release (#6495) ([4f8af16](https://github.com/swc-project/swc/commit/4f8af1615634fb32df94e5ab462d120a52ac251c))
134
+
135
+ ## [1.3.19] - 2022-11-20
136
+
137
+ ### Bug Fixes
138
+
139
+
140
+
8
141
  - **(es/compat)** Fix consecutive optional call (#6461) ([f7072db](https://github.com/swc-project/swc/commit/f7072dbb7eb768e2a4dad5aa9f2ac6c6bacf560e))
9
142
 
10
143
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.19",
3
+ "version": "1.3.21",
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.19",
145
- "@swc/core-darwin-x64": "1.3.19",
146
- "@swc/core-linux-x64-gnu": "1.3.19",
147
- "@swc/core-linux-x64-musl": "1.3.19",
148
- "@swc/core-win32-ia32-msvc": "1.3.19",
149
- "@swc/core-linux-arm64-gnu": "1.3.19",
150
- "@swc/core-linux-arm-gnueabihf": "1.3.19",
151
- "@swc/core-darwin-arm64": "1.3.19",
152
- "@swc/core-linux-arm64-musl": "1.3.19",
153
- "@swc/core-win32-arm64-msvc": "1.3.19"
144
+ "@swc/core-win32-x64-msvc": "1.3.21",
145
+ "@swc/core-darwin-x64": "1.3.21",
146
+ "@swc/core-linux-x64-gnu": "1.3.21",
147
+ "@swc/core-linux-x64-musl": "1.3.21",
148
+ "@swc/core-win32-ia32-msvc": "1.3.21",
149
+ "@swc/core-linux-arm64-gnu": "1.3.21",
150
+ "@swc/core-linux-arm-gnueabihf": "1.3.21",
151
+ "@swc/core-darwin-arm64": "1.3.21",
152
+ "@swc/core-linux-arm64-musl": "1.3.21",
153
+ "@swc/core-win32-arm64-msvc": "1.3.21"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",
@@ -173,5 +173,5 @@
173
173
  "postinstall.js",
174
174
  "bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
175
175
  ],
176
- "packageManager": "yarn@3.2.4"
176
+ "packageManager": "yarn@3.3.0"
177
177
  }