Skip to content

Commit d2308bd

Browse files
authoredApr 9, 2025··
chore(deps): Update all dependencies (#1568)
1 parent d35972d commit d2308bd

File tree

13 files changed

+828
-905
lines changed

13 files changed

+828
-905
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"engines": {
55
"node": ">=18.20.3"
66
},
7-
"packageManager": "pnpm@10.5.2",
7+
"packageManager": "pnpm@10.8.0",
88
"scripts": {
99
"check": "check && pnpm -r --sequential run check",
1010
"test": "pnpm -r --sequential run test run",

‎packages/storage/src/__tests__/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ describe('Storage Utils', () => {
979979

980980
const actual = await item.getMeta();
981981

982-
expect(actual).toBe(expected);
982+
expect(actual).toEqual(expected);
983983
});
984984

985985
it('should return an empty object if missing', async () => {

‎packages/wxt/src/core/builders/vite/plugins/devHtmlPrerender.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { getEntrypointName } from '../../../utils/entrypoints';
44
import { parseHTML } from 'linkedom';
55
import { dirname, relative, resolve } from 'node:path';
66
import { normalizePath } from '../../../utils/paths';
7-
import { murmurHash } from 'ohash';
7+
import { hash } from 'ohash';
88

99
// Stored outside the plugin to effect all instances of the devHtmlPrerender plugin.
10-
const inlineScriptContents: Record<number, string> = {};
10+
const inlineScriptContents: Record<string, string> = {};
1111

1212
/**
1313
* Pre-renders the HTML entrypoints when building the extension to connect to the dev server.
@@ -85,13 +85,13 @@ export function devHtmlPrerender(
8585
inlineScripts.forEach((script) => {
8686
// Save the text content for later
8787
const textContent = script.textContent ?? '';
88-
const hash = murmurHash(textContent);
89-
inlineScriptContents[hash] = textContent;
88+
const textHash = hash(textContent);
89+
inlineScriptContents[textHash] = textContent;
9090

9191
// Replace unsafe inline script
9292
const virtualScript = document.createElement('script');
9393
virtualScript.type = 'module';
94-
virtualScript.src = `${server.origin}/@id/${virtualInlineScript}?${hash}`;
94+
virtualScript.src = `${server.origin}/@id/${virtualInlineScript}?${textHash}`;
9595
script.replaceWith(virtualScript);
9696
});
9797

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { WxtPackageManagerImpl } from './types';
2+
3+
export const deno: WxtPackageManagerImpl = {
4+
overridesKey: 'na',
5+
downloadDependency() {
6+
throw Error('Deno not supported');
7+
},
8+
listDependencies() {
9+
throw Error('Deno not supported');
10+
},
11+
};

‎packages/wxt/src/core/package-managers/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { WxtPackageManagerImpl } from './types';
1414
import { yarn } from './yarn';
1515
import { pnpm } from './pnpm';
1616
import { npm } from './npm';
17+
import { deno } from './deno';
1718

1819
export async function createWxtPackageManager(
1920
root: string,
@@ -73,4 +74,5 @@ const packageManagers: Record<PackageManagerName, WxtPackageManagerImpl> = {
7374
pnpm,
7475
bun,
7576
yarn,
77+
deno,
7678
};

‎pnpm-lock.yaml

+746-838
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml

+43-43
Original file line numberDiff line numberDiff line change
@@ -13,97 +13,97 @@ catalog:
1313
'@aklinker1/buildc': ^1.1.4
1414
'@aklinker1/check': ^1.4.5
1515
'@aklinker1/rollup-plugin-visualizer': 5.12.0
16-
'@commitlint/config-conventional': ^19.7.1
17-
'@commitlint/types': ^19.5.0
18-
'@faker-js/faker': ^9.2.0
16+
'@commitlint/config-conventional': ^19.8.0
17+
'@commitlint/types': ^19.8.0
18+
'@faker-js/faker': ^9.6.0
1919
'@sveltejs/vite-plugin-svelte': ^4.0.0 || ^5.0.0
20-
'@types/chrome': ^0.0.280
20+
'@types/chrome': ^0.0.313
2121
'@types/fs-extra': ^11.0.4
2222
'@types/lodash.merge': ^4.6.9
2323
'@types/node': ^20.17.6
2424
'@types/normalize-path': ^3.0.2
2525
'@types/prompts': ^2.4.9
26-
'@types/react': ^19.0.1
27-
'@types/react-dom': ^19.0.2
26+
'@types/react': ^19.1.0
27+
'@types/react-dom': ^19.1.2
2828
'@types/ua-parser-js': ^0.7.39
29-
'@types/webextension-polyfill': ^0.12.1
29+
'@types/webextension-polyfill': ^0.12.3
3030
'@vitejs/plugin-react': ^4.3.4
31-
'@vitejs/plugin-vue': ^5.2.1
32-
'@vitest/coverage-v8': ^3.0.7
33-
'@webext-core/fake-browser': ^1.3.1
31+
'@vitejs/plugin-vue': ^5.2.3
32+
'@vitest/coverage-v8': ^3.1.1
33+
'@webext-core/fake-browser': ^1.3.2
3434
'@webext-core/isolated-element': ^1.1.2
3535
'@webext-core/match-patterns': ^1.0.3
3636
async-mutex: ^0.5.0
37-
c12: ^3.0.2
37+
c12: ^3.0.3
3838
cac: ^6.7.14
3939
changelogen: ^0.6.1
4040
chokidar: ^4.0.3
41-
ci-info: ^4.1.0
42-
confbox: ^0.1.8 || ^0.2.0
43-
consola: ^3.2.3
41+
ci-info: ^4.2.0
42+
confbox: ^0.1.8 || ^0.2.2
43+
consola: ^3.4.2
4444
defu: ^6.1.4
4545
dequal: ^2.0.3
46-
dotenv: ^16.4.5
46+
dotenv: ^16.4.7
4747
dotenv-expand: ^12.0.1
4848
esbuild: ^0.25.0
4949
extract-zip: ^2.0.1
50-
fast-glob: ^3.3.2
50+
fast-glob: ^3.3.3
5151
feed: ^4.2.2
5252
filesize: ^10.1.6
53-
fs-extra: ^11.2.0
53+
fs-extra: ^11.3.0
5454
get-port-please: ^3.1.2
5555
giget: ^1.2.3 || ^2.0.0
56-
happy-dom: ^17.1.8
56+
happy-dom: ^17.4.4
5757
hookable: ^5.5.3
5858
import-meta-resolve: ^4.1.0
5959
is-wsl: ^3.1.0
6060
json5: ^2.2.3
6161
jszip: ^3.10.1
62-
linkedom: ^0.18.5
63-
lint-staged: ^15.2.10
62+
linkedom: ^0.18.9
63+
lint-staged: ^15.5.0
6464
lodash.merge: ^4.6.2
6565
magicast: ^0.3.5
6666
markdown-it-footnote: ^4.0.0
6767
minimatch: ^10.0.1
6868
nano-spawn: ^0.2.0
6969
normalize-path: ^3.0.0
70-
nypm: ^0.3.12
71-
ohash: ^1.1.4
70+
nypm: ^0.6.0
71+
ohash: ^2.0.11
7272
open: ^10.1.0
73-
ora: ^8.1.1
74-
oxlint: ^0.11.1
73+
ora: ^8.2.0
74+
oxlint: ^0.16.5
7575
perfect-debounce: ^1.0.0
7676
picocolors: ^1.1.1
77-
prettier: ^3.3.3
77+
prettier: ^3.5.3
7878
prompts: ^2.4.2
79-
publint: ^0.2.12
79+
publint: ^0.3.10
8080
publish-browser-extension: ^2.3.0 || ^3.0.0
81-
react: ^19.0.0
82-
react-dom: ^19.0.0
83-
sass: ^1.80.7
81+
react: ^19.1.0
82+
react-dom: ^19.1.0
83+
sass: ^1.86.3
8484
scule: ^1.3.0
85-
sharp: ^0.33.5
86-
simple-git-hooks: ^2.11.1
87-
solid-js: ^1.9.4
85+
sharp: ^0.34.1
86+
simple-git-hooks: ^2.12.1
87+
solid-js: ^1.9.5
8888
tsx: 4.19.3
8989
typedoc: ^0.25.4
90-
typedoc-plugin-frontmatter: ^1.1.0
90+
typedoc-plugin-frontmatter: ^1.3.0
9191
typedoc-plugin-markdown: 4.0.0-next.23
9292
typedoc-vitepress-theme: 1.0.0-next.3
93-
typescript: ^5.6.3
93+
typescript: ^5.8.3
9494
ua-parser-js: ^1.0.40
9595
unbuild: ^3.5.0
96-
unimport: ^3.13.1 || ^4.0.0
97-
unocss: ^0.64.0 || ^0.65.0 || ^65.0.0 ||^66.0.0
98-
vite: ^5.0.0 || ^6.0.0
96+
unimport: ^3.13.1 || ^4.0.0 || ^5.0.0
97+
unocss: ^0.64.0 || ^0.65.0 || ^65.0.0 || ^66.0.0
98+
vite: ^5.4.17 || ^6.2.5
9999
vite-node: ^2.1.4 || ^3.0.0
100100
vite-plugin-solid: ^2.11.6
101101
vitepress: ^1.6.3
102-
vitepress-knowledge: ^0.4.0
103-
vitepress-plugin-group-icons: ^1.3.8
104-
vitest: ^3.0.7
105-
vitest-mock-extended: ^3.0.1
102+
vitepress-knowledge: ^0.4.1
103+
vitepress-plugin-group-icons: ^1.4.1
104+
vitest: ^3.1.1
105+
vitest-mock-extended: ^3.1.0
106106
vitest-plugin-random-seed: ^1.1.1
107-
vue: ^3.5.12
108-
web-ext-run: ^0.2.1
107+
vue: ^3.5.13
108+
web-ext-run: ^0.2.2
109109
webextension-polyfill: ^0.12.0

‎taze.config.ts

+2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ export default {
99
'esbuild',
1010
// Maintained manually to match min-node version
1111
'@types/node',
12+
// License changed in newer versions
13+
'ua-parser-js',
1214
],
1315
};

‎templates/react/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"postinstall": "wxt prepare"
1616
},
1717
"dependencies": {
18-
"react": "^19.0.0",
19-
"react-dom": "^19.0.0"
18+
"react": "^19.1.0",
19+
"react-dom": "^19.1.0"
2020
},
2121
"devDependencies": {
22-
"@types/react": "^19.0.1",
23-
"@types/react-dom": "^19.0.2",
24-
"@wxt-dev/module-react": "^1.1.2",
25-
"typescript": "^5.6.3",
22+
"@types/react": "^19.1.0",
23+
"@types/react-dom": "^19.1.2",
24+
"@wxt-dev/module-react": "^1.1.3",
25+
"typescript": "^5.8.3",
2626
"wxt": "^0.20.0"
2727
}
2828
}

‎templates/solid/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"postinstall": "wxt prepare"
1616
},
1717
"dependencies": {
18-
"solid-js": "^1.9.3"
18+
"solid-js": "^1.9.5"
1919
},
2020
"devDependencies": {
21-
"@wxt-dev/module-solid": "^1.1.2",
22-
"typescript": "^5.6.3",
21+
"@wxt-dev/module-solid": "^1.1.3",
22+
"typescript": "^5.8.3",
2323
"wxt": "^0.20.0"
2424
}
2525
}

‎templates/svelte/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
},
1717
"devDependencies": {
1818
"@tsconfig/svelte": "^5.0.4",
19-
"@wxt-dev/module-svelte": "^2.0.0",
20-
"svelte": "^5.1.16",
21-
"svelte-check": "^4.0.7",
19+
"@wxt-dev/module-svelte": "^2.0.3",
20+
"svelte": "^5.25.9",
21+
"svelte-check": "^4.1.5",
2222
"tslib": "^2.8.1",
23-
"typescript": "^5.6.3",
23+
"typescript": "^5.8.3",
2424
"wxt": "^0.20.0"
2525
}
2626
}

‎templates/vanilla/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"postinstall": "wxt prepare"
1616
},
1717
"devDependencies": {
18-
"typescript": "^5.6.3",
18+
"typescript": "^5.8.3",
1919
"wxt": "^0.20.0"
2020
}
2121
}

‎templates/vue/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"postinstall": "wxt prepare"
1616
},
1717
"dependencies": {
18-
"vue": "^3.5.12"
18+
"vue": "^3.5.13"
1919
},
2020
"devDependencies": {
21-
"@wxt-dev/module-vue": "^1.0.1",
21+
"@wxt-dev/module-vue": "^1.0.2",
2222
"typescript": "5.6.3",
23-
"vue-tsc": "^2.1.10",
23+
"vue-tsc": "^2.2.8",
2424
"wxt": "^0.20.0"
2525
}
2626
}

0 commit comments

Comments
 (0)
Please sign in to comment.