@lingui/swc-plugin 4.0.2 → 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
@@ -91,15 +91,17 @@ So you need to select an appropriate version of the plugin to match compatible `
91
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
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
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` ~ |
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` |
95
97
 
96
- If this table becomes outdated, it is recommended to check the compatibility by referring to the upstream's [Selecting the version](https://swc.rs/docs/plugin/selecting-swc-core) article.
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.
97
99
  This will help you select the appropriate plugin version for your project.
98
100
 
99
101
  > **Note**
100
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).
101
103
  >
102
- > next `v13.4.3` ~ `latest` cannot execute SWC Wasm plugins, due to [missing filesystem cache](https://github.com/vercel/next.js/pull/50651).
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).
103
105
 
104
106
  - Version `0.1.0` ~ `0.*` compatible with `@lingui/core@3.*`
105
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.2",
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
  }