@swc/core 1.3.68 → 1.3.70

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 +73 -0
  2. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -5,6 +5,79 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/minifier)** Fix a bug about `eval` of name mangler (#7615) ([6be1f70](https://github.com/swc-project/swc/commit/6be1f7075d8d14cc56b05079ee134153ab65c6fc))
9
+
10
+
11
+ - **(es/minifier)** Do not reuse identifier used for import bindings (#7639) ([a65be14](https://github.com/swc-project/swc/commit/a65be14a00f41e9b0b4439c31b49febeefd1f845))
12
+
13
+
14
+ - **(es/module)** Skip CJS and AMD transformations for `Script` (#7661) ([a2d0408](https://github.com/swc-project/swc/commit/a2d040859790d10d445ba6b06e9fe88635d84c1b))
15
+
16
+ ### Features
17
+
18
+
19
+
20
+ - **(es/minifier)** Drop recursively used var declaration (#7649) ([04b0f6d](https://github.com/swc-project/swc/commit/04b0f6d8234bdcc34815a558c4c9eecf24c8e4e7))
21
+
22
+ ### Testing
23
+
24
+
25
+
26
+ - **(es)** Add a test for a unreproducible issue (#7656) ([c0e4805](https://github.com/swc-project/swc/commit/c0e480593f7af001eb329f088dc29ea3f0f8df58))
27
+
28
+
29
+ - **(es/modules)** Add a test for unreproducible issue (#7655) ([7528de1](https://github.com/swc-project/swc/commit/7528de189780cc6850fad2f744004353c8892a70))
30
+
31
+ ### Buiild
32
+
33
+
34
+
35
+ - **(bindings/wasm)** Fix Wasm build (#7666) ([dc5135f](https://github.com/swc-project/swc/commit/dc5135f43f5fe01ed36c1b40a5647b2f1c3277b4))
36
+
37
+ ## [1.3.69] - 2023-07-13
38
+
39
+ ### Bug Fixes
40
+
41
+
42
+
43
+ - **(es/compat)** Visit children of `while` statement in the `generator` pass (#7624) ([d2ac2c1](https://github.com/swc-project/swc/commit/d2ac2c16a3d9067b3afa14ba6ae8745b553c6642))
44
+
45
+
46
+ - **(es/compat)** Fix loose mode of the `spread` pass (#7608) ([a7daa5b](https://github.com/swc-project/swc/commit/a7daa5b28e45c0b310850279433178bf75f0f5f0))
47
+
48
+
49
+ - **(es/minifier)** Don't drop unused properties of top-level vars (#7638) ([19ba714](https://github.com/swc-project/swc/commit/19ba714ea11d6e733cd46ed3ce6b851ddc972e5a))
50
+
51
+ ### Features
52
+
53
+
54
+
55
+ - **(es/preset-env)** Update compat data (#7630) ([7e9e84e](https://github.com/swc-project/swc/commit/7e9e84e2306941de591700d3c5f15da2d43236bb))
56
+
57
+ ### Miscellaneous Tasks
58
+
59
+
60
+
61
+ - **(es/parser)** Scope use of `lexical` to certain features (#7644) ([a961090](https://github.com/swc-project/swc/commit/a961090c9da5994ec83ad6ffca1074277d61431d))
62
+
63
+ ### Refactor
64
+
65
+
66
+
67
+ - **(bindings/node)** Remove unused `babelify` type (#7625) ([73c7769](https://github.com/swc-project/swc/commit/73c77694f11c2b98b6caca5fdd106390e3f82629))
68
+
69
+ ### Build
70
+
71
+
72
+
73
+ - **(cargo)** Update `rustc` to `2023-07-03` (#7623) ([b34f1ad](https://github.com/swc-project/swc/commit/b34f1adbcc0d9556872c05bb6c7a92b77332a924))
74
+
75
+ ## [1.3.68] - 2023-07-05
76
+
77
+ ### Bug Fixes
78
+
79
+
80
+
8
81
  - **(css/modules)** Fix `:local` and `:global` (#7600) ([f0ab5b3](https://github.com/swc-project/swc/commit/f0ab5b39f79685023cfc9529bc60e96231ad18d7))
9
82
 
10
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.68",
3
+ "version": "1.3.70",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -80,7 +80,7 @@
80
80
  ]
81
81
  },
82
82
  "devDependencies": {
83
- "@babel/compat-data": "^7.17.0",
83
+ "@babel/compat-data": "^7.22.6",
84
84
  "@babel/core": "^7.13.16",
85
85
  "@babel/generator": "^7.18.13",
86
86
  "@babel/plugin-proposal-class-properties": "^7.13.0",
@@ -106,7 +106,7 @@
106
106
  "bootstrap": "^5.2.1",
107
107
  "class-validator": "^0.13.1",
108
108
  "core-js": "^2.6.11",
109
- "core-js-compat": "^3.21.1",
109
+ "core-js-compat": "^3.31.0",
110
110
  "cross-env": "^7.0.3",
111
111
  "cspell": "^5.12.3",
112
112
  "expect": "^27.4.2",
@@ -145,16 +145,16 @@
145
145
  "url": "https://opencollective.com/swc"
146
146
  },
147
147
  "optionalDependencies": {
148
- "@swc/core-win32-x64-msvc": "1.3.68",
149
- "@swc/core-darwin-x64": "1.3.68",
150
- "@swc/core-linux-x64-gnu": "1.3.68",
151
- "@swc/core-linux-x64-musl": "1.3.68",
152
- "@swc/core-win32-ia32-msvc": "1.3.68",
153
- "@swc/core-linux-arm64-gnu": "1.3.68",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.68",
155
- "@swc/core-darwin-arm64": "1.3.68",
156
- "@swc/core-linux-arm64-musl": "1.3.68",
157
- "@swc/core-win32-arm64-msvc": "1.3.68"
148
+ "@swc/core-win32-x64-msvc": "1.3.70",
149
+ "@swc/core-darwin-x64": "1.3.70",
150
+ "@swc/core-linux-x64-gnu": "1.3.70",
151
+ "@swc/core-linux-x64-musl": "1.3.70",
152
+ "@swc/core-win32-ia32-msvc": "1.3.70",
153
+ "@swc/core-linux-arm64-gnu": "1.3.70",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.70",
155
+ "@swc/core-darwin-arm64": "1.3.70",
156
+ "@swc/core-linux-arm64-musl": "1.3.70",
157
+ "@swc/core-win32-arm64-msvc": "1.3.70"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",