@swc/core 1.2.244 → 1.2.245

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 +80 -0
  2. package/README.md +1 -1
  3. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -5,6 +5,86 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/minifier)** Don't compress `none` for keyframes (#5663) ([4a5e347](https://github.com/swc-project/swc/commit/4a5e347a8a7949aa35cf73a0a94cbb7350380fa1))
9
+
10
+
11
+ - **(css/parser)** Improve parsing of media queries (#5567) ([5c28d00](https://github.com/swc-project/swc/commit/5c28d00516c38200e1d29f5f142318d43e8de735))
12
+
13
+
14
+ - **(es/codegen)** Emit trailing semicolon (#5659) ([537449e](https://github.com/swc-project/swc/commit/537449e53b9af268e497f6d3b23e137ec9bbf522))
15
+
16
+
17
+ - **(es/compat)** Fix evaluation order of computed class keys (#5621) ([d18ee54](https://github.com/swc-project/swc/commit/d18ee54aef2476e27375da9b1a05396584eade02))
18
+
19
+
20
+ - **(es/fixer)** Handle `async` in the left of `for of` (#5625) ([eb3b0e9](https://github.com/swc-project/swc/commit/eb3b0e96e5de2dadb8021e459d2915d68dfba708))
21
+
22
+
23
+ - **(es/minifier)** Improve alias analyzer (#5500) ([00e635b](https://github.com/swc-project/swc/commit/00e635b9eaf6f66ffd2ca0bbbc454dbbf37d668f))
24
+
25
+
26
+ - **(es/minifier)** Revert alias analyzer work (#5634) ([d44bbff](https://github.com/swc-project/swc/commit/d44bbffa02a620d1daf3f7a61b410adc0818d69c))
27
+
28
+
29
+ - **(es/minifier)** Fix alias analyzer (#5639) ([a06e6e9](https://github.com/swc-project/swc/commit/a06e6e9ce5c8628e75c19619d003ceb623b4a5e3))
30
+
31
+
32
+ - **(es/minifier)** Fix optimization of template literals with escape (#5650) ([100f359](https://github.com/swc-project/swc/commit/100f359e5ddb49e3a7df039aba1c2caa71534ba4))
33
+
34
+
35
+ - **(es/parser)** Handle more `TS2406` errors (#5640) ([838438d](https://github.com/swc-project/swc/commit/838438dc9d090402756ecc038b5b091f51dada66))
36
+
37
+ ### Documentation
38
+
39
+
40
+
41
+ - **(rustdoc)** Document rust APIs (#5647) ([488562b](https://github.com/swc-project/swc/commit/488562baacf45a0b1c8510bed6428991effe7914))
42
+
43
+ ### Features
44
+
45
+
46
+
47
+ - **(css)** Support forgiving selector (#5539) ([e2aca46](https://github.com/swc-project/swc/commit/e2aca468897a57401bee6a604aeeddb91ea7b8e9))
48
+
49
+
50
+ - **(es)** Improve APIs for plugin authors (#5632) ([e8edb67](https://github.com/swc-project/swc/commit/e8edb67def8bf88dda610a2d8cc405ad36cd5b52))
51
+
52
+
53
+ - **(es/minifier)** Improve gzipped size (#5631) ([d81fe67](https://github.com/swc-project/swc/commit/d81fe67e4b0ef655c3223b17ba44d1d845a8fd96))
54
+
55
+
56
+ - **(es/minifier)** Remove redundant check (#5664) ([d43334e](https://github.com/swc-project/swc/commit/d43334eb927a0a432c5518ddf5d7b31a8f1e6e9a))
57
+
58
+
59
+ - **(es/parser)** Handle `async` in `for...of` (#5646) ([0f0d1db](https://github.com/swc-project/swc/commit/0f0d1db3013b5dda88e4e73bfd335c8f7e3ad840))
60
+
61
+ ### Miscellaneous Tasks
62
+ - **general**: Update download count image url ([7c554fc](https://github.com/swc-project/swc/commit/7c554fcc61b5b1123f6838f65e0a2a23228174c4))
63
+
64
+ ### Performance
65
+
66
+
67
+
68
+ - **(es/lexer)** Improve keyword tokenizer (#5658) ([6c2c258](https://github.com/swc-project/swc/commit/6c2c2587ffebc9c7be4efea7b9567f61e8fbd40c))
69
+
70
+ ### Testing
71
+
72
+
73
+
74
+ - **(es/transforms)** Enable tests for resolved issues (#5651) ([efd6a36](https://github.com/swc-project/swc/commit/efd6a3603c280a12a76eb14994cb0caa0ef38479))
75
+
76
+
77
+ - **(es/transforms)** Add tests for fixed issues (#5655) ([2cddb24](https://github.com/swc-project/swc/commit/2cddb240c96790ef4c04b3d2bd3432d8d9c25a11))
78
+
79
+
80
+ - **(es/transforms)** Respect directives in tsc tests (#5648) ([095cbf1](https://github.com/swc-project/swc/commit/095cbf1b4ffef7f89bc8897b6103ed98457ae58c))
81
+
82
+ ## [1.2.244] - 2022-08-26
83
+
84
+ ### Bug Fixes
85
+
86
+
87
+
8
88
  - **(es/compat)** Ignore invalid class method names (#5612) ([1181d0f](https://github.com/swc-project/swc/commit/1181d0ffe2b432a202398dfc99dcc89da7480b84))
9
89
 
10
90
 
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  <p align="center">
12
12
  <a href="https://www.npmjs.com/package/@swc/core">
13
- <img alt="npm Downloads" src="https://img.shields.io/npm/dm/@swc/core">
13
+ <img alt="npm Downloads" src="https://img.shields.io/npm/dm/@swc/helpers">
14
14
  </a>
15
15
  <a href="https://crates.io/crates/swc_ecma_parser">
16
16
  <img alt="undefined" src="https://img.shields.io/crates/d/swc_ecma_parser.svg?label=crates.io%20downloads">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.244",
3
+ "version": "1.2.245",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -138,19 +138,19 @@
138
138
  "url": "https://opencollective.com/swc"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@swc/core-win32-x64-msvc": "1.2.244",
142
- "@swc/core-darwin-x64": "1.2.244",
143
- "@swc/core-linux-x64-gnu": "1.2.244",
144
- "@swc/core-linux-x64-musl": "1.2.244",
145
- "@swc/core-freebsd-x64": "1.2.244",
146
- "@swc/core-win32-ia32-msvc": "1.2.244",
147
- "@swc/core-linux-arm64-gnu": "1.2.244",
148
- "@swc/core-linux-arm-gnueabihf": "1.2.244",
149
- "@swc/core-darwin-arm64": "1.2.244",
150
- "@swc/core-android-arm64": "1.2.244",
151
- "@swc/core-linux-arm64-musl": "1.2.244",
152
- "@swc/core-win32-arm64-msvc": "1.2.244",
153
- "@swc/core-android-arm-eabi": "1.2.244"
141
+ "@swc/core-win32-x64-msvc": "1.2.245",
142
+ "@swc/core-darwin-x64": "1.2.245",
143
+ "@swc/core-linux-x64-gnu": "1.2.245",
144
+ "@swc/core-linux-x64-musl": "1.2.245",
145
+ "@swc/core-freebsd-x64": "1.2.245",
146
+ "@swc/core-win32-ia32-msvc": "1.2.245",
147
+ "@swc/core-linux-arm64-gnu": "1.2.245",
148
+ "@swc/core-linux-arm-gnueabihf": "1.2.245",
149
+ "@swc/core-darwin-arm64": "1.2.245",
150
+ "@swc/core-android-arm64": "1.2.245",
151
+ "@swc/core-linux-arm64-musl": "1.2.245",
152
+ "@swc/core-win32-arm64-msvc": "1.2.245",
153
+ "@swc/core-android-arm-eabi": "1.2.245"
154
154
  },
155
155
  "files": [
156
156
  "CHANGELOG.md",