@swc/core 1.3.26 → 1.3.28
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 +91 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,97 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/codegen)** Fix codegen of string literals with `\x000` (#6838) ([df70261](https://github.com/swc-project/swc/commit/df702614e1c23ee119d26beeb1b3abd454d7add0))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/minifier)** Don't inline into `await` from sequential inliner (#6839) ([21e1478](https://github.com/swc-project/swc/commit/21e14787c521cc1f808c9b71e8671820a79bd12f))
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Tasks
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(ci)** Make stale action to wait 30 days (#6828) ([1ef2347](https://github.com/swc-project/swc/commit/1ef2347bdf6901ea6d1e8629ba08611421d19c3e))
|
|
18
|
+
|
|
19
|
+
### Performance
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Make pure function check `O(1)` (#6840) ([58208ef](https://github.com/swc-project/swc/commit/58208ef8aee994591f05d996a8b660da6e96d681))
|
|
24
|
+
|
|
25
|
+
### Refactor
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/preset-env)** Use a const fn instead of a macro (#6844) ([2fcab36](https://github.com/swc-project/swc/commit/2fcab36418b7cf0869a1a256dc927d3ccdbe35cd))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/typescript)** Remove unused code (#6830) ([7205543](https://github.com/swc-project/swc/commit/7205543d5f58e2aaa8ef8ba0820c2f05726001d1))
|
|
33
|
+
|
|
34
|
+
## [1.3.27] - 2023-01-17
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
- **(es/codegen)** Skip space if jsx attrs is empty (#6823) ([e9fdac2](https://github.com/swc-project/swc/commit/e9fdac216c0a578f266a7a16000e2675d722068c))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(es/compat)** Ignore `this` in nested scopes in `classes` pass (#6796) ([07676d5](https://github.com/swc-project/swc/commit/07676d5515321c50206b3f0ea9f1473b6b2c3192))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
- **(es/plugin)** Fix starter template (#6815) ([38fb70c](https://github.com/swc-project/swc/commit/38fb70c237f122a8d8f8fdf187bd341326e39f22))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(es/renamer)** Handle rest params correctly (#6821) ([ebce18b](https://github.com/swc-project/swc/commit/ebce18b221c50dedba9e3a4078148473822be949))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- **(es/transform)** Apply `hygiene` and `resolver` if minify is specified (#6793) ([c145409](https://github.com/swc-project/swc/commit/c14540905f81e1c1677e7c9d723e71b1b6a9740b))
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **(css/parser)** Normalize at-rules (#6705) ([43e7519](https://github.com/swc-project/swc/commit/43e75194e546997d6524bbfb7f0a7ff531bb443f))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- **(es/ast)** Add `EsNext` to `EsVersion` (#6816) ([ff78b8f](https://github.com/swc-project/swc/commit/ff78b8f7e077bad599f9b740ca4e831f835a347b))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- **(es/helper)** Use `require` to load polyfills and helpers in Script (#6778) ([ad8d043](https://github.com/swc-project/swc/commit/ad8d043f1d75b2df5a5e2fe43fba1ec843d2fad4))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(es/minifier)** Remove noop spreads (#6803) ([8f683e3](https://github.com/swc-project/swc/commit/8f683e3f77fe9f4fd84a5bf64c067ae9526fb330))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
- **(es/quote)** Allow using `Str` as a var (#6797) ([224eff9](https://github.com/swc-project/swc/commit/224eff91eb06808e2c79bb4fbe06ccf46121758f))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(es/renamer)** Support `safari10` from the name mangler (#6801) ([631dd78](https://github.com/swc-project/swc/commit/631dd7872b78b8698bb4923c1e81a9a8770c1fea))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(es/renamer)** Rename synthesized identifiers even on `eval` (#6818) ([82bd5c2](https://github.com/swc-project/swc/commit/82bd5c2041ba95f6d0260e03c446496b7eb37cb4))
|
|
77
|
+
|
|
78
|
+
### Testing
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
- **(es)** Enable execution tests for fixed issues (#6805) ([e7ea054](https://github.com/swc-project/swc/commit/e7ea054c6389b43b0e7b104e9337e11a82bb23f7))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(es/compat)** Add a test to verify parameters passs (#6792) ([7dc5ccb](https://github.com/swc-project/swc/commit/7dc5ccb0fc217abdb7ab4e76ac7f646c5087b3a8))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
- **(es/minifier)** Add a test for an invalid issue (#6802) ([a299fd0](https://github.com/swc-project/swc/commit/a299fd04180c77a97817d9e817b247efa1973e06))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(es/preset-env)** Add a test for a wrong issue (#6794) ([b29aa5b](https://github.com/swc-project/swc/commit/b29aa5b5a0d4f78795eaf3784c84a18ba1b88bfa))
|
|
92
|
+
|
|
93
|
+
## [1.3.26] - 2023-01-11
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
8
99
|
- **(common)** Mark `\r` as a line ending (#6752) ([26a0c13](https://github.com/swc-project/swc/commit/26a0c135896098e1e1a8fbb99a623311828af5b2))
|
|
9
100
|
|
|
10
101
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.28",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -138,16 +138,16 @@
|
|
|
138
138
|
"url": "https://opencollective.com/swc"
|
|
139
139
|
},
|
|
140
140
|
"optionalDependencies": {
|
|
141
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
142
|
-
"@swc/core-darwin-x64": "1.3.
|
|
143
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
144
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
145
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
146
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
147
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
148
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
149
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
150
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
141
|
+
"@swc/core-win32-x64-msvc": "1.3.28",
|
|
142
|
+
"@swc/core-darwin-x64": "1.3.28",
|
|
143
|
+
"@swc/core-linux-x64-gnu": "1.3.28",
|
|
144
|
+
"@swc/core-linux-x64-musl": "1.3.28",
|
|
145
|
+
"@swc/core-win32-ia32-msvc": "1.3.28",
|
|
146
|
+
"@swc/core-linux-arm64-gnu": "1.3.28",
|
|
147
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.28",
|
|
148
|
+
"@swc/core-darwin-arm64": "1.3.28",
|
|
149
|
+
"@swc/core-linux-arm64-musl": "1.3.28",
|
|
150
|
+
"@swc/core-win32-arm64-msvc": "1.3.28"
|
|
151
151
|
},
|
|
152
152
|
"files": [
|
|
153
153
|
"CHANGELOG.md",
|