@swc/core 1.3.58 → 1.3.60
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 +103 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,109 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es)** Init filesystem cache only if plugin exists (#7436) ([786cf3a](https://github.com/swc-project/swc/commit/786cf3a10ffe5e2990c5473062ea42771b769124))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es)** Ignore input sourcemap error (#7446) ([0c92e53](https://github.com/swc-project/swc/commit/0c92e534a5e3ccc74077ac03c473ad2c12fd5349))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/compat)** Fix destructuring handling of `block_scoping` (#7425) ([66d52ec](https://github.com/swc-project/swc/commit/66d52ec849f3ed2b33db0a3738f5692cb8fa2400))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/compat)** Fix stage 3 decorator pass (#7392) ([97d0f79](https://github.com/swc-project/swc/commit/97d0f79142ec8ac6d1795b5c56cc565ca9b0a085))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/compat)** Fix variable scoping of object rest pass. (#7437) ([f3d660f](https://github.com/swc-project/swc/commit/f3d660f972a9fef7ee0783125655c4873a5d43fe))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/parser)** Reset class context (#7433) ([1cab43f](https://github.com/swc-project/swc/commit/1cab43f17deb35ef7e9a4b2c229327edc0f87756))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/parser)** Allow using `package` as a parameter name in interface (#7438) ([33a922b](https://github.com/swc-project/swc/commit/33a922b6f8c8362b46fe8547e9d327a4d82520a4))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/parser)** Fix parsing of tsx with a type annotation in a conditional expression (#7440) ([a37d59a](https://github.com/swc-project/swc/commit/a37d59a134b2a046b50bb5e70c694130227e0d9e))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/preset-env)** Fix pass ordering (#7434) ([2071f89](https://github.com/swc-project/swc/commit/2071f89d4eea7ae311b05457650e2f42c1b503ef))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(swc_core)** Correctly expose plugin with host (#7427) ([558ca40](https://github.com/swc-project/swc/commit/558ca40b99bd3e9ac9a1742223dd9d3ef84061cb))
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(plugin/runner)** Enable in-memory precompiled module cache (#7420) ([f8fe365](https://github.com/swc-project/swc/commit/f8fe365c3b888bbe49e011a616b6926c9ef24fa2))
|
|
42
|
+
|
|
43
|
+
### Refactor
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(plugin/runner)** Add attributes to the module bytes (#7419) ([c03a74c](https://github.com/swc-project/swc/commit/c03a74c19819cb0cfc8a47cd9b2c1e558355d40d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(swc_core)** Make `common_plugin_transform` agnostic to mode (#7422) ([cfdd407](https://github.com/swc-project/swc/commit/cfdd40789673eef32a9b9365456860a7cb511000))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(visit)** Reduce expanded LOCs (#7442) ([e83368e](https://github.com/swc-project/swc/commit/e83368e5744ebabab8537cb979a374ecbc2e7d95))
|
|
54
|
+
|
|
55
|
+
## [1.3.59] - 2023-05-19
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- **(common)** Disable `tracing/release_max_level_info` (#7401) ([95291f2](https://github.com/swc-project/swc/commit/95291f2c5daaf039623b4db4668a91104c0c0124))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- **(es/codegen)** Do not create duplicate source map entry (#7309) ([40ba242](https://github.com/swc-project/swc/commit/40ba242076f9c39cd19fe2a040fdf10867c67b9f))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(es/compat)** Mark reserved function names private (#7298) ([dba78a0](https://github.com/swc-project/swc/commit/dba78a0031b97a4c152b506ae2072438cdba92b2))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
- **(es/minifier)** Mark all function params as potential property mutation (#7409) ([5dbbbea](https://github.com/swc-project/swc/commit/5dbbbea2efb84e7f187859ba03fd548af92c613f))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(es/minifier)** Prevent inlining vars assigned outside current function scope (#7414) ([40d2bf7](https://github.com/swc-project/swc/commit/40d2bf7ec3ac58364a8389d2d2284c8089e74fae))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(es/parser)** Fix parsing of `module` identifier (#7400) ([1d3f320](https://github.com/swc-project/swc/commit/1d3f32056c7a63b327b2ccf6131479f851a2e870))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **(es/parser)** Fix parsing of `>` in typescript mode (#7407) ([57ad722](https://github.com/swc-project/swc/commit/57ad722d06084671ef18f4eb1dae53afbb737c3d))
|
|
80
|
+
|
|
81
|
+
### Miscellaneous Tasks
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(plugin)** Update `rkyv` to `v0.7.42` (#7397) ([3a0565f](https://github.com/swc-project/swc/commit/3a0565f3778648f2ae57043c8e1bf8c15832b61e))
|
|
86
|
+
|
|
87
|
+
### Refactor
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(plugin/runner)** Revise cache, module loading (#7408) ([ac5ab60](https://github.com/swc-project/swc/commit/ac5ab607c94d418dde0ceb4f303cb7d432551565))
|
|
92
|
+
|
|
93
|
+
### Testing
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
- **(css/module)** Add a test for a fixed issue (#7399) ([6b92eec](https://github.com/swc-project/swc/commit/6b92eecd398e94a8d58b6b5e49679f7977a17703))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- **(es/minifier)** Enable more terser tests (#7396) ([f9cdd74](https://github.com/swc-project/swc/commit/f9cdd741c288bee59aa9120b0a5c6f7ca284bd31))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **(es/parser)** Add a test for a fixed issue (#7398) ([eaba323](https://github.com/swc-project/swc/commit/eaba323581d2aa2b578c600f44f9b41b103d35b3))
|
|
104
|
+
|
|
105
|
+
## [1.3.58] - 2023-05-15
|
|
106
|
+
|
|
107
|
+
### Bug Fixes
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
8
111
|
- **(es/minifier)** Fix remapping of vars upon inlining (#7362) ([1dced17](https://github.com/swc-project/swc/commit/1dced17998a625e30d4a8ef653aef9e2caa7627d))
|
|
9
112
|
|
|
10
113
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.60",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
"url": "https://opencollective.com/swc"
|
|
146
146
|
},
|
|
147
147
|
"optionalDependencies": {
|
|
148
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
149
|
-
"@swc/core-darwin-x64": "1.3.
|
|
150
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
151
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
152
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
153
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
154
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
155
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
156
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
157
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
148
|
+
"@swc/core-win32-x64-msvc": "1.3.60",
|
|
149
|
+
"@swc/core-darwin-x64": "1.3.60",
|
|
150
|
+
"@swc/core-linux-x64-gnu": "1.3.60",
|
|
151
|
+
"@swc/core-linux-x64-musl": "1.3.60",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.60",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.60",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.60",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.60",
|
|
156
|
+
"@swc/core-linux-arm64-musl": "1.3.60",
|
|
157
|
+
"@swc/core-win32-arm64-msvc": "1.3.60"
|
|
158
158
|
},
|
|
159
159
|
"files": [
|
|
160
160
|
"CHANGELOG.md",
|