wxt 0.12.4 → 0.12.5

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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.12.4";
2
+ var version = "0.12.5";
3
3
 
4
4
  // src/core/utils/arrays.ts
5
5
  function every(array, predicate) {
@@ -868,7 +868,7 @@ function noopBackground() {
868
868
  },
869
869
  load(id) {
870
870
  if (id === resolvedVirtualModuleId) {
871
- return `import { defineBackground } from 'wxt/client';
871
+ return `import { defineBackground } from 'wxt/sandbox';
872
872
  export default defineBackground(() => void 0)`;
873
873
  }
874
874
  }
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import "./chunk-VBXJIVYU.js";
4
4
  import cac from "cac";
5
5
 
6
6
  // package.json
7
- var version = "0.12.4";
7
+ var version = "0.12.5";
8
8
 
9
9
  // src/core/utils/fs.ts
10
10
  import fs from "fs-extra";
@@ -1186,7 +1186,7 @@ function noopBackground() {
1186
1186
  },
1187
1187
  load(id) {
1188
1188
  if (id === resolvedVirtualModuleId) {
1189
- return `import { defineBackground } from 'wxt/client';
1189
+ return `import { defineBackground } from 'wxt/sandbox';
1190
1190
  export default defineBackground(() => void 0)`;
1191
1191
  }
1192
1192
  }
package/dist/index.cjs CHANGED
@@ -3607,7 +3607,7 @@ function noopBackground() {
3607
3607
  },
3608
3608
  load(id) {
3609
3609
  if (id === resolvedVirtualModuleId) {
3610
- return `import { defineBackground } from 'wxt/client';
3610
+ return `import { defineBackground } from 'wxt/sandbox';
3611
3611
  export default defineBackground(() => void 0)`;
3612
3612
  }
3613
3613
  }
@@ -4334,7 +4334,7 @@ function getChunkSortWeight(filename) {
4334
4334
  var import_picocolors3 = __toESM(require("picocolors"), 1);
4335
4335
 
4336
4336
  // package.json
4337
- var version = "0.12.4";
4337
+ var version = "0.12.5";
4338
4338
 
4339
4339
  // src/core/utils/log/printHeader.ts
4340
4340
  var import_consola2 = require("consola");
package/dist/index.d.cts CHANGED
@@ -62,6 +62,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
62
62
  */
63
63
  declare function zip(config?: InlineConfig): Promise<string[]>;
64
64
 
65
- var version = "0.12.4";
65
+ var version = "0.12.5";
66
66
 
67
67
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.d.ts CHANGED
@@ -62,6 +62,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
62
62
  */
63
63
  declare function zip(config?: InlineConfig): Promise<string[]>;
64
64
 
65
- var version = "0.12.4";
65
+ var version = "0.12.5";
66
66
 
67
67
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  rebuild,
16
16
  resolvePerBrowserOption,
17
17
  version
18
- } from "./chunk-GPKQ6U2A.js";
18
+ } from "./chunk-JK5CNMJT.js";
19
19
  import "./chunk-VBXJIVYU.js";
20
20
 
21
21
  // src/core/build.ts
package/dist/testing.cjs CHANGED
@@ -441,7 +441,7 @@ function noopBackground() {
441
441
  },
442
442
  load(id) {
443
443
  if (id === resolvedVirtualModuleId) {
444
- return `import { defineBackground } from 'wxt/client';
444
+ return `import { defineBackground } from 'wxt/sandbox';
445
445
  export default defineBackground(() => void 0)`;
446
446
  }
447
447
  }
package/dist/testing.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  tsconfigPaths,
6
6
  unimport,
7
7
  webextensionPolyfillMock
8
- } from "./chunk-GPKQ6U2A.js";
8
+ } from "./chunk-JK5CNMJT.js";
9
9
  import "./chunk-VBXJIVYU.js";
10
10
 
11
11
  // src/testing/fake-browser.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.12.4",
4
+ "version": "0.12.5",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "engines": {
7
7
  "node": ">=18",