Skip to content

Commit

Permalink
fix(deps): update all non-major dependencies (#18170)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
  • Loading branch information
renovate[bot] and sapphi-red authored Sep 25, 2024
1 parent e83beff commit c8aea5a
Show file tree
Hide file tree
Showing 43 changed files with 745 additions and 645 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"docs-serve": "vitepress serve"
},
"devDependencies": {
"@shikijs/vitepress-twoslash": "^1.17.7",
"@shikijs/vitepress-twoslash": "^1.18.0",
"@types/express": "^4.17.21",
"feed": "^4.2.2",
"vitepress": "1.3.4",
"vitepress-plugin-group-icons": "^1.2.4",
"vue": "^3.5.6"
"vue": "^3.5.8"
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,32 +40,32 @@
"ci-docs": "pnpm build && pnpm docs-build"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@eslint/js": "^9.11.1",
"@type-challenges/utils": "^0.1.1",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.9.7",
"@types/convert-source-map": "^2.0.3",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",
"@types/estree": "^1.0.5",
"@types/estree": "^1.0.6",
"@types/etag": "^1.8.3",
"@types/less": "^3.0.6",
"@types/micromatch": "^4.0.9",
"@types/node": "^20.16.5",
"@types/node": "^20.16.7",
"@types/picomatch": "^3.0.1",
"@types/stylus": "^0.48.43",
"@types/ws": "^8.5.12",
"@vitejs/release-scripts": "^1.3.2",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.10.0",
"eslint-plugin-import-x": "^4.2.1",
"eslint-plugin-n": "^17.10.2",
"eslint": "^9.11.1",
"eslint-plugin-import-x": "^4.3.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-regexp": "^2.6.0",
"execa": "^9.4.0",
"globals": "^15.9.0",
"lint-staged": "^15.2.10",
"picocolors": "^1.1.0",
"playwright-chromium": "^1.47.1",
"playwright-chromium": "^1.47.2",
"prettier": "3.3.3",
"rimraf": "^5.0.10",
"rollup": "^4.20.0",
Expand All @@ -74,7 +74,7 @@
"tslib": "^2.7.0",
"tsx": "^4.19.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.6.0",
"typescript-eslint": "^8.7.0",
"vite": "workspace:*",
"vitest": "^2.1.1"
},
Expand All @@ -95,7 +95,7 @@
"eslint --cache --fix"
]
},
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.11.0",
"pnpm": {
"overrides": {
"vite": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"typescript": "^5.5.3",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"lit": "^3.2.0"
},
"devDependencies": {
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"preview": "vite preview"
},
"dependencies": {
"preact": "^10.24.0"
"preact": "^10.24.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.9.1",
"typescript": "^5.5.3",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"preact": "^10.24.0"
"preact": "^10.24.1"
},
"devDependencies": {
"@preact/preset-vite": "^2.9.1",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-qwik-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"devDependencies": {
"serve": "^14.2.3",
"typescript": "^5.5.3",
"vite": "^5.4.6"
"vite": "^5.4.8"
},
"dependencies": {
"@builder.io/qwik": "^1.8.0"
"@builder.io/qwik": "^1.9.0"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
},
"devDependencies": {
"serve": "^14.2.3",
"vite": "^5.4.6"
"vite": "^5.4.8"
},
"dependencies": {
"@builder.io/qwik": "^1.8.0"
"@builder.io/qwik": "^1.9.0"
}
}
10 changes: 5 additions & 5 deletions packages/create-vite/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/react": "^18.3.6",
"@eslint/js": "^9.11.1",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.10.0",
"eslint": "^9.11.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.6.0",
"vite": "^5.4.6"
"typescript-eslint": "^8.7.0",
"vite": "^5.4.8"
}
}
8 changes: 4 additions & 4 deletions packages/create-vite/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/react": "^18.3.6",
"@eslint/js": "^9.11.1",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.10.0",
"eslint": "^9.11.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"preview": "vite preview"
},
"dependencies": {
"solid-js": "^1.8.22"
"solid-js": "^1.9.1"
},
"devDependencies": {
"typescript": "^5.5.3",
"vite": "^5.4.6",
"vite": "^5.4.8",
"vite-plugin-solid": "^2.10.2"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"solid-js": "^1.8.22"
"solid-js": "^1.9.1"
},
"devDependencies": {
"vite": "^5.4.6",
"vite": "^5.4.8",
"vite-plugin-solid": "^2.10.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"svelte-check": "^4.0.2",
"tslib": "^2.7.0",
"typescript": "^5.5.3",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"svelte": "^4.2.19",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
},
"devDependencies": {
"typescript": "^5.5.3",
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^5.4.6"
"vite": "^5.4.8"
}
}
6 changes: 3 additions & 3 deletions packages/create-vite/template-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.6"
"vue": "^3.5.8"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.3",
"@vitejs/plugin-vue": "^5.1.4",
"typescript": "^5.5.3",
"vite": "^5.4.6",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6"
}
}
6 changes: 3 additions & 3 deletions packages/create-vite/template-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.6"
"vue": "^3.5.8"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.3",
"vite": "^5.4.6"
"@vitejs/plugin-vue": "^5.1.4",
"vite": "^5.4.8"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"browserslist": "^4.23.3",
"browserslist": "^4.24.0",
"browserslist-to-esbuild": "^2.1.1",
"core-js": "^3.38.1",
"magic-string": "^0.30.11",
Expand Down
16 changes: 8 additions & 8 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@
"@babel/parser": "^7.25.6",
"@jridgewell/trace-mapping": "^0.3.25",
"@polka/compression": "^1.0.0-next.25",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-dynamic-import-vars": "^2.1.2",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^26.0.3",
"@rollup/plugin-dynamic-import-vars": "^2.1.3",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/pluginutils": "^5.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/pluginutils": "^5.1.2",
"@types/escape-html": "^1.0.4",
"@types/pnpapi": "^0.0.5",
"artichokie": "^0.2.1",
Expand Down Expand Up @@ -141,9 +141,9 @@
"resolve.exports": "^2.0.2",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-license": "^3.5.2",
"sass": "^1.78.0",
"sass-embedded": "^1.78.0",
"rollup-plugin-license": "^3.5.3",
"sass": "^1.79.3",
"sass-embedded": "^1.79.3",
"sirv": "^2.0.4",
"source-map-support": "^0.5.21",
"strip-ansi": "^7.1.0",
Expand Down
24 changes: 23 additions & 1 deletion packages/vite/src/node/ssr/__tests__/ssrTransform.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,36 @@ test('export * as from', async () => {
`)
})

test('export * as from arbitrary module namespace identifier', async () => {
expect(
await ssrTransformSimpleCode(`export * as "arbitrary string" from 'vue'`),
).toMatchInlineSnapshot(`
"const __vite_ssr_import_0__ = await __vite_ssr_import__("vue");
Object.defineProperty(__vite_ssr_exports__, "arbitrary string", { enumerable: true, configurable: true, get(){ return __vite_ssr_import_0__ }});"
`)
})

test('export as arbitrary module namespace identifier', async () => {
expect(
await ssrTransformSimpleCode(
`const something = "Something";export { something as "arbitrary string" };`,
),
).toMatchInlineSnapshot(`
"const something = "Something";
Object.defineProperty(__vite_ssr_exports__, "arbitrary string", { enumerable: true, configurable: true, get(){ return something }});"
Object.defineProperty(__vite_ssr_exports__, "arbitrary string", { enumerable: true, configurable: true, get(){ return something }});"
`)
})

test('export as from arbitrary module namespace identifier', async () => {
expect(
await ssrTransformSimpleCode(
`export { "arbitrary string2" as "arbitrary string" } from 'vue';`,
),
).toMatchInlineSnapshot(`
"const __vite_ssr_import_0__ = await __vite_ssr_import__("vue", {"importedNames":["arbitrary string2"]});
Object.defineProperty(__vite_ssr_exports__, "arbitrary string", { enumerable: true, configurable: true, get(){ return __vite_ssr_import_0__["arbitrary string2"] }});"
`)
})

Expand Down
Loading

0 comments on commit c8aea5a

Please sign in to comment.