Skip to content

Commit 67f3561

Browse files
authored
chore(deps): Bump dev and non-breaking major dependencies (#1167)
1 parent 5c7b609 commit 67f3561

File tree

16 files changed

+299
-288
lines changed

16 files changed

+299
-288
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"fs-extra": "^11.2.0",
2828
"lint-staged": "^15.2.10",
2929
"markdown-it-footnote": "^4.0.0",
30-
"nano-spawn": "^0.1.0",
30+
"nano-spawn": "^0.2.0",
3131
"prettier": "^3.3.3",
3232
"simple-git-hooks": "^2.11.1",
3333
"tsx": "4.15.7",

packages/auto-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"devDependencies": {
4848
"@aklinker1/check": "^1.4.5",
49-
"oxlint": "^0.9.10",
49+
"oxlint": "^0.11.1",
5050
"publint": "^0.2.12",
5151
"typescript": "^5.6.3",
5252
"unbuild": "^2.0.0",

packages/i18n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
},
4040
"devDependencies": {
4141
"@aklinker1/check": "^1.4.5",
42-
"@types/chrome": "^0.0.268",
42+
"@types/chrome": "^0.0.280",
4343
"@types/node": "^20.17.6",
44-
"oxlint": "^0.9.10",
44+
"oxlint": "^0.11.1",
4545
"publint": "^0.2.12",
4646
"typescript": "^5.6.3",
4747
"unbuild": "^2.0.0",

packages/unocss/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
},
4242
"devDependencies": {
4343
"@aklinker1/check": "^1.4.5",
44-
"oxlint": "^0.9.10",
44+
"oxlint": "^0.11.1",
4545
"publint": "^0.2.12",
4646
"typescript": "^5.6.3",
4747
"unbuild": "^2.0.0",
48-
"unocss": "^0.63.6",
48+
"unocss": "^0.64.0",
4949
"wxt": "workspace:*"
5050
},
5151
"dependencies": {

packages/wxt-demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
"react-dom": "^18.3.1"
2323
},
2424
"devDependencies": {
25-
"@types/chrome": "^0.0.269",
25+
"@types/chrome": "^0.0.280",
2626
"@types/react": "^18.3.12",
2727
"@types/react-dom": "^18.3.1",
2828
"@wxt-dev/auto-icons": "workspace:*",
2929
"@wxt-dev/unocss": "workspace:*",
3030
"sass": "^1.80.7",
3131
"typescript": "^5.6.3",
32-
"unocss": "^0.63.6",
32+
"unocss": "^0.64.0",
3333
"vitest": "^2.1.4",
3434
"vitest-plugin-random-seed": "^1.1.0",
3535
"wxt": "workspace:*"

packages/wxt/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
},
8383
"dependencies": {
8484
"@aklinker1/rollup-plugin-visualizer": "5.12.0",
85-
"@types/chrome": "^0.0.269",
86-
"@types/webextension-polyfill": "^0.10.7",
85+
"@types/chrome": "^0.0.280",
86+
"@types/webextension-polyfill": "^0.12.1",
8787
"@webext-core/fake-browser": "^1.3.1",
8888
"@webext-core/isolated-element": "^1.1.2",
8989
"@webext-core/match-patterns": "^1.0.3",
@@ -110,7 +110,7 @@
110110
"linkedom": "^0.18.5",
111111
"magicast": "^0.3.5",
112112
"minimatch": "^10.0.1",
113-
"nano-spawn": "^0.1.0",
113+
"nano-spawn": "^0.2.0",
114114
"normalize-path": "^3.0.0",
115115
"nypm": "^0.3.12",
116116
"ohash": "^1.1.4",
@@ -129,16 +129,16 @@
129129
},
130130
"devDependencies": {
131131
"@aklinker1/check": "^1.4.5",
132-
"@faker-js/faker": "^8.4.1",
132+
"@faker-js/faker": "^9.2.0",
133133
"@types/fs-extra": "^11.0.4",
134134
"@types/lodash.merge": "^4.6.9",
135135
"@types/node": "^20.17.6",
136136
"@types/normalize-path": "^3.0.2",
137137
"@types/prompts": "^2.4.9",
138138
"extract-zip": "^2.0.1",
139-
"happy-dom": "^14.12.3",
139+
"happy-dom": "^15.11.4",
140140
"lodash.merge": "^4.6.2",
141-
"oxlint": "^0.9.10",
141+
"oxlint": "^0.11.1",
142142
"publint": "^0.2.12",
143143
"tsx": "4.15.7",
144144
"typescript": "^5.6.3",

packages/wxt/src/browser/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ export type {
8080
Theme,
8181
TopSites,
8282
Types,
83-
Urlbar,
8483
UserScripts,
8584
WebNavigation,
8685
WebRequest,

packages/wxt/src/core/utils/content-scripts.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export function hashContentScriptOptions(
2929
match_about_blank: false,
3030
run_at: 'document_idle',
3131
all_frames: false,
32-
// @ts-expect-error - not in type
3332
match_origin_as_fallback: false,
3433
world: 'ISOLATED',
3534
...simplifiedOptions,
@@ -62,7 +61,6 @@ export function mapWxtOptionsToContentScript(
6261
css,
6362
js,
6463

65-
// @ts-expect-error: untyped chrome options
6664
match_origin_as_fallback: options.matchOriginAsFallback,
6765
world: options.world,
6866
};
@@ -80,7 +78,6 @@ export function mapWxtOptionsToRegisteredContentScript(
8078
runAt: options.runAt,
8179
js,
8280
css,
83-
// @ts-expect-error: Chrome accepts this, not typed in webextension-polyfill (https://developer.chrome.com/docs/extensions/reference/scripting/#type-RegisteredContentScript)
8481
world: options.world,
8582
};
8683
}

packages/wxt/src/storage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ function createDriver(storageArea: StorageArea): WxtStorageDriver {
500500
return {
501501
getItem: async (key) => {
502502
const res = await getStorageArea().get(key);
503-
return res[key];
503+
return res[key] as any;
504504
},
505505
getItems: async (keys) => {
506506
const result = await getStorageArea().get(keys);
@@ -537,7 +537,7 @@ function createDriver(storageArea: StorageArea): WxtStorageDriver {
537537
},
538538
watch(key, cb) {
539539
const listener = (changes: Storage.StorageAreaOnChangedChangesType) => {
540-
const change = changes[key];
540+
const change = changes[key] as { newValue: any; oldValue: any };
541541
if (change == null) return;
542542
if (dequal(change.newValue, change.oldValue)) return;
543543
cb(change.newValue ?? null, change.oldValue ?? null);

0 commit comments

Comments
 (0)