swc-plugin-import-meta-env 1.9.3 → 1.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swc-plugin-import-meta-env",
3
- "version": "1.9.3",
3
+ "version": "1.10.1",
4
4
  "description": "@swc plugin for handling the transformation of import.meta.env",
5
5
  "author": "Alex Miller <codex.nz@gmail.com>",
6
6
  "homepage": "https://github.com/Codex-/swc-plugin-import-meta-env#readme",
@@ -18,14 +18,14 @@
18
18
  ],
19
19
  "main": "swc_plugin_import_meta_env.wasm",
20
20
  "scripts": {
21
- "build": "cargo build-wasi",
21
+ "build": "cargo build-wasip1",
22
22
  "build:release": "pnpm run build --release",
23
23
  "preinstall": "npx only-allow pnpm",
24
- "prepublishOnly": "cargo build-wasi --release",
25
- "prepack": "pnpm run build:release && cp target/wasm32-wasi/release/swc_plugin_import_meta_env.wasm .",
24
+ "prepublishOnly": "cargo build-wasip1 --release",
25
+ "prepack": "pnpm run build:release && cp target/wasm32-wasip1/release/swc_plugin_import_meta_env.wasm .",
26
26
  "release": "release-it",
27
27
  "test": "pnpm run test:setup && pnpm run test:unit && pnpm run test:integration",
28
- "test:setup": "pnpm run build && cp target/wasm32-wasi/debug/swc_plugin_import_meta_env.wasm .",
28
+ "test:setup": "pnpm run build && cp target/wasm32-wasip1/debug/swc_plugin_import_meta_env.wasm .",
29
29
  "test:unit": "cargo test --color always",
30
30
  "test:integration": "pnpm exec jest --config ./tests/integration/jest.config.cjs --no-cache"
31
31
  },
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "preferUnplugged": true,
36
36
  "devDependencies": {
37
- "@swc/core": "^1.9.3",
37
+ "@swc/core": "^1.10.1",
38
38
  "@swc/jest": "^0.2.37",
39
39
  "@types/jest": "^29.5.14",
40
40
  "auto-changelog": "^2.5.0",
@@ -42,6 +42,6 @@
42
42
  "release-it": "^17.10.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@swc/core": "^1.9.3"
45
+ "@swc/core": "^1.10.1"
46
46
  }
47
47
  }
Binary file