@swc/core 1.3.69 → 1.3.71

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 +76 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,82 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/modules)** Preserve attr selectors used with `:global` (#7670) ([11b4679](https://github.com/swc-project/swc/commit/11b4679231bdfa8662fdcb1dade4dc1146f8e11d))
9
+
10
+
11
+ - **(es/minifier)** Only cast global `Infinity`/`undefined`/`NaN` (#7684) ([241c04a](https://github.com/swc-project/swc/commit/241c04ab4a2e7e7f34563fdc8a355f82c6ba03e8))
12
+
13
+
14
+ - **(es/minifier)** Drop line comments starting with `!` (#7689) ([951138c](https://github.com/swc-project/swc/commit/951138cd13339ca7b5cb5305203e466fcd4a0b0e))
15
+
16
+
17
+ - **(es/minifier)** Abort seq inliner using visitor (#7699) ([a26dbce](https://github.com/swc-project/swc/commit/a26dbce9817c8f39c7d5857bb258298da274c6f3))
18
+
19
+
20
+ - **(es/typescript)** Fix handling of optional chaining (#7660) ([c017874](https://github.com/swc-project/swc/commit/c01787408522202f3c717c0ecfa8e00aedef9142))
21
+
22
+ ### Features
23
+
24
+
25
+
26
+ - **(css/parser)** Support `@starting-style` (#7677) ([cfb7b51](https://github.com/swc-project/swc/commit/cfb7b511eebe068b3c57f4540b90cb59c922d7e9))
27
+
28
+ ### Miscellaneous Tasks
29
+
30
+
31
+
32
+ - **(ci)** Fix CI (#7679) ([57398af](https://github.com/swc-project/swc/commit/57398af2708ebd72c489fa81b9573259b0a71d15))
33
+
34
+ ### Refactor
35
+
36
+
37
+
38
+ - **(es/minifier)** Respect `toplevel` and `module` options (#7671) ([9893bd2](https://github.com/swc-project/swc/commit/9893bd2d43de60978dd28c44c8e4032170b11987))
39
+
40
+
41
+ - **(es/minifier)** Respect top-level when invoking IIFE (#7690) ([bf72362](https://github.com/swc-project/swc/commit/bf723625b02204c4d2e9228d53ac53c9d41221a1))
42
+
43
+ ## [1.3.70] - 2023-07-18
44
+
45
+ ### Bug Fixes
46
+
47
+
48
+
49
+ - **(es/minifier)** Fix a bug about `eval` of name mangler (#7615) ([6be1f70](https://github.com/swc-project/swc/commit/6be1f7075d8d14cc56b05079ee134153ab65c6fc))
50
+
51
+
52
+ - **(es/minifier)** Do not reuse identifier used for import bindings (#7639) ([a65be14](https://github.com/swc-project/swc/commit/a65be14a00f41e9b0b4439c31b49febeefd1f845))
53
+
54
+
55
+ - **(es/module)** Skip CJS and AMD transformations for `Script` (#7661) ([a2d0408](https://github.com/swc-project/swc/commit/a2d040859790d10d445ba6b06e9fe88635d84c1b))
56
+
57
+ ### Features
58
+
59
+
60
+
61
+ - **(es/minifier)** Drop recursively used var declaration (#7649) ([04b0f6d](https://github.com/swc-project/swc/commit/04b0f6d8234bdcc34815a558c4c9eecf24c8e4e7))
62
+
63
+ ### Testing
64
+
65
+
66
+
67
+ - **(es)** Add a test for a unreproducible issue (#7656) ([c0e4805](https://github.com/swc-project/swc/commit/c0e480593f7af001eb329f088dc29ea3f0f8df58))
68
+
69
+
70
+ - **(es/modules)** Add a test for unreproducible issue (#7655) ([7528de1](https://github.com/swc-project/swc/commit/7528de189780cc6850fad2f744004353c8892a70))
71
+
72
+ ### Buiild
73
+
74
+
75
+
76
+ - **(bindings/wasm)** Fix Wasm build (#7666) ([dc5135f](https://github.com/swc-project/swc/commit/dc5135f43f5fe01ed36c1b40a5647b2f1c3277b4))
77
+
78
+ ## [1.3.69] - 2023-07-13
79
+
80
+ ### Bug Fixes
81
+
82
+
83
+
8
84
  - **(es/compat)** Visit children of `while` statement in the `generator` pass (#7624) ([d2ac2c1](https://github.com/swc-project/swc/commit/d2ac2c16a3d9067b3afa14ba6ae8745b553c6642))
9
85
 
10
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.69",
3
+ "version": "1.3.71",
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.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"
148
+ "@swc/core-win32-x64-msvc": "1.3.71",
149
+ "@swc/core-darwin-x64": "1.3.71",
150
+ "@swc/core-linux-x64-gnu": "1.3.71",
151
+ "@swc/core-linux-x64-musl": "1.3.71",
152
+ "@swc/core-win32-ia32-msvc": "1.3.71",
153
+ "@swc/core-linux-arm64-gnu": "1.3.71",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.71",
155
+ "@swc/core-darwin-arm64": "1.3.71",
156
+ "@swc/core-linux-arm64-musl": "1.3.71",
157
+ "@swc/core-win32-arm64-msvc": "1.3.71"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",