Skip to content

Commit bdf795c

Browse files
authored
chore(deps): Upgrade project subdependencies (#1882)
1 parent ab73084 commit bdf795c

File tree

2 files changed

+1441
-2245
lines changed

2 files changed

+1441
-2245
lines changed

packages/wxt/e2e/tests/output-structure.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ describe('Output Directory Structure', () => {
345345
.toMatchInlineSnapshot(`
346346
".output/chrome-mv3/background.js
347347
----------------------------------------
348-
var _a, _b;
349348
import { l as logHello, i as initPlugins } from "./chunks/_virtual_wxt-plugins-OjKtWpmY.js";
350349
function defineBackground(arg) {
351350
if (arg == null || typeof arg === "function") return { main: arg };
@@ -357,7 +356,7 @@ describe('Output Directory Structure', () => {
357356
logHello("background");
358357
}
359358
});
360-
((_b = (_a = globalThis.browser) == null ? void 0 : _a.runtime) == null ? void 0 : _b.id) ? globalThis.browser : globalThis.chrome;
359+
globalThis.browser?.runtime?.id ? globalThis.browser : globalThis.chrome;
361360
function print(method, ...args) {
362361
return;
363362
}
@@ -423,9 +422,8 @@ describe('Output Directory Structure', () => {
423422
.toMatchInlineSnapshot(`
424423
".output/chrome-mv3/background.js
425424
----------------------------------------
426-
var background = function() {
425+
var background = (function() {
427426
"use strict";
428-
var _a, _b;
429427
function defineBackground(arg) {
430428
if (arg == null || typeof arg === "function") return { main: arg };
431429
return arg;
@@ -440,7 +438,7 @@ describe('Output Directory Structure', () => {
440438
});
441439
function initPlugins() {
442440
}
443-
((_b = (_a = globalThis.browser) == null ? void 0 : _a.runtime) == null ? void 0 : _b.id) ? globalThis.browser : globalThis.chrome;
441+
globalThis.browser?.runtime?.id ? globalThis.browser : globalThis.chrome;
444442
function print(method, ...args) {
445443
return;
446444
}
@@ -465,7 +463,7 @@ describe('Output Directory Structure', () => {
465463
}
466464
const result$1 = result;
467465
return result$1;
468-
}();
466+
})();
469467
"
470468
`);
471469
});

0 commit comments

Comments
 (0)