@swc/core 1.3.45 → 1.3.47

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 +32 -0
  2. package/package.json +18 -13
package/CHANGELOG.md CHANGED
@@ -5,6 +5,38 @@
5
5
 
6
6
 
7
7
 
8
+ - **(bindings/node)** Make peer dependency of helpers optional (#7216) ([e86d598](https://github.com/swc-project/swc/commit/e86d59882a6644a63e98094127694f27b3c1b5a4))
9
+
10
+
11
+ - **(es/compat)** Fix `finally` handling of `generator` (#7215) ([f5c62fb](https://github.com/swc-project/swc/commit/f5c62fbbf8ccbadec4daae4a2158b7b2fc707a2b))
12
+
13
+
14
+ - **(es/minifier)** Don't remove used var decl (#7200) ([73bc29e](https://github.com/swc-project/swc/commit/73bc29eeb0e0a758daff2ec9567d8949fb48fa50))
15
+
16
+
17
+ - **(es/testing)** Ensure that we call `fold_program` (#7222) ([e241201](https://github.com/swc-project/swc/commit/e241201bf76c3ae111d815dac7dbcc169d12dc25))
18
+
19
+
20
+ - **(es/typescript)** Fix computation of enum bits (#7219) ([29bf176](https://github.com/swc-project/swc/commit/29bf1760befc5acf56841f4c369016e296184bdb))
21
+
22
+ ### Features
23
+
24
+
25
+
26
+ - **(es)** Expose stage 3 decorator (#7220) ([a7a53c6](https://github.com/swc-project/swc/commit/a7a53c6208ae63a07b663049575f3b50f37d2f2a))
27
+
28
+ ### Refactor
29
+
30
+
31
+
32
+ - **(macros/ast-node)** Drop `darling` to reduce compile time (#7214) ([3f61638](https://github.com/swc-project/swc/commit/3f61638cbfb1acc9fa59fa68434a182ba8bcfb2a))
33
+
34
+ ## [1.3.45] - 2023-04-04
35
+
36
+ ### Bug Fixes
37
+
38
+
39
+
8
40
  - **(es)** Allow missing `.map` file (#7141) ([3e6a186](https://github.com/swc-project/swc/commit/3e6a1869e84ec01125cf115c3d5f5c5c89645e1a))
9
41
 
10
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.45",
3
+ "version": "1.3.47",
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
  "@babel/types": "^7.14.0",
94
94
  "@napi-rs/cli": "^2.14.1",
95
95
  "@swc/core": "=1.2.220",
96
- "@swc/helpers": "^0.4.2",
96
+ "@swc/helpers": "^0.5.0",
97
97
  "@swc/plugin-jest": "1.5.56",
98
98
  "@taplo/cli": "^0.3.2",
99
99
  "@types/jest": "^28.1.4",
@@ -134,23 +134,28 @@
134
134
  "typescript": "^4.5.2"
135
135
  },
136
136
  "peerDependencies": {
137
- "@swc/helpers": ">0.4.14 <0.5"
137
+ "@swc/helpers": "^0.5.0"
138
+ },
139
+ "peerDependenciesMeta": {
140
+ "@swc/helpers": {
141
+ "optional": true
142
+ }
138
143
  },
139
144
  "funding": {
140
145
  "type": "opencollective",
141
146
  "url": "https://opencollective.com/swc"
142
147
  },
143
148
  "optionalDependencies": {
144
- "@swc/core-win32-x64-msvc": "1.3.45",
145
- "@swc/core-darwin-x64": "1.3.45",
146
- "@swc/core-linux-x64-gnu": "1.3.45",
147
- "@swc/core-linux-x64-musl": "1.3.45",
148
- "@swc/core-win32-ia32-msvc": "1.3.45",
149
- "@swc/core-linux-arm64-gnu": "1.3.45",
150
- "@swc/core-linux-arm-gnueabihf": "1.3.45",
151
- "@swc/core-darwin-arm64": "1.3.45",
152
- "@swc/core-linux-arm64-musl": "1.3.45",
153
- "@swc/core-win32-arm64-msvc": "1.3.45"
149
+ "@swc/core-win32-x64-msvc": "1.3.47",
150
+ "@swc/core-darwin-x64": "1.3.47",
151
+ "@swc/core-linux-x64-gnu": "1.3.47",
152
+ "@swc/core-linux-x64-musl": "1.3.47",
153
+ "@swc/core-win32-ia32-msvc": "1.3.47",
154
+ "@swc/core-linux-arm64-gnu": "1.3.47",
155
+ "@swc/core-linux-arm-gnueabihf": "1.3.47",
156
+ "@swc/core-darwin-arm64": "1.3.47",
157
+ "@swc/core-linux-arm64-musl": "1.3.47",
158
+ "@swc/core-win32-arm64-msvc": "1.3.47"
154
159
  },
155
160
  "files": [
156
161
  "CHANGELOG.md",