@swc/core 1.3.92 → 1.3.93-nightly.20231011.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +71 -70
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,74 @@
5
5
 
6
6
 
7
7
 
8
+ - **(ci)** Fix CI ([#8079](https://github.com/swc-project/swc/issues/8079)) ([7073e83](https://github.com/swc-project/swc/commit/7073e83f65ed5e98ee294c8e366a80b0a0f5921f))
9
+
10
+
11
+ - **(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))
12
+
13
+
14
+ - **(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))
15
+
16
+
17
+ - **(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))
18
+
19
+
20
+ - **(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))
21
+
22
+
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
+
25
+
26
+ - **(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
+
28
+ ### Features
29
+
30
+
31
+
32
+ - **(css/parser)** Store lexed comments ([#8091](https://github.com/swc-project/swc/issues/8091)) ([d1097cc](https://github.com/swc-project/swc/commit/d1097ccb599c4343e3f80ca9bd793bbfce424e8b))
33
+
34
+ ### Miscellaneous Tasks
35
+
36
+
37
+
38
+ - **(ci)** Remove unused concurrency tests ([#8100](https://github.com/swc-project/swc/issues/8100)) ([226b17f](https://github.com/swc-project/swc/commit/226b17fa868f8d9580c7ed61dd32f5db1c838982))
39
+
40
+
41
+ - **(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
+
43
+
44
+ - **(xtask)** Migrate scripts to xtask ([#8072](https://github.com/swc-project/swc/issues/8072)) ([a5621bb](https://github.com/swc-project/swc/commit/a5621bb30a665c8022d7004ccde53f574443cbe1))
45
+
46
+
47
+ - **(xtask)** Add `git reduce core-ver` ([#8088](https://github.com/swc-project/swc/issues/8088)) ([3b449e3](https://github.com/swc-project/swc/commit/3b449e3bcaaf90ae72493133e7c88099b0733ebc))
48
+
49
+
50
+ - **(xtask)** Add `--features` to `xtask bench` ([#8094](https://github.com/swc-project/swc/issues/8094)) ([f5d7acf](https://github.com/swc-project/swc/commit/f5d7acfa10b579e031c8f64deabe0ee39e4461ab))
51
+
52
+
53
+ - **(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
+
55
+
56
+ - Use `cargo xtask` ([#8068](https://github.com/swc-project/swc/issues/8068)) ([6420aef](https://github.com/swc-project/swc/commit/6420aefca5bd22af3a75b7ad34741509ed35377a))
57
+
58
+ ### Refactor
59
+
60
+
61
+
62
+ - **(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
+
64
+
65
+ - **(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
+
67
+
68
+ - **(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
+
70
+ ## [1.3.92] - 2023-10-05
71
+
72
+ ### Bug Fixes
73
+
74
+
75
+
8
76
  - **(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
77
 
10
78
 
@@ -46,6 +114,9 @@
46
114
 
47
115
  - Update nissuer.yml ([#8060](https://github.com/swc-project/swc/issues/8060)) ([a2f1010](https://github.com/swc-project/swc/commit/a2f1010b4e312d972d901705da971b887b1b254a))
48
116
 
117
+
118
+ - Add `evanw.github.io` to the allowed repro hosts ([c26ee63](https://github.com/swc-project/swc/commit/c26ee63839df040644082ed6ff88bd2571c3af44))
119
+
49
120
  ### Refactor
50
121
 
51
122
 
@@ -1891,74 +1962,4 @@ Full refactor of the "calc" simplification to be more compliant with the spec. (
1891
1962
 
1892
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))
1893
1964
 
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
1965
  <!-- generated by git-cliff -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.92",
3
+ "version": "1.3.93-nightly.20231011.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.92",
152
- "@swc/core-darwin-x64": "1.3.92",
153
- "@swc/core-linux-x64-gnu": "1.3.92",
154
- "@swc/core-linux-x64-musl": "1.3.92",
155
- "@swc/core-win32-ia32-msvc": "1.3.92",
156
- "@swc/core-linux-arm64-gnu": "1.3.92",
157
- "@swc/core-linux-arm-gnueabihf": "1.3.92",
158
- "@swc/core-darwin-arm64": "1.3.92",
159
- "@swc/core-linux-arm64-musl": "1.3.92",
160
- "@swc/core-win32-arm64-msvc": "1.3.92"
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"
161
161
  },
162
162
  "files": [
163
163
  "CHANGELOG.md",