swc-plugin-add-display-name 0.9.3 → 0.10.0
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.
package/README.md
CHANGED
|
@@ -176,20 +176,21 @@ ConnectedComponent.displayName = "ConnectedComponent";
|
|
|
176
176
|
|
|
177
177
|
### SWC Versions
|
|
178
178
|
|
|
179
|
-
SWC plugins
|
|
180
|
-
If your app won't compile after configuring this plugin,
|
|
181
|
-
please try to find a compatible version between this plugin and SWC.
|
|
179
|
+
SWC Wasm plugins are ABI-checked against the host `swc_core`. If those versions fall into different compatibility ranges, `@swc/core` refuses to load the plugin before any transform runs.
|
|
182
180
|
|
|
183
|
-
|
|
181
|
+
`0.10.0` is built against `swc_core` 78.0.0 and loads on `@swc/core` 1.16.x. Stay on `0.9.x` if the host is still `@swc/core` 1.15.x.
|
|
182
|
+
|
|
183
|
+
If your app won't compile after configuring this plugin, pick a row from the table below. You may also refer to:
|
|
184
184
|
- [Selecting the version](https://swc.rs/docs/plugin/selecting-swc-core)
|
|
185
185
|
- [SWC compatibility table](https://plugins.swc.rs/versions/range)
|
|
186
186
|
- [SWC plugin version mismatch](https://rspack.rs/errors/swc-plugin-version)
|
|
187
187
|
|
|
188
|
-
| swc-plugin-add-display-name | swc_core |
|
|
189
|
-
|
|
190
|
-
|
|
|
191
|
-
| >=0.
|
|
192
|
-
|
|
|
188
|
+
| swc-plugin-add-display-name | swc_core | @swc/core |
|
|
189
|
+
|-----------------------------|----------|-----------|
|
|
190
|
+
| >=0.10.0 | 78.0.0 | 1.16.x |
|
|
191
|
+
| >=0.9.0 <0.10.0 | 54.0.0 | 1.15.x |
|
|
192
|
+
| >=0.7.0 <0.9.0 | 46.0.3 | |
|
|
193
|
+
| ^0.6.0 | 31.1.0 | |
|
|
193
194
|
|
|
194
195
|
### Incorrect Results
|
|
195
196
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swc-plugin-add-display-name",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Automatically add displayName to top-level React functional components",
|
|
5
5
|
"author": "hjkcai <huajingkun1214@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@swc/cli": "^0.6.0",
|
|
20
|
-
"@swc/core": "^1.
|
|
20
|
+
"@swc/core": "^1.16.0"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
Binary file
|