@swc/core 1.3.38 → 1.3.39

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 (3) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/README.md +1 -1
  3. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,62 @@
5
5
 
6
6
 
7
7
 
8
+ - **(es/minifier)** Bailout regex optimization on invalid flags (#7020) ([1318afe](https://github.com/swc-project/swc/commit/1318afe2b4a7a25233db5760b785605019b9f06b))
9
+
10
+
11
+ - **(es/transforms)** Handle member object in missing else branch (#7027) ([5c7c8e0](https://github.com/swc-project/swc/commit/5c7c8e073634ff6347194fa0e3fae8c83b64718c))
12
+
13
+
14
+ - **(es/transforms)** Handle object shorthand in `const_modules` (#7022) ([0314869](https://github.com/swc-project/swc/commit/0314869464f59748a6a44980ade4dc1eda39ac3b))
15
+
16
+ ### Documentation
17
+ - **general**: MSRV ([32bc2f5](https://github.com/swc-project/swc/commit/32bc2f57be06997497d2ad43c2168efb3daaa435))
18
+
19
+ ### Features
20
+
21
+
22
+
23
+ - **(common)** Add an API to create a `SourceFile` without allocation (#7029) ([81495f5](https://github.com/swc-project/swc/commit/81495f5f21d56df7a187847337c9fdd2ff8ee73b))
24
+
25
+ ### Miscellaneous Tasks
26
+
27
+
28
+
29
+ - **(ci)** Fix bot ([691a8c1](https://github.com/swc-project/swc/commit/691a8c1a5490cc6fa05ad2bb59cfc7c4d370056f))
30
+
31
+ ### Performance
32
+
33
+
34
+
35
+ - **(atoms)** Update `string-cache` for per-bucket mutex (#6980) ([9841f0b](https://github.com/swc-project/swc/commit/9841f0b5d14736d780c9864eb9bf7609f9ff2840))
36
+
37
+
38
+ - **(es/ast)** Shrink size of `Expr` (#7041) ([a9fe1d2](https://github.com/swc-project/swc/commit/a9fe1d2d2228ba89fccb2a5d91f5ac4008f09d01))
39
+
40
+
41
+ - **(es/lexer)** Use string searcher for lexing line comments (#7043) ([962b0fc](https://github.com/swc-project/swc/commit/962b0fc8af6084ade064d189ed7cd7f0e2b25ee8))
42
+
43
+
44
+ - **(es/parser)** Use Cow for `_` in numeric literals (#7031) ([30546a2](https://github.com/swc-project/swc/commit/30546a28f21eb90bbbaef33ce4bc0448cd062a72))
45
+
46
+
47
+ - **(es/parser)** Use `SmartString` as the buffer (#7033) ([f378a14](https://github.com/swc-project/swc/commit/f378a14888b5a6457ade3991e2754f235d4e3d85))
48
+
49
+
50
+ - **(es/utils)** Introduce `NodeIgnoringSpan` (#7030) ([8bfef35](https://github.com/swc-project/swc/commit/8bfef35c1be5790b32fea253f28961271fe7f619))
51
+
52
+ ### Testing
53
+
54
+
55
+
56
+ - **(es/quote)** Fix doctests (#7038) ([e698a34](https://github.com/swc-project/swc/commit/e698a348162e43b11347d2a6139910e096291f59))
57
+
58
+ ## [1.3.38] - 2023-03-06
59
+
60
+ ### Bug Fixes
61
+
62
+
63
+
8
64
  - **(bindings/node)** Fix `visitBindingIdentifier` (#7000) ([30cff01](https://github.com/swc-project/swc/commit/30cff016563d8925ef2b150a669ac4b6de968b82))
9
65
 
10
66
 
package/README.md CHANGED
@@ -46,7 +46,7 @@ Also, SWC tries to ensure that
46
46
 
47
47
  for rust users.
48
48
 
49
- MSRV of crates named `swc_ecma_*` is the current stable, and nightly for others.
49
+ MSRV of crates is currently nightly, but we will support stable rustc again in the future.
50
50
 
51
51
  ---
52
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.38",
3
+ "version": "1.3.39",
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.38",
142
- "@swc/core-darwin-x64": "1.3.38",
143
- "@swc/core-linux-x64-gnu": "1.3.38",
144
- "@swc/core-linux-x64-musl": "1.3.38",
145
- "@swc/core-win32-ia32-msvc": "1.3.38",
146
- "@swc/core-linux-arm64-gnu": "1.3.38",
147
- "@swc/core-linux-arm-gnueabihf": "1.3.38",
148
- "@swc/core-darwin-arm64": "1.3.38",
149
- "@swc/core-linux-arm64-musl": "1.3.38",
150
- "@swc/core-win32-arm64-msvc": "1.3.38"
141
+ "@swc/core-win32-x64-msvc": "1.3.39",
142
+ "@swc/core-darwin-x64": "1.3.39",
143
+ "@swc/core-linux-x64-gnu": "1.3.39",
144
+ "@swc/core-linux-x64-musl": "1.3.39",
145
+ "@swc/core-win32-ia32-msvc": "1.3.39",
146
+ "@swc/core-linux-arm64-gnu": "1.3.39",
147
+ "@swc/core-linux-arm-gnueabihf": "1.3.39",
148
+ "@swc/core-darwin-arm64": "1.3.39",
149
+ "@swc/core-linux-arm64-musl": "1.3.39",
150
+ "@swc/core-win32-arm64-msvc": "1.3.39"
151
151
  },
152
152
  "files": [
153
153
  "CHANGELOG.md",