chore(deps): Update all dependencies (#1568)
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
"engines": {
|
||||
"node": ">=18.20.3"
|
||||
},
|
||||
"packageManager": "pnpm@10.5.2",
|
||||
"packageManager": "pnpm@10.8.0",
|
||||
"scripts": {
|
||||
"check": "check && pnpm -r --sequential run check",
|
||||
"test": "pnpm -r --sequential run test run",
|
||||
|
||||
@@ -979,7 +979,7 @@ describe('Storage Utils', () => {
|
||||
|
||||
const actual = await item.getMeta();
|
||||
|
||||
expect(actual).toBe(expected);
|
||||
expect(actual).toEqual(expected);
|
||||
});
|
||||
|
||||
it('should return an empty object if missing', async () => {
|
||||
|
||||
@@ -4,10 +4,10 @@ import { getEntrypointName } from '../../../utils/entrypoints';
|
||||
import { parseHTML } from 'linkedom';
|
||||
import { dirname, relative, resolve } from 'node:path';
|
||||
import { normalizePath } from '../../../utils/paths';
|
||||
import { murmurHash } from 'ohash';
|
||||
import { hash } from 'ohash';
|
||||
|
||||
// Stored outside the plugin to effect all instances of the devHtmlPrerender plugin.
|
||||
const inlineScriptContents: Record<number, string> = {};
|
||||
const inlineScriptContents: Record<string, string> = {};
|
||||
|
||||
/**
|
||||
* Pre-renders the HTML entrypoints when building the extension to connect to the dev server.
|
||||
@@ -85,13 +85,13 @@ export function devHtmlPrerender(
|
||||
inlineScripts.forEach((script) => {
|
||||
// Save the text content for later
|
||||
const textContent = script.textContent ?? '';
|
||||
const hash = murmurHash(textContent);
|
||||
inlineScriptContents[hash] = textContent;
|
||||
const textHash = hash(textContent);
|
||||
inlineScriptContents[textHash] = textContent;
|
||||
|
||||
// Replace unsafe inline script
|
||||
const virtualScript = document.createElement('script');
|
||||
virtualScript.type = 'module';
|
||||
virtualScript.src = `${server.origin}/@id/${virtualInlineScript}?${hash}`;
|
||||
virtualScript.src = `${server.origin}/@id/${virtualInlineScript}?${textHash}`;
|
||||
script.replaceWith(virtualScript);
|
||||
});
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import { WxtPackageManagerImpl } from './types';
|
||||
|
||||
export const deno: WxtPackageManagerImpl = {
|
||||
overridesKey: 'na',
|
||||
downloadDependency() {
|
||||
throw Error('Deno not supported');
|
||||
},
|
||||
listDependencies() {
|
||||
throw Error('Deno not supported');
|
||||
},
|
||||
};
|
||||
@@ -14,6 +14,7 @@ import { WxtPackageManagerImpl } from './types';
|
||||
import { yarn } from './yarn';
|
||||
import { pnpm } from './pnpm';
|
||||
import { npm } from './npm';
|
||||
import { deno } from './deno';
|
||||
|
||||
export async function createWxtPackageManager(
|
||||
root: string,
|
||||
@@ -73,4 +74,5 @@ const packageManagers: Record<PackageManagerName, WxtPackageManagerImpl> = {
|
||||
pnpm,
|
||||
bun,
|
||||
yarn,
|
||||
deno,
|
||||
};
|
||||
|
||||
Generated
+746
-838
File diff suppressed because it is too large
Load Diff
+43
-43
@@ -13,97 +13,97 @@ catalog:
|
||||
'@aklinker1/buildc': ^1.1.4
|
||||
'@aklinker1/check': ^1.4.5
|
||||
'@aklinker1/rollup-plugin-visualizer': 5.12.0
|
||||
'@commitlint/config-conventional': ^19.7.1
|
||||
'@commitlint/types': ^19.5.0
|
||||
'@faker-js/faker': ^9.2.0
|
||||
'@commitlint/config-conventional': ^19.8.0
|
||||
'@commitlint/types': ^19.8.0
|
||||
'@faker-js/faker': ^9.6.0
|
||||
'@sveltejs/vite-plugin-svelte': ^4.0.0 || ^5.0.0
|
||||
'@types/chrome': ^0.0.280
|
||||
'@types/chrome': ^0.0.313
|
||||
'@types/fs-extra': ^11.0.4
|
||||
'@types/lodash.merge': ^4.6.9
|
||||
'@types/node': ^20.17.6
|
||||
'@types/normalize-path': ^3.0.2
|
||||
'@types/prompts': ^2.4.9
|
||||
'@types/react': ^19.0.1
|
||||
'@types/react-dom': ^19.0.2
|
||||
'@types/react': ^19.1.0
|
||||
'@types/react-dom': ^19.1.2
|
||||
'@types/ua-parser-js': ^0.7.39
|
||||
'@types/webextension-polyfill': ^0.12.1
|
||||
'@types/webextension-polyfill': ^0.12.3
|
||||
'@vitejs/plugin-react': ^4.3.4
|
||||
'@vitejs/plugin-vue': ^5.2.1
|
||||
'@vitest/coverage-v8': ^3.0.7
|
||||
'@webext-core/fake-browser': ^1.3.1
|
||||
'@vitejs/plugin-vue': ^5.2.3
|
||||
'@vitest/coverage-v8': ^3.1.1
|
||||
'@webext-core/fake-browser': ^1.3.2
|
||||
'@webext-core/isolated-element': ^1.1.2
|
||||
'@webext-core/match-patterns': ^1.0.3
|
||||
async-mutex: ^0.5.0
|
||||
c12: ^3.0.2
|
||||
c12: ^3.0.3
|
||||
cac: ^6.7.14
|
||||
changelogen: ^0.6.1
|
||||
chokidar: ^4.0.3
|
||||
ci-info: ^4.1.0
|
||||
confbox: ^0.1.8 || ^0.2.0
|
||||
consola: ^3.2.3
|
||||
ci-info: ^4.2.0
|
||||
confbox: ^0.1.8 || ^0.2.2
|
||||
consola: ^3.4.2
|
||||
defu: ^6.1.4
|
||||
dequal: ^2.0.3
|
||||
dotenv: ^16.4.5
|
||||
dotenv: ^16.4.7
|
||||
dotenv-expand: ^12.0.1
|
||||
esbuild: ^0.25.0
|
||||
extract-zip: ^2.0.1
|
||||
fast-glob: ^3.3.2
|
||||
fast-glob: ^3.3.3
|
||||
feed: ^4.2.2
|
||||
filesize: ^10.1.6
|
||||
fs-extra: ^11.2.0
|
||||
fs-extra: ^11.3.0
|
||||
get-port-please: ^3.1.2
|
||||
giget: ^1.2.3 || ^2.0.0
|
||||
happy-dom: ^17.1.8
|
||||
happy-dom: ^17.4.4
|
||||
hookable: ^5.5.3
|
||||
import-meta-resolve: ^4.1.0
|
||||
is-wsl: ^3.1.0
|
||||
json5: ^2.2.3
|
||||
jszip: ^3.10.1
|
||||
linkedom: ^0.18.5
|
||||
lint-staged: ^15.2.10
|
||||
linkedom: ^0.18.9
|
||||
lint-staged: ^15.5.0
|
||||
lodash.merge: ^4.6.2
|
||||
magicast: ^0.3.5
|
||||
markdown-it-footnote: ^4.0.0
|
||||
minimatch: ^10.0.1
|
||||
nano-spawn: ^0.2.0
|
||||
normalize-path: ^3.0.0
|
||||
nypm: ^0.3.12
|
||||
ohash: ^1.1.4
|
||||
nypm: ^0.6.0
|
||||
ohash: ^2.0.11
|
||||
open: ^10.1.0
|
||||
ora: ^8.1.1
|
||||
oxlint: ^0.11.1
|
||||
ora: ^8.2.0
|
||||
oxlint: ^0.16.5
|
||||
perfect-debounce: ^1.0.0
|
||||
picocolors: ^1.1.1
|
||||
prettier: ^3.3.3
|
||||
prettier: ^3.5.3
|
||||
prompts: ^2.4.2
|
||||
publint: ^0.2.12
|
||||
publint: ^0.3.10
|
||||
publish-browser-extension: ^2.3.0 || ^3.0.0
|
||||
react: ^19.0.0
|
||||
react-dom: ^19.0.0
|
||||
sass: ^1.80.7
|
||||
react: ^19.1.0
|
||||
react-dom: ^19.1.0
|
||||
sass: ^1.86.3
|
||||
scule: ^1.3.0
|
||||
sharp: ^0.33.5
|
||||
simple-git-hooks: ^2.11.1
|
||||
solid-js: ^1.9.4
|
||||
sharp: ^0.34.1
|
||||
simple-git-hooks: ^2.12.1
|
||||
solid-js: ^1.9.5
|
||||
tsx: 4.19.3
|
||||
typedoc: ^0.25.4
|
||||
typedoc-plugin-frontmatter: ^1.1.0
|
||||
typedoc-plugin-frontmatter: ^1.3.0
|
||||
typedoc-plugin-markdown: 4.0.0-next.23
|
||||
typedoc-vitepress-theme: 1.0.0-next.3
|
||||
typescript: ^5.6.3
|
||||
typescript: ^5.8.3
|
||||
ua-parser-js: ^1.0.40
|
||||
unbuild: ^3.5.0
|
||||
unimport: ^3.13.1 || ^4.0.0
|
||||
unocss: ^0.64.0 || ^0.65.0 || ^65.0.0 ||^66.0.0
|
||||
vite: ^5.0.0 || ^6.0.0
|
||||
unimport: ^3.13.1 || ^4.0.0 || ^5.0.0
|
||||
unocss: ^0.64.0 || ^0.65.0 || ^65.0.0 || ^66.0.0
|
||||
vite: ^5.4.17 || ^6.2.5
|
||||
vite-node: ^2.1.4 || ^3.0.0
|
||||
vite-plugin-solid: ^2.11.6
|
||||
vitepress: ^1.6.3
|
||||
vitepress-knowledge: ^0.4.0
|
||||
vitepress-plugin-group-icons: ^1.3.8
|
||||
vitest: ^3.0.7
|
||||
vitest-mock-extended: ^3.0.1
|
||||
vitepress-knowledge: ^0.4.1
|
||||
vitepress-plugin-group-icons: ^1.4.1
|
||||
vitest: ^3.1.1
|
||||
vitest-mock-extended: ^3.1.0
|
||||
vitest-plugin-random-seed: ^1.1.1
|
||||
vue: ^3.5.12
|
||||
web-ext-run: ^0.2.1
|
||||
vue: ^3.5.13
|
||||
web-ext-run: ^0.2.2
|
||||
webextension-polyfill: ^0.12.0
|
||||
|
||||
@@ -9,5 +9,7 @@ export default {
|
||||
'esbuild',
|
||||
// Maintained manually to match min-node version
|
||||
'@types/node',
|
||||
// License changed in newer versions
|
||||
'ua-parser-js',
|
||||
],
|
||||
};
|
||||
|
||||
Vendored
+6
-6
@@ -15,14 +15,14 @@
|
||||
"postinstall": "wxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^19.0.1",
|
||||
"@types/react-dom": "^19.0.2",
|
||||
"@wxt-dev/module-react": "^1.1.2",
|
||||
"typescript": "^5.6.3",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"@wxt-dev/module-react": "^1.1.3",
|
||||
"typescript": "^5.8.3",
|
||||
"wxt": "^0.20.0"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -15,11 +15,11 @@
|
||||
"postinstall": "wxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.9.3"
|
||||
"solid-js": "^1.9.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wxt-dev/module-solid": "^1.1.2",
|
||||
"typescript": "^5.6.3",
|
||||
"@wxt-dev/module-solid": "^1.1.3",
|
||||
"typescript": "^5.8.3",
|
||||
"wxt": "^0.20.0"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+4
-4
@@ -16,11 +16,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tsconfig/svelte": "^5.0.4",
|
||||
"@wxt-dev/module-svelte": "^2.0.0",
|
||||
"svelte": "^5.1.16",
|
||||
"svelte-check": "^4.0.7",
|
||||
"@wxt-dev/module-svelte": "^2.0.3",
|
||||
"svelte": "^5.25.9",
|
||||
"svelte-check": "^4.1.5",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.6.3",
|
||||
"typescript": "^5.8.3",
|
||||
"wxt": "^0.20.0"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -15,7 +15,7 @@
|
||||
"postinstall": "wxt prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.6.3",
|
||||
"typescript": "^5.8.3",
|
||||
"wxt": "^0.20.0"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -15,12 +15,12 @@
|
||||
"postinstall": "wxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.12"
|
||||
"vue": "^3.5.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wxt-dev/module-vue": "^1.0.1",
|
||||
"@wxt-dev/module-vue": "^1.0.2",
|
||||
"typescript": "5.6.3",
|
||||
"vue-tsc": "^2.1.10",
|
||||
"vue-tsc": "^2.2.8",
|
||||
"wxt": "^0.20.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user