@swc/core 1.3.67 → 1.3.69

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 +85 -0
  2. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -5,6 +5,91 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/compat)** Visit children of `while` statement in the `generator` pass (#7624) ([d2ac2c1](https://github.com/swc-project/swc/commit/d2ac2c16a3d9067b3afa14ba6ae8745b553c6642))
9
+
10
+
11
+ - **(es/compat)** Fix loose mode of the `spread` pass (#7608) ([a7daa5b](https://github.com/swc-project/swc/commit/a7daa5b28e45c0b310850279433178bf75f0f5f0))
12
+
13
+
14
+ - **(es/minifier)** Don't drop unused properties of top-level vars (#7638) ([19ba714](https://github.com/swc-project/swc/commit/19ba714ea11d6e733cd46ed3ce6b851ddc972e5a))
15
+
16
+ ### Features
17
+
18
+
19
+
20
+ - **(es/preset-env)** Update compat data (#7630) ([7e9e84e](https://github.com/swc-project/swc/commit/7e9e84e2306941de591700d3c5f15da2d43236bb))
21
+
22
+ ### Miscellaneous Tasks
23
+
24
+
25
+
26
+ - **(es/parser)** Scope use of `lexical` to certain features (#7644) ([a961090](https://github.com/swc-project/swc/commit/a961090c9da5994ec83ad6ffca1074277d61431d))
27
+
28
+ ### Refactor
29
+
30
+
31
+
32
+ - **(bindings/node)** Remove unused `babelify` type (#7625) ([73c7769](https://github.com/swc-project/swc/commit/73c77694f11c2b98b6caca5fdd106390e3f82629))
33
+
34
+ ### Build
35
+
36
+
37
+
38
+ - **(cargo)** Update `rustc` to `2023-07-03` (#7623) ([b34f1ad](https://github.com/swc-project/swc/commit/b34f1adbcc0d9556872c05bb6c7a92b77332a924))
39
+
40
+ ## [1.3.68] - 2023-07-05
41
+
42
+ ### Bug Fixes
43
+
44
+
45
+
46
+ - **(css/modules)** Fix `:local` and `:global` (#7600) ([f0ab5b3](https://github.com/swc-project/swc/commit/f0ab5b39f79685023cfc9529bc60e96231ad18d7))
47
+
48
+
49
+ - **(es/compat)** Visit transformed expression in optional chaining pass (#7614) ([c087c82](https://github.com/swc-project/swc/commit/c087c82aa3131ecafa2e42cdef6ecfba6c80b9b8))
50
+
51
+
52
+ - **(es/fixer)** Don't change default decls to default expr exports (#7585) ([e272545](https://github.com/swc-project/swc/commit/e2725451aa507c18222c5f66cf0a5a049c92bd0b))
53
+
54
+
55
+ - **(es/minifier)** Add usage to inlined ident eagerly (#7597) ([4f866de](https://github.com/swc-project/swc/commit/4f866de8788558a4f9f3e3f889048136c7896ee3))
56
+
57
+
58
+ - **(es/parser)** Re-lex `<<` as two `<`-s if required (#7439) ([6850372](https://github.com/swc-project/swc/commit/68503726a78cfc37cd995eda69a3e8982b6fdf57))
59
+
60
+
61
+ - **(plugin/runner)** Disable wasi env cleanup (#7607) ([8209594](https://github.com/swc-project/swc/commit/8209594a8c11d2a65061763fef5d3a7780976f39))
62
+
63
+
64
+ - **(xml/codegen)** Fix wrong minification of spaces in a self-closing tag (#7595) ([769d651](https://github.com/swc-project/swc/commit/769d6516a50796e6642d6724e8472dd32d871612))
65
+
66
+ ### Features
67
+
68
+
69
+
70
+ - **(es/compat)** Implement transform for explicit resource management (#7376) ([bcd5a1d](https://github.com/swc-project/swc/commit/bcd5a1d6665bc6f4aaa857d1f88b0da82a6c4a04))
71
+
72
+
73
+ - **(es/minifier)** Drop unused properties (#7534) ([47d2edd](https://github.com/swc-project/swc/commit/47d2edd4dc448a611396006852f30e2b8de1c42c))
74
+
75
+
76
+ - **(es/minifier)** Compress common sub expressions in sequences (#7587) ([ff1ad95](https://github.com/swc-project/swc/commit/ff1ad95b59732282c014474609bbb405e0f9edb4))
77
+
78
+
79
+ - **(es/optimization)** Support `default` imports for const modules (#7604) ([ac02b84](https://github.com/swc-project/swc/commit/ac02b84918932f2d51840b4c4cef9adf460fce40))
80
+
81
+ ### Refactor
82
+
83
+
84
+
85
+ - **(es/compat)** Remove usage of `box_patterns` (#7613) ([0a26066](https://github.com/swc-project/swc/commit/0a26066b7b01d06a6d9e3df2ab7c7e47f4aa9e4c))
86
+
87
+ ## [1.3.67] - 2023-06-29
88
+
89
+ ### Bug Fixes
90
+
91
+
92
+
8
93
  - **(es/minifier)** Don't drop assignments to unused top-level variables (#7581) ([a685c88](https://github.com/swc-project/swc/commit/a685c88c61248e5bff98fb339a71b40b8fd4e528))
9
94
 
10
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.67",
3
+ "version": "1.3.69",
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.67",
149
- "@swc/core-darwin-x64": "1.3.67",
150
- "@swc/core-linux-x64-gnu": "1.3.67",
151
- "@swc/core-linux-x64-musl": "1.3.67",
152
- "@swc/core-win32-ia32-msvc": "1.3.67",
153
- "@swc/core-linux-arm64-gnu": "1.3.67",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.67",
155
- "@swc/core-darwin-arm64": "1.3.67",
156
- "@swc/core-linux-arm64-musl": "1.3.67",
157
- "@swc/core-win32-arm64-msvc": "1.3.67"
148
+ "@swc/core-win32-x64-msvc": "1.3.69",
149
+ "@swc/core-darwin-x64": "1.3.69",
150
+ "@swc/core-linux-x64-gnu": "1.3.69",
151
+ "@swc/core-linux-x64-musl": "1.3.69",
152
+ "@swc/core-win32-ia32-msvc": "1.3.69",
153
+ "@swc/core-linux-arm64-gnu": "1.3.69",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.69",
155
+ "@swc/core-darwin-arm64": "1.3.69",
156
+ "@swc/core-linux-arm64-musl": "1.3.69",
157
+ "@swc/core-win32-arm64-msvc": "1.3.69"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",