@swc/core 1.3.97-nightly-20231109.1 → 1.3.99
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.
- package/CHANGELOG.md +120 -162
- package/package.json +11 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
-
## [
|
|
2
|
+
## [1.3.98] - 2023-11-21
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- **(es/codegen)** Check for trailing comments while emitting an arrow ([#8257](https://github.com/swc-project/swc/issues/8257)) ([0faa2c4](https://github.com/swc-project/swc/commit/0faa2c4a013abf71b5689279b454f86586d21c93))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/codegen)** Fix codegen of type args of an import type and a type query ([#8296](https://github.com/swc-project/swc/issues/8296)) ([369fb21](https://github.com/swc-project/swc/commit/369fb21e220a26ac1cbfe64846f759ac576d2c6e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/codegen)** Fix `get_ascii_only_ident` ([#8287](https://github.com/swc-project/swc/issues/8287)) ([07c8935](https://github.com/swc-project/swc/commit/07c8935904122191b4dad141e6fe164298f46af9))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/decorators)** Minimize class declarations transformation ([#8245](https://github.com/swc-project/swc/issues/8245)) ([6992d83](https://github.com/swc-project/swc/commit/6992d83d09a7ad4c18e1dbd8389e26cc13ce0f6c))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Use `cooked` while converting tpls into strings ([#8248](https://github.com/swc-project/swc/issues/8248)) ([be748f0](https://github.com/swc-project/swc/commit/be748f0f33bda76a1ae4a4acd586213adfe7b2aa))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Enable seq inliner for const declarations ([#8255](https://github.com/swc-project/swc/issues/8255)) ([ebcd825](https://github.com/swc-project/swc/commit/ebcd8252253d2b5169ea03ec19ee4a76d3ca22c3))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/minifier)** Keep class with a static block ([#8283](https://github.com/swc-project/swc/issues/8283)) ([20fb5ba](https://github.com/swc-project/swc/commit/20fb5bab32a1e428af5e9e2203d3982d3a7ddcf3))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/minifier)** Respect `pure_funcs` for tagged tpls ([#8280](https://github.com/swc-project/swc/issues/8280)) ([1ccfc07](https://github.com/swc-project/swc/commit/1ccfc0762cdc2895d013e7730eda24d81ce53501))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/minifier)** Make `Finalizer` inline literals ([#8285](https://github.com/swc-project/swc/issues/8285)) ([73fec94](https://github.com/swc-project/swc/commit/73fec945b5b64845308ab03bea639b53e4ff021e))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/minifier)** Remove hack for built-in class names ([#8293](https://github.com/swc-project/swc/issues/8293)) ([7985e02](https://github.com/swc-project/swc/commit/7985e02fc8cf519572650ad026dba649af48d7a5))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/minifier)** Apply new `SyntaxContext` to inlined `Arrow` ([#8301](https://github.com/swc-project/swc/issues/8301)) ([c18a959](https://github.com/swc-project/swc/commit/c18a959e3a53c52c05672297a39f6eb628a076a0))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Apply new `SyntaxContext` to inlined `Arrow` correctly ([#8312](https://github.com/swc-project/swc/issues/8312)) ([572ad63](https://github.com/swc-project/swc/commit/572ad63e0825e4eddb511933d1a6d57184fc03c2))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/module)** Read link if an import is resolved as symlink ([#8297](https://github.com/swc-project/swc/issues/8297)) ([7dfdc12](https://github.com/swc-project/swc/commit/7dfdc1221890d373d2e6caf52bc8dee8c20765ca))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/parser)** Consider ASI while parsing TypeScript type aliases ([#8263](https://github.com/swc-project/swc/issues/8263)) ([e589126](https://github.com/swc-project/swc/commit/e58912622d86f2b03f90dd7d0782e5740822dca6))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/parser)** Adjust the context for cond expr while parsing JSX ([#8261](https://github.com/swc-project/swc/issues/8261)) ([0678c3c](https://github.com/swc-project/swc/commit/0678c3c55fa65780caf15e55919276912348943b))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(es/parser)** Fix ASI hazard of `static` ([#8262](https://github.com/swc-project/swc/issues/8262)) ([c128153](https://github.com/swc-project/swc/commit/c1281534b65d1d7f0069c04d35c1eb29f08e9a14))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/parser)** Fix parsing of `import type from from` ([#8309](https://github.com/swc-project/swc/issues/8309)) ([00b8839](https://github.com/swc-project/swc/commit/00b88399a0ea10dfd6d48cb168dd5ae914f11d54))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/parser)** Report error for exported reserved name ([#8313](https://github.com/swc-project/swc/issues/8313)) ([feb8a6d](https://github.com/swc-project/swc/commit/feb8a6dad99bf55cf541bd88a8f21b865c6bcd97))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(es/parsing)** Fix parsing of `type satisfies = 0;` ([#8305](https://github.com/swc-project/swc/issues/8305)) ([51042e0](https://github.com/swc-project/swc/commit/51042e090de246bcf92300e5ffd03139f255e77b))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(es/proposal)** Improve resolving of `design:returntype` ([#8303](https://github.com/swc-project/swc/issues/8303)) ([fab51e1](https://github.com/swc-project/swc/commit/fab51e18433d85f29d720ef11371411fa4ecf623))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(es/resolver)** Ignore qualifiers of `TsImportType` ([#8299](https://github.com/swc-project/swc/issues/8299)) ([2113bb3](https://github.com/swc-project/swc/commit/2113bb3e19131d68eb2a1c384e4ac58b2bc10f00))
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(es/minifier)** Swap bin expr to save paren ([#8277](https://github.com/swc-project/swc/issues/8277)) ([65c3d0e](https://github.com/swc-project/swc/commit/65c3d0e3f4ec4b447e6d36f31eb40bdafdf65db7))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- **(es/minifier)** Support `format.inline_script` ([#8252](https://github.com/swc-project/swc/issues/8252)) ([f059270](https://github.com/swc-project/swc/commit/f059270348a7ee26ee8ed2d185ba71d166f43e14))
|
|
78
|
+
|
|
79
|
+
### Performance
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
- **(css/parser)** Use `AtomStoreCell` ([#8247](https://github.com/swc-project/swc/issues/8247)) ([302954e](https://github.com/swc-project/swc/commit/302954e4e54b7190c88667534c2dd6105f744f90))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
- **(es/minifier)** Improve `format.inline_script` ([#8292](https://github.com/swc-project/swc/issues/8292)) ([7d1836d](https://github.com/swc-project/swc/commit/7d1836de3fd96786351f5ae30c2b0e7bbda2fa55))
|
|
87
|
+
|
|
88
|
+
### Refactor
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
- **(swc_node_base)** Rename to `swc_malloc` ([#8272](https://github.com/swc-project/swc/issues/8272)) ([9a0572b](https://github.com/swc-project/swc/commit/9a0572b9680e824ff904d7563167faa84aab47b5))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
- Remove `swc_ecma_dep_graph` ([#8290](https://github.com/swc-project/swc/issues/8290)) ([7bbe5e6](https://github.com/swc-project/swc/commit/7bbe5e67d9a4316f47158bf717f8dfa86236b41b))
|
|
96
|
+
|
|
97
|
+
### Testing
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
- **(es/minifier)** Update test refs ([#8310](https://github.com/swc-project/swc/issues/8310)) ([a004842](https://github.com/swc-project/swc/commit/a0048427ddfd8bd9f62d5eb104dcd501bac45293))
|
|
102
|
+
|
|
103
|
+
### Build
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
- **(common)** Remove dependency on `string-cache` ([#8291](https://github.com/swc-project/swc/issues/8291)) ([66a4d37](https://github.com/swc-project/swc/commit/66a4d370314d45b5d4a0117401002ac43dbcba0a))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
- **(es)** Remove duplicate `phf` dependency ([#8294](https://github.com/swc-project/swc/issues/8294)) ([25ac679](https://github.com/swc-project/swc/commit/25ac679bd3906c09212134859df9c75f38018822))
|
|
111
|
+
|
|
112
|
+
## [1.3.97] - 2023-11-09
|
|
3
113
|
|
|
4
114
|
### Bug Fixes
|
|
5
115
|
|
|
@@ -32,6 +142,9 @@
|
|
|
32
142
|
- **(atoms)** Update `hstr` to make global APIs fast ([#8241](https://github.com/swc-project/swc/issues/8241)) ([c01454a](https://github.com/swc-project/swc/commit/c01454ad4165d5e6ba58dc2b3b72910bbbc3a518))
|
|
33
143
|
|
|
34
144
|
|
|
145
|
+
- **(atoms)** Introduce `AtomStoreCell` ([#8232](https://github.com/swc-project/swc/issues/8232)) ([a5a6eb5](https://github.com/swc-project/swc/commit/a5a6eb53a56faa8e224f59f5cd967e5075c12edd))
|
|
146
|
+
|
|
147
|
+
|
|
35
148
|
- **(css/parser)** Use `AtomStore` ([#8238](https://github.com/swc-project/swc/issues/8238)) ([a3c03b3](https://github.com/swc-project/swc/commit/a3c03b30fb3aa19cb590addbf47b0583d1b05dad))
|
|
36
149
|
|
|
37
150
|
|
|
@@ -55,6 +168,12 @@
|
|
|
55
168
|
|
|
56
169
|
- **(es/typescript)** Visit ts import/export only once ([#8213](https://github.com/swc-project/swc/issues/8213)) ([a00f575](https://github.com/swc-project/swc/commit/a00f575837a44a14dd09dd634f45a64e138263b0))
|
|
57
170
|
|
|
171
|
+
### Refactor
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
- **(atoms)** Improve APIs ([#8249](https://github.com/swc-project/swc/issues/8249)) ([9a4bad4](https://github.com/swc-project/swc/commit/9a4bad4e9ec67a09761398eae5e6bb37e6d0d94f))
|
|
176
|
+
|
|
58
177
|
### Build
|
|
59
178
|
|
|
60
179
|
|
|
@@ -1527,26 +1646,11 @@
|
|
|
1527
1646
|
|
|
1528
1647
|
|
|
1529
1648
|
|
|
1530
|
-
- **(es)** Fix a crash related to an empty source map ([#7229](https://github.com/swc-project/swc/issues/7229)) ([c665918](https://github.com/swc-project/swc/commit/c6659183a616725b61733e584bbb6e540b9cbbde))
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
- **(es/codegen)** Respect `ascii_only` for identifiers ([#7247](https://github.com/swc-project/swc/issues/7247)) ([e35097f](https://github.com/swc-project/swc/commit/e35097fd8c036dfab9fcf923f01db562b003720b))
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
1649
|
- **(es/compat)** Handle export function in `reserved_word` ([#7251](https://github.com/swc-project/swc/issues/7251)) ([2e947e7](https://github.com/swc-project/swc/commit/2e947e7aeb1fd2989a10fb49a2ffa2ea35bc9941))
|
|
1537
1650
|
|
|
1538
1651
|
|
|
1539
1652
|
- **(es/minifier)** Fix handling of optional chaining when `hoist_props` is enabled ([#7246](https://github.com/swc-project/swc/issues/7246)) ([a44fea1](https://github.com/swc-project/swc/commit/a44fea1ec8f19a822d84c744b9e39c122026fd9d))
|
|
1540
1653
|
|
|
1541
|
-
|
|
1542
|
-
- **(es/parser)** Use a hard error for missing r-paren in an if stmt ([#7223](https://github.com/swc-project/swc/issues/7223)) ([b1c40a4](https://github.com/swc-project/swc/commit/b1c40a411f01792f9b9f4bc9d5f08782fc6d6a1c))
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
- **(es/parser)** Reset ctx for cond while parsing a stmt ([#7232](https://github.com/swc-project/swc/issues/7232)) ([01db30f](https://github.com/swc-project/swc/commit/01db30f91ec91d5dffe4c2ac1934965cc9c73cf8))
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
- **(es/parser)** Parse `const` type parameters in arrow function expressions ([#7242](https://github.com/swc-project/swc/issues/7242)) ([6614886](https://github.com/swc-project/swc/commit/66148861926a8e70cb75ff20cb2f0ff171c2e630))
|
|
1549
|
-
|
|
1550
1654
|
### Features
|
|
1551
1655
|
|
|
1552
1656
|
|
|
@@ -1557,9 +1661,6 @@
|
|
|
1557
1661
|
- **(es)** Use `minify.format.ascii_only` if `output.charset` is not specified ([#7258](https://github.com/swc-project/swc/issues/7258)) ([1fe5c3a](https://github.com/swc-project/swc/commit/1fe5c3a803daf247709ac51f8c637ba7e56181bc))
|
|
1558
1662
|
|
|
1559
1663
|
|
|
1560
|
-
- **(es/minifier)** Support `PURE` comment of seq exprs ([#7245](https://github.com/swc-project/swc/issues/7245)) ([559d120](https://github.com/swc-project/swc/commit/559d1202bc9a25c06eae01c6e033a44bb31aab62))
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
1664
|
- **(plugin)** Enable validation ([#7250](https://github.com/swc-project/swc/issues/7250)) ([efad714](https://github.com/swc-project/swc/commit/efad714983459393639f4b026da7793807c1b401))
|
|
1564
1665
|
|
|
1565
1666
|
### Refactor
|
|
@@ -1568,153 +1669,10 @@
|
|
|
1568
1669
|
|
|
1569
1670
|
- **(plugin)** Remove `bytecheck` flag ([#7256](https://github.com/swc-project/swc/issues/7256)) ([6bd58cb](https://github.com/swc-project/swc/commit/6bd58cbcfdef99604470a106853628e1cdb36cda))
|
|
1570
1671
|
|
|
1571
|
-
|
|
1572
|
-
- **(plugin/runner)** Fix clippy warnings ([#7244](https://github.com/swc-project/swc/issues/7244)) ([70b86db](https://github.com/swc-project/swc/commit/70b86dbe371fafc2dffde0573bc091860aa529b3))
|
|
1573
|
-
|
|
1574
|
-
### Testing
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
- **(es/plugin)** Enable E2E test again ([#7236](https://github.com/swc-project/swc/issues/7236)) ([695ce06](https://github.com/swc-project/swc/commit/695ce060e95ccdda50334468dc669da2df76c026))
|
|
1579
|
-
|
|
1580
1672
|
### Build
|
|
1581
1673
|
|
|
1582
1674
|
|
|
1583
1675
|
|
|
1584
1676
|
- **(plugin)** Update `rkyv` ([#7257](https://github.com/swc-project/swc/issues/7257)) ([ff3decc](https://github.com/swc-project/swc/commit/ff3decc7dbf7965085261b16efa1a7b251aec696))
|
|
1585
1677
|
|
|
1586
|
-
## [1.3.49] - 2023-04-10
|
|
1587
|
-
|
|
1588
|
-
### Features
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
- **(plugin/runner)** Update `wasmer` to `v3` ([#7197](https://github.com/swc-project/swc/issues/7197)) ([56bdacc](https://github.com/swc-project/swc/commit/56bdacc72df967bc613c5b067cf773f39c4bce00))
|
|
1593
|
-
|
|
1594
|
-
### Refactor
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
- **(plugin/runner)** Fix publish action ([#7234](https://github.com/swc-project/swc/issues/7234)) ([b868ed0](https://github.com/swc-project/swc/commit/b868ed02a35904bd6063709685d1470598cdaf81))
|
|
1599
|
-
|
|
1600
|
-
## [1.3.47] - 2023-04-10
|
|
1601
|
-
|
|
1602
|
-
### Bug Fixes
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
- **(bindings/node)** Make peer dependency of helpers optional ([#7216](https://github.com/swc-project/swc/issues/7216)) ([e86d598](https://github.com/swc-project/swc/commit/e86d59882a6644a63e98094127694f27b3c1b5a4))
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
- **(es/compat)** Fix `finally` handling of `generator` ([#7215](https://github.com/swc-project/swc/issues/7215)) ([f5c62fb](https://github.com/swc-project/swc/commit/f5c62fbbf8ccbadec4daae4a2158b7b2fc707a2b))
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
- **(es/minifier)** Don't remove used var decl ([#7200](https://github.com/swc-project/swc/issues/7200)) ([73bc29e](https://github.com/swc-project/swc/commit/73bc29eeb0e0a758daff2ec9567d8949fb48fa50))
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
- **(es/testing)** Ensure that we call `fold_program` ([#7222](https://github.com/swc-project/swc/issues/7222)) ([e241201](https://github.com/swc-project/swc/commit/e241201bf76c3ae111d815dac7dbcc169d12dc25))
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
- **(es/typescript)** Fix computation of enum bits ([#7219](https://github.com/swc-project/swc/issues/7219)) ([29bf176](https://github.com/swc-project/swc/commit/29bf1760befc5acf56841f4c369016e296184bdb))
|
|
1619
|
-
|
|
1620
|
-
### Features
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
- **(es)** Expose stage 3 decorator ([#7220](https://github.com/swc-project/swc/issues/7220)) ([a7a53c6](https://github.com/swc-project/swc/commit/a7a53c6208ae63a07b663049575f3b50f37d2f2a))
|
|
1625
|
-
|
|
1626
|
-
### Refactor
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
- **(macros/ast-node)** Drop `darling` to reduce compile time ([#7214](https://github.com/swc-project/swc/issues/7214)) ([3f61638](https://github.com/swc-project/swc/commit/3f61638cbfb1acc9fa59fa68434a182ba8bcfb2a))
|
|
1631
|
-
|
|
1632
|
-
## [1.3.45] - 2023-04-04
|
|
1633
|
-
|
|
1634
|
-
### Bug Fixes
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
- **(es)** Allow missing `.map` file ([#7141](https://github.com/swc-project/swc/issues/7141)) ([3e6a186](https://github.com/swc-project/swc/commit/3e6a1869e84ec01125cf115c3d5f5c5c89645e1a))
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
- **(es/compat)** Handle shorthand object prop while renaming ([#7176](https://github.com/swc-project/swc/issues/7176)) ([0a80e05](https://github.com/swc-project/swc/commit/0a80e0506b0fd58d31027c348ea0c957a5cc60f7))
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
- **(es/helpers)** Use snake_case for helpers ([#7147](https://github.com/swc-project/swc/issues/7147)) ([3ca954b](https://github.com/swc-project/swc/commit/3ca954b9f9622ed400308f2af35242583a4bdc3d))
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
- **(es/modules)** Hint nodejs for multiple `export *` ([#7184](https://github.com/swc-project/swc/issues/7184)) ([98f1493](https://github.com/swc-project/swc/commit/98f14931e7fa24b9d888eb5149c647840978b096))
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
- **(es/parser)** Fix infinite loop on jsx in js ([#7191](https://github.com/swc-project/swc/issues/7191)) ([414e669](https://github.com/swc-project/swc/commit/414e66910dc5d9fea254811618f69067ab4a7a67))
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
- **(es/typescript)** Mark `A` as a type in `export { type A }` ([#7196](https://github.com/swc-project/swc/issues/7196)) ([ddfbc93](https://github.com/swc-project/swc/commit/ddfbc936244c1168c547e134f20d436bfb6227f9))
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
- **(swc_core)** Fix a feature name ([#7198](https://github.com/swc-project/swc/issues/7198)) ([bfe6544](https://github.com/swc-project/swc/commit/bfe654438f15d875257caf7735f11a79e51780a5))
|
|
1657
|
-
|
|
1658
|
-
### Features
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
- **(css/modules)** Preserve spans of CSS class names ([#7185](https://github.com/swc-project/swc/issues/7185)) ([df7b4e7](https://github.com/swc-project/swc/commit/df7b4e71d22a7174df6f4fe9691044560e8e7f65))
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
- **(es/compat)** Implement stage 3 decorator, without auto accessor ([#6950](https://github.com/swc-project/swc/issues/6950)) ([7a863ad](https://github.com/swc-project/swc/commit/7a863ad18ffeb45801cc17992634b5c62adfe88b))
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
- **(es/helpers)** Use named export and unify import path ([#7182](https://github.com/swc-project/swc/issues/7182)) ([a13a78e](https://github.com/swc-project/swc/commit/a13a78e3fe2f81f0cbbe4a98da9cbb5a48b6cbed))
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
- **(plugin/runner)** Improve cache path ([#7188](https://github.com/swc-project/swc/issues/7188)) ([976667f](https://github.com/swc-project/swc/commit/976667f7d98b821940c5325efc092e50c6554dc2))
|
|
1672
|
-
|
|
1673
|
-
### Testing
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
- **(es/plugin)** Enable E2E plugin test ([#7178](https://github.com/swc-project/swc/issues/7178)) ([a785f18](https://github.com/swc-project/swc/commit/a785f18740942c841fede3d625ec2fd4b090d020))
|
|
1678
|
-
|
|
1679
|
-
## [1.3.44] - 2023-03-30
|
|
1680
|
-
|
|
1681
|
-
### Bug Fixes
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
- **(css/compat)** Remove usage of `box_syntax` ([#7153](https://github.com/swc-project/swc/issues/7153)) ([6f0bf66](https://github.com/swc-project/swc/commit/6f0bf665c29abaa64c60fb43053f96e465d3e041))
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
- **(es/compat)** Handle import/export in `reserved_word` ([#7165](https://github.com/swc-project/swc/issues/7165)) ([065d11c](https://github.com/swc-project/swc/commit/065d11cb9bd49f36825b3b707e4e9ecfcc64e17b))
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
- **(es/compat)** Fix the position for temp var injection ([#7171](https://github.com/swc-project/swc/issues/7171)) ([23fb8c5](https://github.com/swc-project/swc/commit/23fb8c5563a8e5f79d256bb27bdbdfd56944ccbc))
|
|
1692
|
-
|
|
1693
|
-
### Features
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
- **(css/parser)** Add `legacy_ie` to the `ParserConfig` ([#7109](https://github.com/swc-project/swc/issues/7109)) ([5e58b3e](https://github.com/swc-project/swc/commit/5e58b3e5f6dfe6a7ede97c3e8a2f7436db964113))
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
- **(es/react)** Support script within automatic runtime ([#7126](https://github.com/swc-project/swc/issues/7126)) ([05a2815](https://github.com/swc-project/swc/commit/05a2815e6ceb6d12e122be4e4ef84281d398f8c2))
|
|
1701
|
-
|
|
1702
|
-
### Refactor
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
- **(ast)** Make serde optional ([#7138](https://github.com/swc-project/swc/issues/7138)) ([30bc086](https://github.com/swc-project/swc/commit/30bc0860526c0983042c60a039a1f5acee47830c))
|
|
1707
|
-
|
|
1708
|
-
### Build
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
- **(cargo)** Update `rustc` to `nightly-2023-03-28` ([#7154](https://github.com/swc-project/swc/issues/7154)) ([e445502](https://github.com/swc-project/swc/commit/e445502072d8ebfcbe0da0cb59f3d6a85d4a2087))
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
- **(cargo)** Revert rustc upgrade ([#7162](https://github.com/swc-project/swc/issues/7162)) ([12546c8](https://github.com/swc-project/swc/commit/12546c853a67210e840efd61452041ef8db00d3a))
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
- **(cargo)** Update `rustc` to `nightly-2023-03-20` ([#7170](https://github.com/swc-project/swc/issues/7170)) ([0259a74](https://github.com/swc-project/swc/commit/0259a7465fc5122cf2f297f962f7f0209f619251))
|
|
1719
|
-
|
|
1720
1678
|
<!-- generated by git-cliff -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.99",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"x86_64-unknown-linux-musl",
|
|
34
34
|
"i686-pc-windows-msvc",
|
|
35
35
|
"aarch64-unknown-linux-gnu",
|
|
36
|
-
"armv7-unknown-linux-gnueabihf",
|
|
37
36
|
"aarch64-apple-darwin",
|
|
38
37
|
"aarch64-unknown-linux-musl",
|
|
39
38
|
"aarch64-pc-windows-msvc"
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
"@babel/preset-react": "^7.13.13",
|
|
94
93
|
"@babel/preset-typescript": "^7.13.0",
|
|
95
94
|
"@babel/types": "^7.14.0",
|
|
96
|
-
"@napi-rs/cli": "^2.
|
|
95
|
+
"@napi-rs/cli": "^2.16.5",
|
|
97
96
|
"@swc/core": "=1.2.220",
|
|
98
97
|
"@swc/helpers": "^0.5.0",
|
|
99
98
|
"@swc/plugin-jest": "latest",
|
|
@@ -148,16 +147,15 @@
|
|
|
148
147
|
"url": "https://opencollective.com/swc"
|
|
149
148
|
},
|
|
150
149
|
"optionalDependencies": {
|
|
151
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
152
|
-
"@swc/core-darwin-x64": "1.3.
|
|
153
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
154
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
155
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
156
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
157
|
-
"@swc/core-
|
|
158
|
-
"@swc/core-
|
|
159
|
-
"@swc/core-
|
|
160
|
-
"@swc/core-win32-arm64-msvc": "1.3.97-nightly-20231109.1"
|
|
150
|
+
"@swc/core-win32-x64-msvc": "1.3.99",
|
|
151
|
+
"@swc/core-darwin-x64": "1.3.99",
|
|
152
|
+
"@swc/core-linux-x64-gnu": "1.3.99",
|
|
153
|
+
"@swc/core-linux-x64-musl": "1.3.99",
|
|
154
|
+
"@swc/core-win32-ia32-msvc": "1.3.99",
|
|
155
|
+
"@swc/core-linux-arm64-gnu": "1.3.99",
|
|
156
|
+
"@swc/core-darwin-arm64": "1.3.99",
|
|
157
|
+
"@swc/core-linux-arm64-musl": "1.3.99",
|
|
158
|
+
"@swc/core-win32-arm64-msvc": "1.3.99"
|
|
161
159
|
},
|
|
162
160
|
"files": [
|
|
163
161
|
"CHANGELOG.md",
|