@swc/core 1.3.42 → 1.3.44

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 +80 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,86 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/codegen)** Preserve `raw` of numbers (#7131) ([150c2b6](https://github.com/swc-project/swc/commit/150c2b6fbaef976c6ee97438d1b9b7ffe4b210be))
9
+
10
+
11
+ - **(css/compat)** Remove usage of `box_syntax` (#7153) ([6f0bf66](https://github.com/swc-project/swc/commit/6f0bf665c29abaa64c60fb43053f96e465d3e041))
12
+
13
+
14
+ - **(es/compat)** Handle import/export in `reserved_word` (#7165) ([065d11c](https://github.com/swc-project/swc/commit/065d11cb9bd49f36825b3b707e4e9ecfcc64e17b))
15
+
16
+
17
+ - **(es/compat)** Fix the position for temp var injection (#7171) ([23fb8c5](https://github.com/swc-project/swc/commit/23fb8c5563a8e5f79d256bb27bdbdfd56944ccbc))
18
+
19
+
20
+ - **(es/react)** Respect `import_source` in new jsx (#7128) ([5d7acfd](https://github.com/swc-project/swc/commit/5d7acfd9cbbb9780879d0d7a046f716572a477f7))
21
+
22
+
23
+ - **(es/renamer)** Don't use symbols used by declarations if `eval` exists (#7116) ([6d9763e](https://github.com/swc-project/swc/commit/6d9763e8c0f5cef7689961e7eb11dc7199e8cd08))
24
+
25
+
26
+ - **(es/visit)** Fix handling of `Program` of `AndThen` (#7120) ([d50689e](https://github.com/swc-project/swc/commit/d50689eab0e82a68c84fcacdd8ce5c9009a65100))
27
+
28
+
29
+ - **(fast-graph)** Use fxhash instead of ahash to make iteration order consistent (#7133) ([b13eb4c](https://github.com/swc-project/swc/commit/b13eb4c81192a57a7e69b10a2d4530ccd91150f8))
30
+
31
+ ### Documentation
32
+
33
+
34
+
35
+ - **(es)** Fix doc url (#7123) ([1e4abcb](https://github.com/swc-project/swc/commit/1e4abcb11d4c5884cc6559db8e86ecd7fbd96e5d))
36
+
37
+ ### Features
38
+
39
+
40
+
41
+ - **(css/parser)** Add `legacy_ie` to the `ParserConfig` (#7109) ([5e58b3e](https://github.com/swc-project/swc/commit/5e58b3e5f6dfe6a7ede97c3e8a2f7436db964113))
42
+
43
+
44
+ - **(es/react)** Support script within automatic runtime (#7126) ([05a2815](https://github.com/swc-project/swc/commit/05a2815e6ceb6d12e122be4e4ef84281d398f8c2))
45
+
46
+ ### Miscellaneous Tasks
47
+
48
+
49
+
50
+ - **(cargo)** Refactor `Cargo.toml` to reduce merge conflict (#7139) ([2826198](https://github.com/swc-project/swc/commit/28261985b00c23fd1411a8f782c04439d4e4919c))
51
+
52
+ ### Refactor
53
+
54
+
55
+
56
+ - **(ast)** Make serde optional (#7138) ([30bc086](https://github.com/swc-project/swc/commit/30bc0860526c0983042c60a039a1f5acee47830c))
57
+
58
+
59
+ - **(es)** Remove needless build scripts to reduce compile time (#7129) ([dfe1a3f](https://github.com/swc-project/swc/commit/dfe1a3f4964ba58fdd676c184fdff0919fa78b26))
60
+
61
+
62
+ - **(es/codegen)** Extract code from generic functions to reduce compile time (#7127) ([08fa94f](https://github.com/swc-project/swc/commit/08fa94fc737c2c3522227c1275e4a1d93c2a8611))
63
+
64
+
65
+ - **(es/parser)** Remove `EnumKind` to reduce compile time (#7137) ([915f747](https://github.com/swc-project/swc/commit/915f747cb7ba972e47e249b5a5ba9573dd68f607))
66
+
67
+
68
+ - **(macros)** Reduce compile time (#7132) ([2154a3f](https://github.com/swc-project/swc/commit/2154a3f117d9ea7cc2f12856d6e7f2b33a255d26))
69
+
70
+ ### Build
71
+
72
+
73
+
74
+ - **(cargo)** Update `rustc` to `nightly-2023-03-28` (#7154) ([e445502](https://github.com/swc-project/swc/commit/e445502072d8ebfcbe0da0cb59f3d6a85d4a2087))
75
+
76
+
77
+ - **(cargo)** Revert rustc upgrade (#7162) ([12546c8](https://github.com/swc-project/swc/commit/12546c853a67210e840efd61452041ef8db00d3a))
78
+
79
+
80
+ - **(cargo)** Update `rustc` to `nightly-2023-03-20` (#7170) ([0259a74](https://github.com/swc-project/swc/commit/0259a7465fc5122cf2f297f962f7f0209f619251))
81
+
82
+ ## [1.3.42] - 2023-03-22
83
+
84
+ ### Bug Fixes
85
+
86
+
87
+
8
88
  - **(bindings/node)** Fix loading of `spack.config.js` (#7105) ([a4d1af1](https://github.com/swc-project/swc/commit/a4d1af18deabe79caa959eb654ca1ebc2d9f6867))
9
89
 
10
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.42",
3
+ "version": "1.3.44",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -138,16 +138,16 @@
138
138
  "url": "https://opencollective.com/swc"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@swc/core-win32-x64-msvc": "1.3.42",
142
- "@swc/core-darwin-x64": "1.3.42",
143
- "@swc/core-linux-x64-gnu": "1.3.42",
144
- "@swc/core-linux-x64-musl": "1.3.42",
145
- "@swc/core-win32-ia32-msvc": "1.3.42",
146
- "@swc/core-linux-arm64-gnu": "1.3.42",
147
- "@swc/core-linux-arm-gnueabihf": "1.3.42",
148
- "@swc/core-darwin-arm64": "1.3.42",
149
- "@swc/core-linux-arm64-musl": "1.3.42",
150
- "@swc/core-win32-arm64-msvc": "1.3.42"
141
+ "@swc/core-win32-x64-msvc": "1.3.44",
142
+ "@swc/core-darwin-x64": "1.3.44",
143
+ "@swc/core-linux-x64-gnu": "1.3.44",
144
+ "@swc/core-linux-x64-musl": "1.3.44",
145
+ "@swc/core-win32-ia32-msvc": "1.3.44",
146
+ "@swc/core-linux-arm64-gnu": "1.3.44",
147
+ "@swc/core-linux-arm-gnueabihf": "1.3.44",
148
+ "@swc/core-darwin-arm64": "1.3.44",
149
+ "@swc/core-linux-arm64-musl": "1.3.44",
150
+ "@swc/core-win32-arm64-msvc": "1.3.44"
151
151
  },
152
152
  "files": [
153
153
  "CHANGELOG.md",