@swc/core 1.2.179 → 1.2.181
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.
- package/CHANGELOG.md +79 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,85 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/minifier)** Fix handling of `NaN` (#4593) ([dd09cdf](https://github.com/swc-project/swc/commit/dd09cdf8b12d53aa6060e14857fa3efeddf41334))
|
|
9
|
+
|
|
10
|
+
## [1.2.180] - 2022-05-09
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
- **(es)** Use `unresolved_mark` (#4573) ([0868409](https://github.com/swc-project/swc/commit/086840956d696816c694fc2fd96258351aab9573))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
- **(es/minifier)** Improve sequential inliner (#4570) ([af368ee](https://github.com/swc-project/swc/commit/af368eead2529c3340e985acddf2948af44aba2e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
- **(es/minifier)** Preserve more identifiers if `eval` or `with` exists (#4580) ([e43689b](https://github.com/swc-project/swc/commit/e43689b7d58354bf2847cb47bfc82eb208d5b5e6))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
- **(es/minifier)** Don't create an invalid labeled statement (#4581) ([7e80c10](https://github.com/swc-project/swc/commit/7e80c10cba50a8a1f74875ba8a90c4f282b33fc0))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
- **(es/minifier)** Unwrap blocks more carefully (#4586) ([8db3442](https://github.com/swc-project/swc/commit/8db3442216e84b0535fa2884208e19020f22ec19))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- **(es/minifier)** Consider more aliases in sequences pass (#4583) ([3521ce0](https://github.com/swc-project/swc/commit/3521ce09e7a2c3168f17491196f6fbc835637380))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- **(es/resolver)** Fix handling of a complex try catch (#4574) ([9e79f9c](https://github.com/swc-project/swc/commit/9e79f9ced697df4aba51219ce4759238a53c11e3))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- **(es/resolver)** Fix more try catch issues (#4582) ([56c3010](https://github.com/swc-project/swc/commit/56c3010f6ba0cdebf4a1631c4ad54e10584c0422))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
- **(html/parser)** Add recovery for attributes on html and body (#4566) ([c7d20e4](https://github.com/swc-project/swc/commit/c7d20e43e63cb2c45cd589e3c72811575fca2f07))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(node)** Use `jemallocator` on linux (#4591) ([af91094](https://github.com/swc-project/swc/commit/af91094b2db0809f02e6f0a6f07b021d12aa1512))
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(config)** Make all configuration overridable (#4575) ([7fc9bbc](https://github.com/swc-project/swc/commit/7fc9bbccd9ce867d9851cb3518501509b5a3f97e))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- **(es/ast)** Add methods for parens (#4576) ([55d0ee6](https://github.com/swc-project/swc/commit/55d0ee6cba32d3a9d15cdb5485fb65a84bebe123))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(html/parser)** Parse document fragment (#4579) ([a34dea1](https://github.com/swc-project/swc/commit/a34dea11d0425dde75c45b6ba16682cc4df087a8))
|
|
56
|
+
|
|
57
|
+
### Miscellaneous Tasks
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- **(ci)** Improve CI scripts (#4572) ([f23c943](https://github.com/swc-project/swc/commit/f23c943227e8438dabeaa951bab552cd3d076e41))
|
|
62
|
+
|
|
63
|
+
### Refactor
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(html/parser)** Resolve TODO (#4577) ([4cc247f](https://github.com/swc-project/swc/commit/4cc247f39f53ee2c4183c3881c3b686a109a3419))
|
|
68
|
+
|
|
69
|
+
### Testing
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(es/minifier)** Fix test system (#4571) ([bf5ee01](https://github.com/swc-project/swc/commit/bf5ee018b3d2cbf235b48e2325374f3ec545703a))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(html/parser)** Add tests (#4565) ([adbce64](https://github.com/swc-project/swc/commit/adbce64f28ba72f73de375b91d72382d98362824))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **(html/parser)** Improve script on/off tests (#4564) ([4838267](https://github.com/swc-project/swc/commit/4838267015d19299f09e90efc2e41d22502be390))
|
|
80
|
+
|
|
81
|
+
## [1.2.179] - 2022-05-08
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
8
87
|
- **(es/minifier)** Distinguish `raw` and `cooked` while joining template literals (#4559) ([f9b6016](https://github.com/swc-project/swc/commit/f9b6016d4b990032505c0dbb5b5bf82949c7d74d))
|
|
9
88
|
|
|
10
89
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.181",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -134,18 +134,18 @@
|
|
|
134
134
|
"url": "https://opencollective.com/swc"
|
|
135
135
|
},
|
|
136
136
|
"optionalDependencies": {
|
|
137
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
138
|
-
"@swc/core-darwin-x64": "1.2.
|
|
139
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
140
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
141
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
142
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
143
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
144
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
145
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
146
|
-
"@swc/core-android-arm64": "1.2.
|
|
147
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
148
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
149
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
137
|
+
"@swc/core-win32-x64-msvc": "1.2.181",
|
|
138
|
+
"@swc/core-darwin-x64": "1.2.181",
|
|
139
|
+
"@swc/core-linux-x64-gnu": "1.2.181",
|
|
140
|
+
"@swc/core-linux-x64-musl": "1.2.181",
|
|
141
|
+
"@swc/core-freebsd-x64": "1.2.181",
|
|
142
|
+
"@swc/core-win32-ia32-msvc": "1.2.181",
|
|
143
|
+
"@swc/core-linux-arm64-gnu": "1.2.181",
|
|
144
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.181",
|
|
145
|
+
"@swc/core-darwin-arm64": "1.2.181",
|
|
146
|
+
"@swc/core-android-arm64": "1.2.181",
|
|
147
|
+
"@swc/core-linux-arm64-musl": "1.2.181",
|
|
148
|
+
"@swc/core-win32-arm64-msvc": "1.2.181",
|
|
149
|
+
"@swc/core-android-arm-eabi": "1.2.181"
|
|
150
150
|
}
|
|
151
151
|
}
|