@lingui/swc-plugin 4.0.1 → 4.0.3
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
|
@@ -85,18 +85,23 @@ SWC Plugin support is still experimental. They do not guarantee a semver backwar
|
|
|
85
85
|
|
|
86
86
|
So you need to select an appropriate version of the plugin to match compatible `swc_core`.
|
|
87
87
|
|
|
88
|
-
| Plugin Version | used `swc_core` | Compatibility
|
|
89
|
-
|
|
90
|
-
| `0.1.0`, `4.0.0-next.0` | `0.52.8` | `next@13.0.0` ~ `next@13.2.3`
|
|
91
|
-
| `0.2.*`, `4.0.0-next.1` ~ `4.0.0-next.3` | `0.56.1` | `@swc/core@1.3.29` ~ `@swc/core@1.3.37` <br/> `next@13.2.4-canary.0` ~ `next@13.2.5-canary.5`
|
|
92
|
-
| `4.0.0` | `0.75.33` | `@swc/core@1.3.49` ~ `@swc/core@1.3.57` <br/> `next@v13.3.1-canary.12` ~ `next@v13.4.3-canary.1`
|
|
93
|
-
| `4.0.1` | `0.76.0` |
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
| Plugin Version | used `swc_core` | Compatibility |
|
|
89
|
+
|------------------------------------------|-----------------|------------------------------------------------------------------------------------------------------|
|
|
90
|
+
| `0.1.0`, `4.0.0-next.0` | `0.52.8` | `next@13.0.0` ~ `next@13.2.3` |
|
|
91
|
+
| `0.2.*`, `4.0.0-next.1` ~ `4.0.0-next.3` | `0.56.1` | `@swc/core@1.3.29` ~ `@swc/core@1.3.37` <br/> `next@13.2.4-canary.0` ~ `next@13.2.5-canary.5` |
|
|
92
|
+
| `4.0.0` | `0.75.33` | `@swc/core@1.3.49` ~ `@swc/core@1.3.57` <br/> `next@v13.3.1-canary.12` ~ `next@v13.4.3-canary.1` |
|
|
93
|
+
| `4.0.1` | `0.76.0` | broken due to [`lto = true`](https://github.com/swc-project/swc/issues/7470#issuecomment-1571585905) |
|
|
94
|
+
| `4.0.2` | `0.76.41` | `@swc/core@1.3.58` ~ `@swc/core@1.3.62` <br/> `next@v13.4.3-canary.2` ~ |
|
|
95
|
+
| `4.0.3` | `0.78.28` | `@swc/core@1.3.63 ~ @swc/core@1.3.67` <br/> `next@v13.4.8` |
|
|
96
|
+
| n/a | `0.79.x` | `@swc/core@1.3.68` |
|
|
97
|
+
|
|
98
|
+
This table may become outdated. If you don't see a particular version of `@swc/core` or `next` check the compatibility by referring to the upstream's [Selecting the version](https://swc.rs/docs/plugin/selecting-swc-core) article.
|
|
96
99
|
This will help you select the appropriate plugin version for your project.
|
|
97
100
|
|
|
98
101
|
> **Note**
|
|
99
102
|
> next `v13.2.4` ~ `v13.3.1` cannot execute SWC Wasm plugins, due to a [bug of next-swc](https://github.com/vercel/next.js/issues/46989#issuecomment-1486989081).
|
|
103
|
+
>
|
|
104
|
+
> next `v13.4.3` ~ `v13.4.5-canary.7` cannot execute SWC Wasm plugins, due to [missing filesystem cache](https://github.com/vercel/next.js/pull/50651).
|
|
100
105
|
|
|
101
106
|
- Version `0.1.0` ~ `0.*` compatible with `@lingui/core@3.*`
|
|
102
107
|
- Version `4.*` compatible with `@lingui/core@4.*`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/swc-plugin",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "A SWC Plugin for LinguiJS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Timofei Iatsenko",
|
|
@@ -30,6 +30,16 @@
|
|
|
30
30
|
"files": [],
|
|
31
31
|
"packageManager": "yarn@3.3.1",
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@lingui/macro": "4"
|
|
33
|
+
"@lingui/macro": "4",
|
|
34
|
+
"@swc/core": "1.3.63 - 1.3.67",
|
|
35
|
+
"next": "13.4.8"
|
|
36
|
+
},
|
|
37
|
+
"peerDependenciesMeta": {
|
|
38
|
+
"@swc/core": {
|
|
39
|
+
"optional": true
|
|
40
|
+
},
|
|
41
|
+
"next": {
|
|
42
|
+
"optional": true
|
|
43
|
+
}
|
|
34
44
|
}
|
|
35
45
|
}
|
|
Binary file
|