@swc/core 1.3.70 → 1.3.72

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 +70 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,76 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/compat)** Fix handling of private members in optional chaining pass (#7610) ([7ba7b6e](https://github.com/swc-project/swc/commit/7ba7b6ec1fd7170ef7a321a6bd4931984e1a08d4))
9
+
10
+
11
+ - **(es/minifier)** Do not drop used properties (#7702) ([f901b41](https://github.com/swc-project/swc/commit/f901b417d1a37f679ff4c5a54e81671684d9f485))
12
+
13
+
14
+ - **(es/module)** Do not determine module name for modules without exports in UMD (#7718) ([40136f7](https://github.com/swc-project/swc/commit/40136f7c54bdc347d5f725549a27e1104433ff36))
15
+
16
+ ### Features
17
+
18
+
19
+
20
+ - **(es)** Add a validation for a wrong config (#7704) ([900701f](https://github.com/swc-project/swc/commit/900701fbf24912dce219f97baa8c11c533966896))
21
+
22
+
23
+ - **(swc_core)** Expose `visit/serde` as serde feature (#7722) ([2bc9637](https://github.com/swc-project/swc/commit/2bc96373b736ce4d81336c1c0340a1d4f7d7f4b0))
24
+
25
+ ### Refactor
26
+
27
+
28
+
29
+ - **(es/parser)** Make `stacker` an optional dependency (#7720) ([864bdef](https://github.com/swc-project/swc/commit/864bdefbe0012ddbe93075c70f0b2b44577a5424))
30
+
31
+ ## [1.3.71] - 2023-07-25
32
+
33
+ ### Bug Fixes
34
+
35
+
36
+
37
+ - **(css/modules)** Preserve attr selectors used with `:global` (#7670) ([11b4679](https://github.com/swc-project/swc/commit/11b4679231bdfa8662fdcb1dade4dc1146f8e11d))
38
+
39
+
40
+ - **(es/minifier)** Only cast global `Infinity`/`undefined`/`NaN` (#7684) ([241c04a](https://github.com/swc-project/swc/commit/241c04ab4a2e7e7f34563fdc8a355f82c6ba03e8))
41
+
42
+
43
+ - **(es/minifier)** Drop line comments starting with `!` (#7689) ([951138c](https://github.com/swc-project/swc/commit/951138cd13339ca7b5cb5305203e466fcd4a0b0e))
44
+
45
+
46
+ - **(es/minifier)** Abort seq inliner using visitor (#7699) ([a26dbce](https://github.com/swc-project/swc/commit/a26dbce9817c8f39c7d5857bb258298da274c6f3))
47
+
48
+
49
+ - **(es/typescript)** Fix handling of optional chaining (#7660) ([c017874](https://github.com/swc-project/swc/commit/c01787408522202f3c717c0ecfa8e00aedef9142))
50
+
51
+ ### Features
52
+
53
+
54
+
55
+ - **(css/parser)** Support `@starting-style` (#7677) ([cfb7b51](https://github.com/swc-project/swc/commit/cfb7b511eebe068b3c57f4540b90cb59c922d7e9))
56
+
57
+ ### Miscellaneous Tasks
58
+
59
+
60
+
61
+ - **(ci)** Fix CI (#7679) ([57398af](https://github.com/swc-project/swc/commit/57398af2708ebd72c489fa81b9573259b0a71d15))
62
+
63
+ ### Refactor
64
+
65
+
66
+
67
+ - **(es/minifier)** Respect `toplevel` and `module` options (#7671) ([9893bd2](https://github.com/swc-project/swc/commit/9893bd2d43de60978dd28c44c8e4032170b11987))
68
+
69
+
70
+ - **(es/minifier)** Respect top-level when invoking IIFE (#7690) ([bf72362](https://github.com/swc-project/swc/commit/bf723625b02204c4d2e9228d53ac53c9d41221a1))
71
+
72
+ ## [1.3.70] - 2023-07-18
73
+
74
+ ### Bug Fixes
75
+
76
+
77
+
8
78
  - **(es/minifier)** Fix a bug about `eval` of name mangler (#7615) ([6be1f70](https://github.com/swc-project/swc/commit/6be1f7075d8d14cc56b05079ee134153ab65c6fc))
9
79
 
10
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.70",
3
+ "version": "1.3.72",
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.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"
148
+ "@swc/core-win32-x64-msvc": "1.3.72",
149
+ "@swc/core-darwin-x64": "1.3.72",
150
+ "@swc/core-linux-x64-gnu": "1.3.72",
151
+ "@swc/core-linux-x64-musl": "1.3.72",
152
+ "@swc/core-win32-ia32-msvc": "1.3.72",
153
+ "@swc/core-linux-arm64-gnu": "1.3.72",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.72",
155
+ "@swc/core-darwin-arm64": "1.3.72",
156
+ "@swc/core-linux-arm64-musl": "1.3.72",
157
+ "@swc/core-win32-arm64-msvc": "1.3.72"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",