@swc/core 1.3.93-nightly.20231011.1 → 1.3.93

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 +31 -90
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -23,8 +23,14 @@
23
23
  - **(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))
24
24
 
25
25
 
26
+ - **(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))
27
+
28
+
26
29
  - **(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))
27
30
 
31
+
32
+ - **(xtask)** Fix nightly command ([#8105](https://github.com/swc-project/swc/issues/8105)) ([db4ca65](https://github.com/swc-project/swc/commit/db4ca650e445e602f289f7964b24f7e2647beacd))
33
+
28
34
  ### Features
29
35
 
30
36
 
@@ -38,6 +44,12 @@
38
44
  - **(ci)** Remove unused concurrency tests ([#8100](https://github.com/swc-project/swc/issues/8100)) ([226b17f](https://github.com/swc-project/swc/commit/226b17fa868f8d9580c7ed61dd32f5db1c838982))
39
45
 
40
46
 
47
+ - **(ci)** Use `--tag` of `npm publish` ([5779a7e](https://github.com/swc-project/swc/commit/5779a7e26ce4bc0bd8e5a3be38228fdc960eb2b2))
48
+
49
+
50
+ - **(ci)** Fix CI action ([#8107](https://github.com/swc-project/swc/issues/8107)) ([fe0bf57](https://github.com/swc-project/swc/commit/fe0bf5746fb40ec66719858f149a4e5c45f10749))
51
+
52
+
41
53
  - **(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))
42
54
 
43
55
 
@@ -53,7 +65,19 @@
53
65
  - **(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))
54
66
 
55
67
 
56
- - Use `cargo xtask` ([#8068](https://github.com/swc-project/swc/issues/8068)) ([6420aef](https://github.com/swc-project/swc/commit/6420aefca5bd22af3a75b7ad34741509ed35377a))
68
+ - **(xtask)** Create a git tag ([bd254f6](https://github.com/swc-project/swc/commit/bd254f67d4367bf550088f89bb021fc97c503a26))
69
+
70
+
71
+ - **(xtask)** Preaerve version ([e0c07e2](https://github.com/swc-project/swc/commit/e0c07e25a15a4087382c96eb72077d817917944e))
72
+
73
+
74
+ - **(xtask)** Inherit stderr ([b8c5787](https://github.com/swc-project/swc/commit/b8c57870fa55840d8f7045b1b1f31bd0095bc6c1))
75
+
76
+
77
+ - **(xtask)** Typo ([372f78c](https://github.com/swc-project/swc/commit/372f78ce12d7b5e54ea71de642658aead7c2ead7))
78
+
79
+
80
+ - **(xtask)** Bump version correctly ([11f31da](https://github.com/swc-project/swc/commit/11f31da3862399d1998fd788f597a9dcdeaf6858))
57
81
 
58
82
  ### Refactor
59
83
 
@@ -62,11 +86,17 @@
62
86
  - **(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))
63
87
 
64
88
 
89
+ - **(es/compat)** Split `swc_ecma_transforms_compat` ([#8110](https://github.com/swc-project/swc/issues/8110)) ([affb6fb](https://github.com/swc-project/swc/commit/affb6fb5e3e363f1eb4d42d4501a4a806c4060f7))
90
+
91
+
65
92
  - **(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))
66
93
 
67
94
 
68
95
  - **(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))
69
96
 
97
+
98
+ - **(es/preset-env)** Rename parameter to avoid confusion ([#8106](https://github.com/swc-project/swc/issues/8106)) ([95eb147](https://github.com/swc-project/swc/commit/95eb147742ea1aa207845807a306847afc859702))
99
+
70
100
  ## [1.3.92] - 2023-10-05
71
101
 
72
102
  ### Bug Fixes
@@ -96,27 +126,6 @@
96
126
 
97
127
  - **(ci)** Fix publish action for minifier ([77b8591](https://github.com/swc-project/swc/commit/77b8591d86dee33c92277b4b2d301d8cb253c16b))
98
128
 
99
-
100
- - Fix CI condition ([9c9c03b](https://github.com/swc-project/swc/commit/9c9c03b76b7de8df754437e3ee2d4ab5d079b96d))
101
-
102
-
103
- - Fix CI ([0c8d8a3](https://github.com/swc-project/swc/commit/0c8d8a3f4ab24c41d209bf2fdd37703e0205f0c0))
104
-
105
-
106
- - Configure `nissuer` ([#8053](https://github.com/swc-project/swc/issues/8053)) ([2a508bc](https://github.com/swc-project/swc/commit/2a508bcb9a7fb4d3323b4e08c0702b1191f95b96))
107
-
108
-
109
- - Configure issue validator ([a555823](https://github.com/swc-project/swc/commit/a5558236b715e49dbbb7842edfb24baa7a3f0760))
110
-
111
-
112
- - Mark reproduction link required ([c6e0a18](https://github.com/swc-project/swc/commit/c6e0a18292001cb46722b533213acdf374311edc))
113
-
114
-
115
- - Update nissuer.yml ([#8060](https://github.com/swc-project/swc/issues/8060)) ([a2f1010](https://github.com/swc-project/swc/commit/a2f1010b4e312d972d901705da971b887b1b254a))
116
-
117
-
118
- - Add `evanw.github.io` to the allowed repro hosts ([c26ee63](https://github.com/swc-project/swc/commit/c26ee63839df040644082ed6ff88bd2571c3af44))
119
-
120
129
  ### Refactor
121
130
 
122
131
 
@@ -170,12 +179,6 @@
170
179
 
171
180
  - **(ci)** Remove wrong `if`s ([dec68c3](https://github.com/swc-project/swc/commit/dec68c32126e38066feb813fce4635e7d40a8429))
172
181
 
173
-
174
- - Fix yarn lockfile ([7f91274](https://github.com/swc-project/swc/commit/7f9127420867cba856faa4ede8ef62ec3146e382))
175
-
176
-
177
- - Fix yarn lockfile ([c062536](https://github.com/swc-project/swc/commit/c0625361a1ad7537ca53a157fbdc8599fbbe2a44))
178
-
179
182
  ### Refactor
180
183
 
181
184
 
@@ -400,9 +403,6 @@
400
403
 
401
404
  - **(deps)** Update `memchr` ([#7891](https://github.com/swc-project/swc/issues/7891)) ([01cbd6e](https://github.com/swc-project/swc/commit/01cbd6edbd37c95ece7ca20ad2f6c85d6c1b6e35))
402
405
 
403
-
404
- - Use `textarea` for `swc-info` ([eed2903](https://github.com/swc-project/swc/commit/eed290319e4a8128948ce07e76d11a01d2096a8b))
405
-
406
406
  ### Performance
407
407
 
408
408
 
@@ -426,12 +426,6 @@
426
426
 
427
427
  - **(es/module)** Don't resolve as `node_modules` from `TscResolver` ([#7866](https://github.com/swc-project/swc/issues/7866)) ([11ebae1](https://github.com/swc-project/swc/commit/11ebae1bdd2fbd05d908fa560b81b830dddb3c56))
428
428
 
429
- ### Miscellaneous Tasks
430
-
431
-
432
-
433
- - Remove unused files ([e47f1c2](https://github.com/swc-project/swc/commit/e47f1c2bf7e1dc9fedf5a364884a40a5e7735973))
434
-
435
429
  ## [1.3.79] - 2023-08-25
436
430
 
437
431
  ### Bug Fixes
@@ -1362,12 +1356,6 @@
1362
1356
 
1363
1357
  - **(testing)** Fix path normalization on windows for testing diffs ([#7299](https://github.com/swc-project/swc/issues/7299)) ([3422923](https://github.com/swc-project/swc/commit/3422923cb004111f8c57501bb8b222905cf6bd09))
1364
1358
 
1365
- ### Miscellaneous Tasks
1366
-
1367
-
1368
-
1369
- - Update issue template to prevent useless issues ([#7303](https://github.com/swc-project/swc/issues/7303)) ([9816ba2](https://github.com/swc-project/swc/commit/9816ba27958af07399383fc995c49dc1ed3e3554))
1370
-
1371
1359
  ### Testing
1372
1360
 
1373
1361
 
@@ -1883,15 +1871,9 @@ Full refactor of the "calc" simplification to be more compliant with the spec. (
1883
1871
 
1884
1872
 
1885
1873
 
1886
- - **(bindings/node)** Fix `visitBindingIdentifier` ([#7000](https://github.com/swc-project/swc/issues/7000)) ([30cff01](https://github.com/swc-project/swc/commit/30cff016563d8925ef2b150a669ac4b6de968b82))
1887
-
1888
-
1889
1874
  - **(es)** Allow any kind of input source maps if it's enabled ([#7002](https://github.com/swc-project/swc/issues/7002)) ([da5367b](https://github.com/swc-project/swc/commit/da5367b3fbac2cf4ab7d7f4562d58be3cff0edf8))
1890
1875
 
1891
1876
 
1892
- - **(es/minifier)** Don't skip expressions with side effects from seq inliner ([#7007](https://github.com/swc-project/swc/issues/7007)) ([cfeb088](https://github.com/swc-project/swc/commit/cfeb088c37bdc2a5df79f10d2b93ce84cb12542b))
1893
-
1894
-
1895
1877
  - **(es/minifier)** Don't create invalid property names ([#7010](https://github.com/swc-project/swc/issues/7010)) ([bb2486c](https://github.com/swc-project/swc/commit/bb2486c4592214c19ee6a1aa747dda5e58a1b07d))
1896
1878
 
1897
1879
 
@@ -1910,56 +1892,15 @@ Full refactor of the "calc" simplification to be more compliant with the spec. (
1910
1892
  - **(es/minifier)** Optimize calls to `Boolean`/`Number`/`String`/`Symbol` ([#7006](https://github.com/swc-project/swc/issues/7006)) ([06cbb90](https://github.com/swc-project/swc/commit/06cbb9002da2bdc04440b6ace28432839f42ccdf))
1911
1893
 
1912
1894
 
1913
- - **(es/parser)** Support auto accessors ([#6981](https://github.com/swc-project/swc/issues/6981)) ([37533a2](https://github.com/swc-project/swc/commit/37533a23fde30fe054bf321e7ca7a10a346c2f79))
1914
-
1915
-
1916
- - **(es/parser)** Add an option to disallow ambiguous jsx ([#6913](https://github.com/swc-project/swc/issues/6913)) ([a6471f3](https://github.com/swc-project/swc/commit/a6471f34c0786bd0e80b3b4c5356929ebb0a8483))
1917
-
1918
-
1919
1895
  - **(es/transforms)** Add an option to drop unused imports ([#6962](https://github.com/swc-project/swc/issues/6962)) ([67d0a89](https://github.com/swc-project/swc/commit/67d0a89ae65d0efb07a43040b962735b5cc25ea8))
1920
1896
 
1921
1897
 
1922
1898
  - **(es/transforms)** Support namespace imports from `const_modules` ([#7013](https://github.com/swc-project/swc/issues/7013)) ([3cb03d5](https://github.com/swc-project/swc/commit/3cb03d5299d3c6be56f8b7f8c42ba86122640424))
1923
1899
 
1924
-
1925
- - **(es/typescript)** Support `export type * from "mod"` ([#6867](https://github.com/swc-project/swc/issues/6867)) ([beb38d3](https://github.com/swc-project/swc/commit/beb38d34a26016051eb0ed364ea1112f416955ac))
1926
-
1927
1900
  ### Miscellaneous Tasks
1928
1901
 
1929
1902
 
1930
1903
 
1931
1904
  - **(ci)** Fix CI ([#7014](https://github.com/swc-project/swc/issues/7014)) ([a431a3a](https://github.com/swc-project/swc/commit/a431a3a204faebd283cb7db8359b048d9fcc9a87))
1932
1905
 
1933
- ### Refactor
1934
-
1935
-
1936
-
1937
- - **(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))
1938
-
1939
- ## [1.3.37] - 2023-02-28
1940
-
1941
- ### Bug Fixes
1942
-
1943
-
1944
-
1945
- - **(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))
1946
-
1947
-
1948
- - **(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))
1949
-
1950
-
1951
- - **(es/decorator)** Preserve evaluation order ([#6972](https://github.com/swc-project/swc/issues/6972)) ([703b340](https://github.com/swc-project/swc/commit/703b340d39c3efb69f4a0d375ab6e5a2f9a4acd9))
1952
-
1953
- ### Miscellaneous Tasks
1954
-
1955
-
1956
-
1957
- - **(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))
1958
-
1959
- ### Testing
1960
-
1961
-
1962
-
1963
- - **(es/tsc)** Update tsc test suite ([#6982](https://github.com/swc-project/swc/issues/6982)) ([b887b30](https://github.com/swc-project/swc/commit/b887b30092c77ec67eedb7f1dd0b5570a1a16eea))
1964
-
1965
1906
  <!-- generated by git-cliff -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.93-nightly.20231011.1",
3
+ "version": "1.3.93",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -47,7 +47,7 @@
47
47
  "types": "./index.d.ts",
48
48
  "scripts": {
49
49
  "changelog": "git cliff --output CHANGELOG.md",
50
- "prepare": "husky install && git config feature.manyFiles true && node ./crates/swc_ecma_preset_env/scripts/copy-data.js",
50
+ "setup": "husky install && git config feature.manyFiles true && node ./crates/swc_ecma_preset_env/scripts/copy-data.js",
51
51
  "postinstall": "node postinstall.js",
52
52
  "artifacts": "napi artifacts --dist scripts/npm",
53
53
  "prepublishOnly": "tsc -d && napi prepublish -p scripts/npm --tagstyle npm",
@@ -148,16 +148,16 @@
148
148
  "url": "https://opencollective.com/swc"
149
149
  },
150
150
  "optionalDependencies": {
151
- "@swc/core-win32-x64-msvc": "1.3.93-nightly.20231011.1",
152
- "@swc/core-darwin-x64": "1.3.93-nightly.20231011.1",
153
- "@swc/core-linux-x64-gnu": "1.3.93-nightly.20231011.1",
154
- "@swc/core-linux-x64-musl": "1.3.93-nightly.20231011.1",
155
- "@swc/core-win32-ia32-msvc": "1.3.93-nightly.20231011.1",
156
- "@swc/core-linux-arm64-gnu": "1.3.93-nightly.20231011.1",
157
- "@swc/core-linux-arm-gnueabihf": "1.3.93-nightly.20231011.1",
158
- "@swc/core-darwin-arm64": "1.3.93-nightly.20231011.1",
159
- "@swc/core-linux-arm64-musl": "1.3.93-nightly.20231011.1",
160
- "@swc/core-win32-arm64-msvc": "1.3.93-nightly.20231011.1"
151
+ "@swc/core-win32-x64-msvc": "1.3.93",
152
+ "@swc/core-darwin-x64": "1.3.93",
153
+ "@swc/core-linux-x64-gnu": "1.3.93",
154
+ "@swc/core-linux-x64-musl": "1.3.93",
155
+ "@swc/core-win32-ia32-msvc": "1.3.93",
156
+ "@swc/core-linux-arm64-gnu": "1.3.93",
157
+ "@swc/core-linux-arm-gnueabihf": "1.3.93",
158
+ "@swc/core-darwin-arm64": "1.3.93",
159
+ "@swc/core-linux-arm64-musl": "1.3.93",
160
+ "@swc/core-win32-arm64-msvc": "1.3.93"
161
161
  },
162
162
  "files": [
163
163
  "CHANGELOG.md",