mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
fix(deps): update all non-major dependencies (#18345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
This commit is contained in:
parent
47b12706ce
commit
5552583a22
@ -8,11 +8,11 @@
|
||||
"docs-serve": "vitepress serve"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@shikijs/vitepress-twoslash": "^1.21.1",
|
||||
"@shikijs/vitepress-twoslash": "^1.22.0",
|
||||
"@types/express": "^4.17.21",
|
||||
"feed": "^4.2.2",
|
||||
"vitepress": "1.3.4",
|
||||
"vitepress-plugin-group-icons": "^1.2.4",
|
||||
"vue": "^3.5.11"
|
||||
"vitepress": "1.4.1",
|
||||
"vitepress-plugin-group-icons": "^1.3.0",
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
14
package.json
14
package.json
@ -51,7 +51,7 @@
|
||||
"@types/etag": "^1.8.3",
|
||||
"@types/less": "^3.0.6",
|
||||
"@types/micromatch": "^4.0.9",
|
||||
"@types/node": "^20.16.10",
|
||||
"@types/node": "^20.16.11",
|
||||
"@types/picomatch": "^3.0.1",
|
||||
"@types/stylus": "^0.48.43",
|
||||
"@types/ws": "^8.5.12",
|
||||
@ -59,14 +59,14 @@
|
||||
"conventional-changelog-cli": "^5.0.0",
|
||||
"eslint": "^9.12.0",
|
||||
"eslint-plugin-import-x": "^4.3.1",
|
||||
"eslint-plugin-n": "^17.10.3",
|
||||
"eslint-plugin-n": "^17.11.1",
|
||||
"eslint-plugin-regexp": "^2.6.0",
|
||||
"execa": "^9.4.0",
|
||||
"globals": "^15.10.0",
|
||||
"globals": "^15.11.0",
|
||||
"gsap": "^3.12.5",
|
||||
"lint-staged": "^15.2.10",
|
||||
"picocolors": "^1.1.0",
|
||||
"playwright-chromium": "^1.47.2",
|
||||
"playwright-chromium": "1.47.2",
|
||||
"prettier": "3.3.3",
|
||||
"rimraf": "^5.0.10",
|
||||
"rollup": "^4.22.5",
|
||||
@ -75,9 +75,9 @@
|
||||
"tslib": "^2.7.0",
|
||||
"tsx": "^4.19.1",
|
||||
"typescript": "^5.5.3",
|
||||
"typescript-eslint": "^8.8.0",
|
||||
"typescript-eslint": "^8.9.0",
|
||||
"vite": "workspace:*",
|
||||
"vitest": "^2.1.2"
|
||||
"vitest": "^2.1.3"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
||||
@ -96,7 +96,7 @@
|
||||
"eslint --cache --fix"
|
||||
]
|
||||
},
|
||||
"packageManager": "pnpm@9.12.0",
|
||||
"packageManager": "pnpm@9.12.1",
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"vite": "workspace:*"
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^3.2.0"
|
||||
"lit": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -9,9 +9,9 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^3.2.0"
|
||||
"lit": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.24.2"
|
||||
"preact": "^10.24.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.9.1",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.24.2"
|
||||
"preact": "^10.24.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.9.1",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
"devDependencies": {
|
||||
"serve": "^14.2.3",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"@builder.io/qwik": "^1.9.1"
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"serve": "^14.2.3",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"@builder.io/qwik": "^1.9.1"
|
||||
|
@ -16,14 +16,14 @@
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.12.0",
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@vitejs/plugin-react": "^4.3.2",
|
||||
"eslint": "^9.12.0",
|
||||
"eslint-plugin-react-hooks": "^5.0.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.12",
|
||||
"globals": "^15.10.0",
|
||||
"globals": "^15.11.0",
|
||||
"typescript": "^5.5.3",
|
||||
"typescript-eslint": "^8.8.0",
|
||||
"vite": "^5.4.8"
|
||||
"typescript-eslint": "^8.9.0",
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -16,13 +16,13 @@
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.12.0",
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@vitejs/plugin-react": "^4.3.2",
|
||||
"eslint": "^9.12.0",
|
||||
"eslint-plugin-react": "^7.37.1",
|
||||
"eslint-plugin-react-hooks": "^5.0.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.12",
|
||||
"globals": "^15.10.0",
|
||||
"vite": "^5.4.8"
|
||||
"globals": "^15.11.0",
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.9.1"
|
||||
"solid-js": "^1.9.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8",
|
||||
"vite": "^5.4.9",
|
||||
"vite-plugin-solid": "^2.10.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.9.1"
|
||||
"solid-js": "^1.9.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^5.4.8",
|
||||
"vite": "^5.4.9",
|
||||
"vite-plugin-solid": "^2.10.2"
|
||||
}
|
||||
}
|
||||
|
@ -13,9 +13,9 @@
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
||||
"@tsconfig/svelte": "^5.0.4",
|
||||
"svelte": "^4.2.19",
|
||||
"svelte-check": "^4.0.4",
|
||||
"svelte-check": "^4.0.5",
|
||||
"tslib": "^2.7.0",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,6 @@
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
||||
"svelte": "^4.2.19",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -9,12 +9,12 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.11"
|
||||
"vue": "^3.5.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.1.4",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.4.8",
|
||||
"vite": "^5.4.9",
|
||||
"vue-tsc": "^2.1.6"
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.11"
|
||||
"vue": "^3.5.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.1.4",
|
||||
"vite": "^5.4.8"
|
||||
"vite": "^5.4.9"
|
||||
}
|
||||
}
|
||||
|
@ -41,12 +41,12 @@
|
||||
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
|
||||
"funding": "https://github.com/vitejs/vite?sponsor=1",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.25.7",
|
||||
"@babel/preset-env": "^7.25.7",
|
||||
"@babel/core": "^7.25.8",
|
||||
"@babel/preset-env": "^7.25.8",
|
||||
"browserslist": "^4.24.0",
|
||||
"browserslist-to-esbuild": "^2.1.1",
|
||||
"core-js": "^3.38.1",
|
||||
"magic-string": "^0.30.11",
|
||||
"magic-string": "^0.30.12",
|
||||
"regenerator-runtime": "^0.14.1",
|
||||
"systemjs": "^6.15.1"
|
||||
},
|
||||
|
@ -43,6 +43,7 @@ if (debugIndex > 0) {
|
||||
|
||||
function start() {
|
||||
try {
|
||||
// eslint-disable-next-line n/no-unsupported-features/node-builtins -- it is supported in Node 22.8.0+ and only called if it exists
|
||||
module.enableCompileCache?.()
|
||||
} catch {}
|
||||
return import('../dist/node/cli.js')
|
||||
|
@ -94,7 +94,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ampproject/remapping": "^2.3.0",
|
||||
"@babel/parser": "^7.25.7",
|
||||
"@babel/parser": "^7.25.8",
|
||||
"@jridgewell/trace-mapping": "^0.3.25",
|
||||
"@polka/compression": "^1.0.0-next.25",
|
||||
"@rollup/plugin-alias": "^5.1.1",
|
||||
@ -124,13 +124,13 @@
|
||||
"http-proxy": "^1.18.1",
|
||||
"launch-editor-middleware": "^2.9.1",
|
||||
"lightningcss": "^1.27.0",
|
||||
"magic-string": "^0.30.11",
|
||||
"magic-string": "^0.30.12",
|
||||
"micromatch": "^4.0.8",
|
||||
"mlly": "^1.7.2",
|
||||
"mrmime": "^2.0.0",
|
||||
"nanoid": "^5.0.7",
|
||||
"open": "^8.4.2",
|
||||
"parse5": "^7.1.2",
|
||||
"parse5": "^7.2.0",
|
||||
"pathe": "^1.1.2",
|
||||
"periscopic": "^4.0.2",
|
||||
"picocolors": "^1.1.0",
|
||||
@ -142,8 +142,8 @@
|
||||
"rollup-plugin-dts": "^6.1.1",
|
||||
"rollup-plugin-esbuild": "^6.1.1",
|
||||
"rollup-plugin-license": "^3.5.3",
|
||||
"sass": "^1.79.4",
|
||||
"sass-embedded": "^1.79.4",
|
||||
"sass": "^1.79.5",
|
||||
"sass-embedded": "^1.79.5",
|
||||
"sirv": "^3.0.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
"strip-ansi": "^7.1.0",
|
||||
|
@ -11,8 +11,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"aliased-module": "file:./dir/module",
|
||||
"vue": "^3.5.11",
|
||||
"@vue/shared": "^3.5.11"
|
||||
"vue": "^3.5.12",
|
||||
"@vue/shared": "^3.5.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/test-resolve-linked": "workspace:*"
|
||||
|
@ -10,7 +10,7 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sass": "^1.79.4",
|
||||
"sass": "^1.79.5",
|
||||
"tailwindcss": "^3.4.13",
|
||||
"fast-glob": "^3.3.2"
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"lightningcss": "^1.27.0",
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ describe.runIf(isServe)('serve', () => {
|
||||
const map = extractSourcemap(css)
|
||||
expect(formatSourcemapForSnapshot(map)).toMatchInlineSnapshot(`
|
||||
{
|
||||
"mappings": "AAAA,CAAC,QAAQ,CAAC,CAAC;AACX,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;AACb,CAAC;",
|
||||
"mappings": "AAAA,CAAC,QAAQ,CAAC;AACV,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG;AACZ;",
|
||||
"sources": [
|
||||
"/root/imported.css",
|
||||
],
|
||||
|
@ -11,8 +11,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"less": "^4.2.0",
|
||||
"magic-string": "^0.30.11",
|
||||
"sass": "^1.79.4",
|
||||
"magic-string": "^0.30.12",
|
||||
"sass": "^1.79.5",
|
||||
"stylus": "^0.63.0",
|
||||
"sugarss": "^4.0.1"
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
"fast-glob": "^3.3.2",
|
||||
"less": "^4.2.0",
|
||||
"postcss-nested": "^6.2.0",
|
||||
"sass": "^1.79.4",
|
||||
"sass": "^1.79.5",
|
||||
"stylus": "^0.63.0",
|
||||
"sugarss": "^4.0.1"
|
||||
},
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.11"
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,6 @@
|
||||
"dependencies": {
|
||||
"slash3": "npm:slash@^3.0.0",
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vue": "^3.5.11"
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,6 @@
|
||||
"dependencies": {
|
||||
"slash3": "npm:slash@^3.0.0",
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vue": "^3.5.11"
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
2
playground/external/package.json
vendored
2
playground/external/package.json
vendored
@ -17,7 +17,7 @@
|
||||
"slash3": "npm:slash@^3.0.0",
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vite": "workspace:*",
|
||||
"vue": "^3.5.11",
|
||||
"vue": "^3.5.12",
|
||||
"vue32": "npm:vue@~3.2.0"
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ if (!isBuild) {
|
||||
const map = extractSourcemap(js)
|
||||
expect(formatSourcemapForSnapshot(map)).toMatchInlineSnapshot(`
|
||||
{
|
||||
"mappings": "AAAA,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;",
|
||||
"mappings": "AAAA,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;",
|
||||
"sources": [
|
||||
"foo.js",
|
||||
],
|
||||
@ -41,7 +41,7 @@ if (!isBuild) {
|
||||
const map = extractSourcemap(js)
|
||||
expect(formatSourcemapForSnapshot(map)).toMatchInlineSnapshot(`
|
||||
{
|
||||
"mappings": "AAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;",
|
||||
"mappings": "AAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;",
|
||||
"sources": [
|
||||
"zoo.js",
|
||||
],
|
||||
@ -140,7 +140,7 @@ describe.runIf(isBuild)('build tests', () => {
|
||||
expect(formatSourcemapForSnapshot(JSON.parse(map))).toMatchInlineSnapshot(`
|
||||
{
|
||||
"ignoreList": [],
|
||||
"mappings": ";+8BAAA,OAAO,2BAAuB,EAAC,wBAE/B,QAAQ,IAAI,uBAAuB",
|
||||
"mappings": ";+8BAAA,OAAO,2BAAuB,0BAE9B,QAAQ,IAAI,uBAAuB",
|
||||
"sources": [
|
||||
"../../after-preload-dynamic.js",
|
||||
],
|
||||
|
@ -11,6 +11,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vitejs/test-importee-pkg": "file:importee-pkg",
|
||||
"magic-string": "^0.30.11"
|
||||
"magic-string": "^0.30.12"
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/test-json-module": "file:./json-module",
|
||||
"express": "^4.21.0",
|
||||
"vue": "^3.5.11"
|
||||
"express": "^4.21.1",
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
"devDependencies": {
|
||||
"vite": "workspace:*",
|
||||
"@vitejs/plugin-legacy": "workspace:*",
|
||||
"express": "^4.21.0",
|
||||
"express": "^4.21.1",
|
||||
"terser": "^5.34.1"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sass": "^1.79.4"
|
||||
"sass": "^1.79.5"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.11"
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vitejs/test-dep-no-discovery": "file:./dep-no-discovery",
|
||||
"vue": "^3.5.11",
|
||||
"vue": "^3.5.12",
|
||||
"vuex": "^4.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +46,7 @@
|
||||
"react-dom": "^18.3.1",
|
||||
"@vitejs/test-resolve-linked": "workspace:0.0.0",
|
||||
"url": "^0.11.4",
|
||||
"vue": "^3.5.11",
|
||||
"vue": "^3.5.12",
|
||||
"vuex": "^4.1.0",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash.clonedeep": "^4.5.0"
|
||||
|
@ -10,6 +10,6 @@
|
||||
"@vitejs/test-missing-dep": "file:./missing-dep"
|
||||
},
|
||||
"devDependencies": {
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,6 @@
|
||||
"@vitejs/test-ssr-conditions-no-external": "file:./no-external"
|
||||
},
|
||||
"devDependencies": {
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,6 @@
|
||||
"@vitejs/test-module-condition": "file:./module-condition"
|
||||
},
|
||||
"devDependencies": {
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,6 @@
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,6 @@
|
||||
"dependencies": {
|
||||
"@vitejs/test-external-cjs": "file:./external-cjs",
|
||||
"@vitejs/test-require-external-cjs": "file:./require-external-cjs",
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
"debug": "node --inspect-brk server"
|
||||
},
|
||||
"devDependencies": {
|
||||
"express": "^4.21.0",
|
||||
"express": "^4.21.1",
|
||||
"pug": "^3.0.3"
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
"@vitejs/test-worker-exports": "file:./worker-exports"
|
||||
},
|
||||
"devDependencies": {
|
||||
"miniflare": "^3.20240925.0",
|
||||
"miniflare": "^3.20241004.0",
|
||||
"@vitejs/test-resolve-linked": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"express": "^4.21.0"
|
||||
"express": "^4.21.1"
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"autoprefixer": "^10.4.20",
|
||||
"tailwindcss": "^3.4.13",
|
||||
"vue": "^3.5.11",
|
||||
"vue": "^3.5.12",
|
||||
"vue-router": "^4.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -179,13 +179,16 @@ test('self reference url worker in dependency', async () => {
|
||||
).toBe('pong: main\npong: nested\n')
|
||||
})
|
||||
|
||||
test.runIf(isServe)('sourcemap boundary', async () => {
|
||||
const response = page.waitForResponse(/my-worker.ts\?worker_file&type=module/)
|
||||
test.runIf(isServe)('sourcemap is correct after env is injected', async () => {
|
||||
const response = page.waitForResponse(
|
||||
/my-worker\.ts\?worker_file&type=module/,
|
||||
)
|
||||
await page.goto(viteTestUrl)
|
||||
const content = await (await response).text()
|
||||
const { mappings } = decodeSourceMapUrl(content)
|
||||
expect(mappings.startsWith(';')).toBeTruthy()
|
||||
expect(mappings.endsWith(';')).toBeFalsy()
|
||||
expect(mappings).toMatchInlineSnapshot(
|
||||
`";;AAAA,SAAS,OAAO,kBAAkB;AAClC,SAAS,MAAM,WAAW;AAC1B,SAAS,wBAAwB;AACjC,OAAO,aAAa;AACpB,MAAM,UAAU,YAAY;AAE5B,KAAK,YAAY,CAAC,MAAM;AACtB,MAAI,EAAE,SAAS,QAAQ;AACrB,SAAK,YAAY,EAAE,KAAK,MAAM,kBAAkB,SAAS,SAAS,KAAK,CAAC;AAAA,EAC1E;AACA,MAAI,EAAE,SAAS,gBAAgB;AAC7B,SAAK,YAAY;AAAA,MACf,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC;AAAA,EACH;AACF;AACA,KAAK,YAAY;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAGD,QAAQ,IAAI,cAAc"`,
|
||||
)
|
||||
})
|
||||
|
||||
function decodeSourceMapUrl(content: string) {
|
||||
|
2123
pnpm-lock.yaml
2123
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user