@swc/core 1.3.92 → 1.3.93-nightly-20231012.1
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 +100 -96
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,103 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/minifier)** Don't inline functions if `keep_fnames` is enabled ([#8093](https://github.com/swc-project/swc/issues/8093)) ([94bb42e](https://github.com/swc-project/swc/commit/94bb42e29418a8697ba0ab41dad2ffe63f1c32c7))
|
|
9
|
+
|
|
10
|
+
### Miscellaneous Tasks
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(xtask)** Typo ([372f78c](https://github.com/swc-project/swc/commit/372f78ce12d7b5e54ea71de642658aead7c2ead7))
|
|
15
|
+
|
|
16
|
+
## [1.3.93-nightly.20231011.1] - 2023-10-11
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
- **(ci)** Fix CI ([#8079](https://github.com/swc-project/swc/issues/8079)) ([7073e83](https://github.com/swc-project/swc/commit/7073e83f65ed5e98ee294c8e366a80b0a0f5921f))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
- **(es/codegen)** Fix codegen of type-only imports ([#8070](https://github.com/swc-project/swc/issues/8070)) ([6f45b46](https://github.com/swc-project/swc/commit/6f45b4693e6d35bf05bacb89b65c7f013d0366a2))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
- **(es/compat)** Handle `__proto__` edge case in `shorthand` pass ([#8077](https://github.com/swc-project/swc/issues/8077)) ([a912937](https://github.com/swc-project/swc/commit/a912937cea672ad4fbda057efc3a09283e3635fe))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- **(es/compat)** Handle export default decorator only if not empty ([#8099](https://github.com/swc-project/swc/issues/8099)) ([bf523f5](https://github.com/swc-project/swc/commit/bf523f53513311d6c7d4a94f9a36bedd42230c09))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- **(es/decorators)** Fix a regression about class expressions ([#8102](https://github.com/swc-project/swc/issues/8102)) ([cb4361f](https://github.com/swc-project/swc/commit/cb4361f2931cf222edbb449db6fe2c261c4b735d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- **(es/helpers)** Override mistake in `_interop_require_wildcard` ([#8076](https://github.com/swc-project/swc/issues/8076)) ([1346528](https://github.com/swc-project/swc/commit/1346528477bd8c587f0ee0d5fa6969f397739ddb))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
- **(es/parser)** Fix parsing of `await using` ([#8101](https://github.com/swc-project/swc/issues/8101)) ([e1043fa](https://github.com/swc-project/swc/commit/e1043fae77ca9e33b2d65ce6edc9559917a895ec))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(xtask)** Fix nightly command ([#8105](https://github.com/swc-project/swc/issues/8105)) ([db4ca65](https://github.com/swc-project/swc/commit/db4ca650e445e602f289f7964b24f7e2647beacd))
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(css/parser)** Store lexed comments ([#8091](https://github.com/swc-project/swc/issues/8091)) ([d1097cc](https://github.com/swc-project/swc/commit/d1097ccb599c4343e3f80ca9bd793bbfce424e8b))
|
|
50
|
+
|
|
51
|
+
### Miscellaneous Tasks
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(ci)** Remove unused concurrency tests ([#8100](https://github.com/swc-project/swc/issues/8100)) ([226b17f](https://github.com/swc-project/swc/commit/226b17fa868f8d9580c7ed61dd32f5db1c838982))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **(es/minifier)** Fix script for extracting test cases from next.js app ([#8092](https://github.com/swc-project/swc/issues/8092)) ([a2d0779](https://github.com/swc-project/swc/commit/a2d077958f071752dbc347fbf414622e0146e1fd))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- **(xtask)** Migrate scripts to xtask ([#8072](https://github.com/swc-project/swc/issues/8072)) ([a5621bb](https://github.com/swc-project/swc/commit/a5621bb30a665c8022d7004ccde53f574443cbe1))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- **(xtask)** Add `git reduce core-ver` ([#8088](https://github.com/swc-project/swc/issues/8088)) ([3b449e3](https://github.com/swc-project/swc/commit/3b449e3bcaaf90ae72493133e7c88099b0733ebc))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(xtask)** Add `--features` to `xtask bench` ([#8094](https://github.com/swc-project/swc/issues/8094)) ([f5d7acf](https://github.com/swc-project/swc/commit/f5d7acfa10b579e031c8f64deabe0ee39e4461ab))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
- **(xtask)** Add a command for nigjtly build ([#8104](https://github.com/swc-project/swc/issues/8104)) ([9d773bf](https://github.com/swc-project/swc/commit/9d773bfa12bd22fc042f2c9a2d798d9c43adc228))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(xtask)** Create a git tag ([bd254f6](https://github.com/swc-project/swc/commit/bd254f67d4367bf550088f89bb021fc97c503a26))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(xtask)** Preaerve version ([e0c07e2](https://github.com/swc-project/swc/commit/e0c07e25a15a4087382c96eb72077d817917944e))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **(xtask)** Inherit stderr ([b8c5787](https://github.com/swc-project/swc/commit/b8c57870fa55840d8f7045b1b1f31bd0095bc6c1))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
- Use `cargo xtask` ([#8068](https://github.com/swc-project/swc/issues/8068)) ([6420aef](https://github.com/swc-project/swc/commit/6420aefca5bd22af3a75b7ad34741509ed35377a))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- Restore versions ([ff65a5c](https://github.com/swc-project/swc/commit/ff65a5cd20defda0ae9c58f07103e2369cedf3b3))
|
|
86
|
+
|
|
87
|
+
### Refactor
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(atoms)** Remove usage of `js_word!` to drop `string-cache` ([#7976](https://github.com/swc-project/swc/issues/7976)) ([84cec87](https://github.com/swc-project/swc/commit/84cec8766db77062cc984c777dd716358ee8fd6e))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
- **(es/module)** Reimplement some functions of module/typescript ([#8063](https://github.com/swc-project/swc/issues/8063)) ([3e5b062](https://github.com/swc-project/swc/commit/3e5b062cd2792703371bbbfeaf1be309e8280abd))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
- **(es/parser)** Introduce `TokenKind` along with `Token` ([#8071](https://github.com/swc-project/swc/issues/8071)) ([9b9bc51](https://github.com/swc-project/swc/commit/9b9bc51c28fee51de9eeedf6d49fbe115d6052e6))
|
|
98
|
+
|
|
99
|
+
## [1.3.92] - 2023-10-05
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
8
105
|
- **(es/compat)** Fix scoping of `explicit-resource-management` ([#8044](https://github.com/swc-project/swc/issues/8044)) ([96a7a4d](https://github.com/swc-project/swc/commit/96a7a4d045d08547fed75c79a7156f79262edfc2))
|
|
9
106
|
|
|
10
107
|
|
|
@@ -46,6 +143,9 @@
|
|
|
46
143
|
|
|
47
144
|
- Update nissuer.yml ([#8060](https://github.com/swc-project/swc/issues/8060)) ([a2f1010](https://github.com/swc-project/swc/commit/a2f1010b4e312d972d901705da971b887b1b254a))
|
|
48
145
|
|
|
146
|
+
|
|
147
|
+
- Add `evanw.github.io` to the allowed repro hosts ([c26ee63](https://github.com/swc-project/swc/commit/c26ee63839df040644082ed6ff88bd2571c3af44))
|
|
148
|
+
|
|
49
149
|
### Refactor
|
|
50
150
|
|
|
51
151
|
|
|
@@ -1865,100 +1965,4 @@ Full refactor of the "calc" simplification to be more compliant with the spec. (
|
|
|
1865
1965
|
|
|
1866
1966
|
- **(es/parser)** Make lexer not generic over `Input` ([#6993](https://github.com/swc-project/swc/issues/6993)) ([367ac82](https://github.com/swc-project/swc/commit/367ac825f6bfab65cf8bcb21e68500daef8ad177))
|
|
1867
1967
|
|
|
1868
|
-
## [1.3.37] - 2023-02-28
|
|
1869
|
-
|
|
1870
|
-
### Bug Fixes
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
- **(bindings/cli)** Implement `source-file-name` and `source-root` options ([#6973](https://github.com/swc-project/swc/issues/6973)) ([3e3e41a](https://github.com/swc-project/swc/commit/3e3e41a1756519515df193db903f6992995420e9))
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
- **(css/utils)** Fix minification of class names with whitespace ([#6983](https://github.com/swc-project/swc/issues/6983)) ([cc1d9bd](https://github.com/swc-project/swc/commit/cc1d9bd567340203d5d2bd228a4d0b19f8052202))
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
- **(es/decorator)** Preserve evaluation order ([#6972](https://github.com/swc-project/swc/issues/6972)) ([703b340](https://github.com/swc-project/swc/commit/703b340d39c3efb69f4a0d375ab6e5a2f9a4acd9))
|
|
1881
|
-
|
|
1882
|
-
### Miscellaneous Tasks
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
- **(es/parser)** Reduce pre-allocation to reduce memory usage ([#6979](https://github.com/swc-project/swc/issues/6979)) ([f1e7a2a](https://github.com/swc-project/swc/commit/f1e7a2a9cc74b19597e9d7105852daf4672514a2))
|
|
1887
|
-
|
|
1888
|
-
### Testing
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
- **(es/tsc)** Update tsc test suite ([#6982](https://github.com/swc-project/swc/issues/6982)) ([b887b30](https://github.com/swc-project/swc/commit/b887b30092c77ec67eedb7f1dd0b5570a1a16eea))
|
|
1893
|
-
|
|
1894
|
-
## [1.3.36] - 2023-02-21
|
|
1895
|
-
|
|
1896
|
-
### Bug Fixes
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
- **(bindings/cli)** Rename `--config` to `--config-json` ([#6932](https://github.com/swc-project/swc/issues/6932)) ([cb4436b](https://github.com/swc-project/swc/commit/cb4436bd6ed085bdf1f0d98776f166bf2a6275c9))
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
- **(bindings/node)** Treat `.cts` and `.mts` as input by default ([#6959](https://github.com/swc-project/swc/issues/6959)) ([d5c0dec](https://github.com/swc-project/swc/commit/d5c0dec40c1bb46bb5674242aa0a85f51c0826f7))
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
- **(bundler)** Don't panic while finding exports ([#6947](https://github.com/swc-project/swc/issues/6947)) ([542bb62](https://github.com/swc-project/swc/commit/542bb62ef78a999fe6c636be821427691ce0b071))
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
- **(css/modules)** Fix CSS `animation` on CSS Modules ([#6969](https://github.com/swc-project/swc/issues/6969)) ([4771aa2](https://github.com/swc-project/swc/commit/4771aa206a6aa8c48f41eeafba12040c04358885))
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
- **(es/minifier)** Fix `toFixed`, `toPrecision`, `toExponential` and `toString` of Number ([#6960](https://github.com/swc-project/swc/issues/6960)) ([9382bda](https://github.com/swc-project/swc/commit/9382bda786613abf15cecb0bf3531dd68bb6166b))
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
- **(es/minifier)** Fix optimization of expressions in numeric context ([#6965](https://github.com/swc-project/swc/issues/6965)) ([1dfadb8](https://github.com/swc-project/swc/commit/1dfadb87907ef24c7b4d5184f24f30e028c1cef2))
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
- **(es/module)** Fix `jsc.paths` on Windows ([#6930](https://github.com/swc-project/swc/issues/6930)) ([1ec161a](https://github.com/swc-project/swc/commit/1ec161a0f15886f97d4fb9cbb5d115b29ed5e2a2))
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
- **(es/react)** Fix handling of whitespaces ([#6935](https://github.com/swc-project/swc/issues/6935)) ([a9b25aa](https://github.com/swc-project/swc/commit/a9b25aaf4a776731d3ef2dc3c192a7b18023e765))
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
- **(es/react)** Don't panic on `key` without a value ([#6945](https://github.com/swc-project/swc/issues/6945)) ([14454c9](https://github.com/swc-project/swc/commit/14454c9dbd222cabb8c6eeafa9c664c34030a121))
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
- **(es/resolver)** Use type context for `export =` if it's unresolved ([#6963](https://github.com/swc-project/swc/issues/6963)) ([e946c43](https://github.com/swc-project/swc/commit/e946c43f4e0640bb7ad2470c9c5979583ced2e23))
|
|
1928
|
-
|
|
1929
|
-
### Features
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
- **(es/minifier)** Drop unused import bindings ([#6967](https://github.com/swc-project/swc/issues/6967)) ([a27ffd2](https://github.com/swc-project/swc/commit/a27ffd22423af6e85fa821c2bb3bbd01e199f472))
|
|
1934
|
-
|
|
1935
|
-
### Miscellaneous Tasks
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
- **(bot)** Allow org members to use bump comments ([#6942](https://github.com/swc-project/swc/issues/6942)) ([0324d5a](https://github.com/swc-project/swc/commit/0324d5a78b8d47b8948f4011c0dd982ff43a2203))
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
- **(swc_nodejs_common)** Remove swc_node_base from swc_nodejs_common ([#6940](https://github.com/swc-project/swc/issues/6940)) ([0771418](https://github.com/swc-project/swc/commit/0771418dd0310a7e05bfad76baf4e16cd289351e))
|
|
1943
|
-
|
|
1944
|
-
## [1.3.35] - 2023-02-10
|
|
1945
|
-
|
|
1946
|
-
### Bug Fixes
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
- **(es/minifier)** Don't skip shorthand properties from sequential inliner ([#6918](https://github.com/swc-project/swc/issues/6918)) ([725d3fb](https://github.com/swc-project/swc/commit/725d3fb645976681bc11b1df943f3ca1008788ab))
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
- **(es/preset-env)** Fix default target ([#6921](https://github.com/swc-project/swc/issues/6921)) ([85a8def](https://github.com/swc-project/swc/commit/85a8defc37ce20b051b1bf2139ead7182d496483))
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
- **(es/typescript)** Fix handling of non-uppercase JSX elements ([#6928](https://github.com/swc-project/swc/issues/6928)) ([ebc65c7](https://github.com/swc-project/swc/commit/ebc65c7dcba4ccfeb7c0a1e200b5130bc8a15791))
|
|
1957
|
-
|
|
1958
|
-
### Miscellaneous Tasks
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
- Bump swc_css_* ([#6924](https://github.com/swc-project/swc/issues/6924)) ([75376cd](https://github.com/swc-project/swc/commit/75376cd65cf10e9777aab5e00abf9f851a222a49))
|
|
1963
|
-
|
|
1964
1968
|
<!-- 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.93-nightly-20231012.1",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -148,16 +148,16 @@
|
|
|
148
148
|
"url": "https://opencollective.com/swc"
|
|
149
149
|
},
|
|
150
150
|
"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-linux-arm-gnueabihf": "1.3.
|
|
158
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
159
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
160
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
151
|
+
"@swc/core-win32-x64-msvc": "1.3.93-nightly-20231012.1",
|
|
152
|
+
"@swc/core-darwin-x64": "1.3.93-nightly-20231012.1",
|
|
153
|
+
"@swc/core-linux-x64-gnu": "1.3.93-nightly-20231012.1",
|
|
154
|
+
"@swc/core-linux-x64-musl": "1.3.93-nightly-20231012.1",
|
|
155
|
+
"@swc/core-win32-ia32-msvc": "1.3.93-nightly-20231012.1",
|
|
156
|
+
"@swc/core-linux-arm64-gnu": "1.3.93-nightly-20231012.1",
|
|
157
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.93-nightly-20231012.1",
|
|
158
|
+
"@swc/core-darwin-arm64": "1.3.93-nightly-20231012.1",
|
|
159
|
+
"@swc/core-linux-arm64-musl": "1.3.93-nightly-20231012.1",
|
|
160
|
+
"@swc/core-win32-arm64-msvc": "1.3.93-nightly-20231012.1"
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
"CHANGELOG.md",
|