@swc/core 1.3.57 → 1.3.59

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 +94 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,100 @@
5
5
 
6
6
 
7
7
 
8
+ - **(common)** Disable `tracing/release_max_level_info` (#7401) ([95291f2](https://github.com/swc-project/swc/commit/95291f2c5daaf039623b4db4668a91104c0c0124))
9
+
10
+
11
+ - **(es/codegen)** Do not create duplicate source map entry (#7309) ([40ba242](https://github.com/swc-project/swc/commit/40ba242076f9c39cd19fe2a040fdf10867c67b9f))
12
+
13
+
14
+ - **(es/compat)** Mark reserved function names private (#7298) ([dba78a0](https://github.com/swc-project/swc/commit/dba78a0031b97a4c152b506ae2072438cdba92b2))
15
+
16
+
17
+ - **(es/minifier)** Mark all function params as potential property mutation (#7409) ([5dbbbea](https://github.com/swc-project/swc/commit/5dbbbea2efb84e7f187859ba03fd548af92c613f))
18
+
19
+
20
+ - **(es/minifier)** Prevent inlining vars assigned outside current function scope (#7414) ([40d2bf7](https://github.com/swc-project/swc/commit/40d2bf7ec3ac58364a8389d2d2284c8089e74fae))
21
+
22
+
23
+ - **(es/parser)** Fix parsing of `module` identifier (#7400) ([1d3f320](https://github.com/swc-project/swc/commit/1d3f32056c7a63b327b2ccf6131479f851a2e870))
24
+
25
+
26
+ - **(es/parser)** Fix parsing of `>` in typescript mode (#7407) ([57ad722](https://github.com/swc-project/swc/commit/57ad722d06084671ef18f4eb1dae53afbb737c3d))
27
+
28
+ ### Miscellaneous Tasks
29
+
30
+
31
+
32
+ - **(plugin)** Update `rkyv` to `v0.7.42` (#7397) ([3a0565f](https://github.com/swc-project/swc/commit/3a0565f3778648f2ae57043c8e1bf8c15832b61e))
33
+
34
+ ### Refactor
35
+
36
+
37
+
38
+ - **(plugin/runner)** Revise cache, module loading (#7408) ([ac5ab60](https://github.com/swc-project/swc/commit/ac5ab607c94d418dde0ceb4f303cb7d432551565))
39
+
40
+ ### Testing
41
+
42
+
43
+
44
+ - **(css/module)** Add a test for a fixed issue (#7399) ([6b92eec](https://github.com/swc-project/swc/commit/6b92eecd398e94a8d58b6b5e49679f7977a17703))
45
+
46
+
47
+ - **(es/minifier)** Enable more terser tests (#7396) ([f9cdd74](https://github.com/swc-project/swc/commit/f9cdd741c288bee59aa9120b0a5c6f7ca284bd31))
48
+
49
+
50
+ - **(es/parser)** Add a test for a fixed issue (#7398) ([eaba323](https://github.com/swc-project/swc/commit/eaba323581d2aa2b578c600f44f9b41b103d35b3))
51
+
52
+ ## [1.3.58] - 2023-05-15
53
+
54
+ ### Bug Fixes
55
+
56
+
57
+
58
+ - **(es/minifier)** Fix remapping of vars upon inlining (#7362) ([1dced17](https://github.com/swc-project/swc/commit/1dced17998a625e30d4a8ef653aef9e2caa7627d))
59
+
60
+
61
+ - **(es/parser)** Fix `>=` with type instantiate (#7388) ([fa7a352](https://github.com/swc-project/swc/commit/fa7a3521f531caa32439fa6f4c338a2a7d859e05))
62
+
63
+ ### Features
64
+
65
+
66
+
67
+ - **(es/compat)** Partially support auto accessors (#7364) ([97ec259](https://github.com/swc-project/swc/commit/97ec25914451d931918287591d8d3f08648a65b9))
68
+
69
+
70
+ - **(es/compat)** Implement auto accessors fully (#7370) ([cad18fa](https://github.com/swc-project/swc/commit/cad18fae4b93a916ad2c45b8741e08baeea78b98))
71
+
72
+
73
+ - **(es/parser)** Implement explicit resource management (#7322) ([041b491](https://github.com/swc-project/swc/commit/041b49146627000971ef05f60e11f916182c67f1))
74
+
75
+
76
+ - **(plugin)** Add versioned wrapper struct (#7382) ([bba1fad](https://github.com/swc-project/swc/commit/bba1fad35ceda0011e0cd427c670209ac4eb6ed2))
77
+
78
+
79
+ - **(swc_core)** Allow native env plugin to use memory cache (#7390) ([e3868a7](https://github.com/swc-project/swc/commit/e3868a7e00bfb5d7a4677b8be0b64a87e9bf200d))
80
+
81
+
82
+ - **(swc_core)** Expose plugin proxy to the host env (#7391) ([05b4c11](https://github.com/swc-project/swc/commit/05b4c1149781ab1f69a93a54a462413af2603a3a))
83
+
84
+ ### Miscellaneous Tasks
85
+
86
+
87
+
88
+ - **(es)** Enable tracing spans for release builds (#7379) ([166e77c](https://github.com/swc-project/swc/commit/166e77c2b39b4390bb09f3a93f58148a5de40efa))
89
+
90
+ ### Refactor
91
+
92
+
93
+
94
+ - **(common)** Derive `ByteCheck` for `ArcString` (#7380) ([9b3a41c](https://github.com/swc-project/swc/commit/9b3a41c57df4ead8e64c33ee247e8cd029792b16))
95
+
96
+ ## [1.3.57] - 2023-05-09
97
+
98
+ ### Bug Fixes
99
+
100
+
101
+
8
102
  - **(es/compat)** Fix `is_setter` in `parameters` pass (#7348) ([e0de83e](https://github.com/swc-project/swc/commit/e0de83e862f7de765ba804e8c31a16660d7186b5))
9
103
 
10
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.57",
3
+ "version": "1.3.59",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -93,7 +93,7 @@
93
93
  "@napi-rs/cli": "^2.14.1",
94
94
  "@swc/core": "=1.2.220",
95
95
  "@swc/helpers": "^0.5.0",
96
- "@swc/plugin-jest": "1.5.59",
96
+ "@swc/plugin-jest": "latest",
97
97
  "@taplo/cli": "^0.3.2",
98
98
  "@types/jest": "^28.1.4",
99
99
  "@types/node": "^14.14.41",
@@ -145,16 +145,16 @@
145
145
  "url": "https://opencollective.com/swc"
146
146
  },
147
147
  "optionalDependencies": {
148
- "@swc/core-win32-x64-msvc": "1.3.57",
149
- "@swc/core-darwin-x64": "1.3.57",
150
- "@swc/core-linux-x64-gnu": "1.3.57",
151
- "@swc/core-linux-x64-musl": "1.3.57",
152
- "@swc/core-win32-ia32-msvc": "1.3.57",
153
- "@swc/core-linux-arm64-gnu": "1.3.57",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.57",
155
- "@swc/core-darwin-arm64": "1.3.57",
156
- "@swc/core-linux-arm64-musl": "1.3.57",
157
- "@swc/core-win32-arm64-msvc": "1.3.57"
148
+ "@swc/core-win32-x64-msvc": "1.3.59",
149
+ "@swc/core-darwin-x64": "1.3.59",
150
+ "@swc/core-linux-x64-gnu": "1.3.59",
151
+ "@swc/core-linux-x64-musl": "1.3.59",
152
+ "@swc/core-win32-ia32-msvc": "1.3.59",
153
+ "@swc/core-linux-arm64-gnu": "1.3.59",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.59",
155
+ "@swc/core-darwin-arm64": "1.3.59",
156
+ "@swc/core-linux-arm64-musl": "1.3.59",
157
+ "@swc/core-win32-arm64-msvc": "1.3.59"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",