@swc/core 1.3.59 → 1.3.61

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 +91 -0
  2. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -5,6 +5,97 @@
5
5
 
6
6
 
7
7
 
8
+ - **(css/modules)** Don't drop the correct selector (#7450) ([d370324](https://github.com/swc-project/swc/commit/d370324cfd251af49853fe887644fcaa8d811431))
9
+
10
+
11
+ - **(es/codegen)** Emit `;` for `TsImportEqualsDecl` (#7464) ([3935d02](https://github.com/swc-project/swc/commit/3935d02e365c2fcfdf517fe6dc5943f4ba2616cd))
12
+
13
+
14
+ - **(es/parser)** Fix parsing of generic jsx element name (#7449) ([77850dd](https://github.com/swc-project/swc/commit/77850dd8f01f51af1e9dda3eabddd07b7e39c841))
15
+
16
+
17
+ - **(plugin/runner)** Disable `wasi_env` cleanup (#7458) ([1868d36](https://github.com/swc-project/swc/commit/1868d36cfed54e48c3439ec4547251e45731c93a))
18
+
19
+ ### Features
20
+
21
+
22
+
23
+ - **(common)** Enable bytecheck for missing structs (#7465) ([56ac9eb](https://github.com/swc-project/swc/commit/56ac9eb6b3c8cc379ee4ccf55d6130e39aa641b8))
24
+
25
+
26
+ - **(es/minifier)** Inline for loop variables (#7445) ([0cd2b61](https://github.com/swc-project/swc/commit/0cd2b61b054031f1a49cae25a82925d52dff0a73))
27
+
28
+ ### Miscellaneous Tasks
29
+
30
+
31
+
32
+ - **(es/preset-env)** Update data (#7459) ([e15adaf](https://github.com/swc-project/swc/commit/e15adaf6eaada62b6a3c1b8447fb39612dee7946))
33
+
34
+ ### Testing
35
+
36
+
37
+
38
+ - **(es/parser)** Add a test for a fixed issue (#7467) ([8274cce](https://github.com/swc-project/swc/commit/8274cce9a7d0aca8d005a215b46f7db9ed7c5aed))
39
+
40
+ ## [1.3.60] - 2023-05-25
41
+
42
+ ### Bug Fixes
43
+
44
+
45
+
46
+ - **(es)** Init filesystem cache only if plugin exists (#7436) ([786cf3a](https://github.com/swc-project/swc/commit/786cf3a10ffe5e2990c5473062ea42771b769124))
47
+
48
+
49
+ - **(es)** Ignore input sourcemap error (#7446) ([0c92e53](https://github.com/swc-project/swc/commit/0c92e534a5e3ccc74077ac03c473ad2c12fd5349))
50
+
51
+
52
+ - **(es/compat)** Fix destructuring handling of `block_scoping` (#7425) ([66d52ec](https://github.com/swc-project/swc/commit/66d52ec849f3ed2b33db0a3738f5692cb8fa2400))
53
+
54
+
55
+ - **(es/compat)** Fix stage 3 decorator pass (#7392) ([97d0f79](https://github.com/swc-project/swc/commit/97d0f79142ec8ac6d1795b5c56cc565ca9b0a085))
56
+
57
+
58
+ - **(es/compat)** Fix variable scoping of object rest pass. (#7437) ([f3d660f](https://github.com/swc-project/swc/commit/f3d660f972a9fef7ee0783125655c4873a5d43fe))
59
+
60
+
61
+ - **(es/parser)** Reset class context (#7433) ([1cab43f](https://github.com/swc-project/swc/commit/1cab43f17deb35ef7e9a4b2c229327edc0f87756))
62
+
63
+
64
+ - **(es/parser)** Allow using `package` as a parameter name in interface (#7438) ([33a922b](https://github.com/swc-project/swc/commit/33a922b6f8c8362b46fe8547e9d327a4d82520a4))
65
+
66
+
67
+ - **(es/parser)** Fix parsing of tsx with a type annotation in a conditional expression (#7440) ([a37d59a](https://github.com/swc-project/swc/commit/a37d59a134b2a046b50bb5e70c694130227e0d9e))
68
+
69
+
70
+ - **(es/preset-env)** Fix pass ordering (#7434) ([2071f89](https://github.com/swc-project/swc/commit/2071f89d4eea7ae311b05457650e2f42c1b503ef))
71
+
72
+
73
+ - **(swc_core)** Correctly expose plugin with host (#7427) ([558ca40](https://github.com/swc-project/swc/commit/558ca40b99bd3e9ac9a1742223dd9d3ef84061cb))
74
+
75
+ ### Features
76
+
77
+
78
+
79
+ - **(plugin/runner)** Enable in-memory precompiled module cache (#7420) ([f8fe365](https://github.com/swc-project/swc/commit/f8fe365c3b888bbe49e011a616b6926c9ef24fa2))
80
+
81
+ ### Refactor
82
+
83
+
84
+
85
+ - **(plugin/runner)** Add attributes to the module bytes (#7419) ([c03a74c](https://github.com/swc-project/swc/commit/c03a74c19819cb0cfc8a47cd9b2c1e558355d40d))
86
+
87
+
88
+ - **(swc_core)** Make `common_plugin_transform` agnostic to mode (#7422) ([cfdd407](https://github.com/swc-project/swc/commit/cfdd40789673eef32a9b9365456860a7cb511000))
89
+
90
+
91
+ - **(visit)** Reduce expanded LOCs (#7442) ([e83368e](https://github.com/swc-project/swc/commit/e83368e5744ebabab8537cb979a374ecbc2e7d95))
92
+
93
+ ## [1.3.59] - 2023-05-19
94
+
95
+ ### Bug Fixes
96
+
97
+
98
+
8
99
  - **(common)** Disable `tracing/release_max_level_info` (#7401) ([95291f2](https://github.com/swc-project/swc/commit/95291f2c5daaf039623b4db4668a91104c0c0124))
9
100
 
10
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.3.59",
3
+ "version": "1.3.61",
4
4
  "description": "Super-fast alternative for babel",
5
5
  "homepage": "https://swc.rs",
6
6
  "main": "./index.js",
@@ -145,16 +145,16 @@
145
145
  "url": "https://opencollective.com/swc"
146
146
  },
147
147
  "optionalDependencies": {
148
- "@swc/core-win32-x64-msvc": "1.3.59",
149
- "@swc/core-darwin-x64": "1.3.59",
150
- "@swc/core-linux-x64-gnu": "1.3.59",
151
- "@swc/core-linux-x64-musl": "1.3.59",
152
- "@swc/core-win32-ia32-msvc": "1.3.59",
153
- "@swc/core-linux-arm64-gnu": "1.3.59",
154
- "@swc/core-linux-arm-gnueabihf": "1.3.59",
155
- "@swc/core-darwin-arm64": "1.3.59",
156
- "@swc/core-linux-arm64-musl": "1.3.59",
157
- "@swc/core-win32-arm64-msvc": "1.3.59"
148
+ "@swc/core-win32-x64-msvc": "1.3.61",
149
+ "@swc/core-darwin-x64": "1.3.61",
150
+ "@swc/core-linux-x64-gnu": "1.3.61",
151
+ "@swc/core-linux-x64-musl": "1.3.61",
152
+ "@swc/core-win32-ia32-msvc": "1.3.61",
153
+ "@swc/core-linux-arm64-gnu": "1.3.61",
154
+ "@swc/core-linux-arm-gnueabihf": "1.3.61",
155
+ "@swc/core-darwin-arm64": "1.3.61",
156
+ "@swc/core-linux-arm64-musl": "1.3.61",
157
+ "@swc/core-win32-arm64-msvc": "1.3.61"
158
158
  },
159
159
  "files": [
160
160
  "CHANGELOG.md",