mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
chore(deps): update typescript (#17699)
This commit is contained in:
parent
0cde495ebe
commit
df5ceb35b7
@ -67,7 +67,7 @@
|
||||
"lint-staged": "^15.2.7",
|
||||
"npm-run-all2": "^6.2.2",
|
||||
"picocolors": "^1.0.1",
|
||||
"playwright-chromium": "^1.45.1",
|
||||
"playwright-chromium": "^1.45.2",
|
||||
"prettier": "3.3.3",
|
||||
"rimraf": "^5.0.9",
|
||||
"rollup": "^4.13.0",
|
||||
@ -75,7 +75,7 @@
|
||||
"simple-git-hooks": "^2.11.1",
|
||||
"tslib": "^2.6.3",
|
||||
"tsx": "^4.16.2",
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"typescript-eslint": "^7.16.1",
|
||||
"vite": "workspace:*",
|
||||
"vitest": "^2.0.3"
|
||||
|
@ -12,7 +12,7 @@
|
||||
"lit": "^3.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4"
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.9.0",
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4"
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"serve": "^14.2.3",
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -22,7 +22,7 @@
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.8",
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4"
|
||||
}
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
"solid-js": "^1.8.18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4",
|
||||
"vite-plugin-solid": "^2.10.2"
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
"svelte": "^4.2.18",
|
||||
"svelte-check": "^3.8.4",
|
||||
"tslib": "^2.6.3",
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4"
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4"
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.0.5",
|
||||
"typescript": "^5.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^5.3.4",
|
||||
"vue-tsc": "^2.0.26"
|
||||
}
|
||||
|
@ -116,9 +116,9 @@ const nodeConfig = defineConfig({
|
||||
src: 'require("sugarss")',
|
||||
replacement: `__require('sugarss')`,
|
||||
},
|
||||
'lilconfig/dist/index.js': {
|
||||
pattern: /: require,/g,
|
||||
replacement: `: __require,`,
|
||||
'lilconfig/src/index.js': {
|
||||
pattern: /: require;/g,
|
||||
replacement: `: __require;`,
|
||||
},
|
||||
// postcss-load-config calls require after register ts-node
|
||||
'postcss-load-config/src/index.js': {
|
||||
|
@ -980,7 +980,6 @@ export function onRollupWarning(
|
||||
if (
|
||||
warning.plugin === 'rollup-plugin-dynamic-import-variables' &&
|
||||
dynamicImportWarningIgnoreList.some((msg) =>
|
||||
// @ts-expect-error warning is RollupLog
|
||||
warning.message.includes(msg),
|
||||
)
|
||||
) {
|
||||
|
@ -30,7 +30,7 @@ const createExecHandlers = <T extends (...args: any) => any>(
|
||||
) => {
|
||||
return ((...args: Parameters<T>) => {
|
||||
for (const handler of handlers) {
|
||||
const result = handler(...(args as []))
|
||||
const result = handler(...args)
|
||||
if (result) return result
|
||||
}
|
||||
return null
|
||||
|
@ -140,7 +140,7 @@ describe.runIf(isBuild)('build tests', () => {
|
||||
expect(formatSourcemapForSnapshot(JSON.parse(map))).toMatchInlineSnapshot(`
|
||||
{
|
||||
"ignoreList": [],
|
||||
"mappings": ";w+BAAA,OAAO,2BAAuB,EAAC,wBAE/B,QAAQ,IAAI,uBAAuB",
|
||||
"mappings": ";63BAAA,OAAO,2BAAuB,EAAC,wBAE/B,QAAQ,IAAI,uBAAuB",
|
||||
"sources": [
|
||||
"../../after-preload-dynamic.js",
|
||||
],
|
||||
|
@ -249,7 +249,6 @@ export async function withRetry(
|
||||
}
|
||||
|
||||
export const expectWithRetry = <T>(getActual: () => Promise<T>) => {
|
||||
type A = Assertion<T>
|
||||
return new Proxy(
|
||||
{},
|
||||
{
|
||||
@ -262,9 +261,9 @@ export const expectWithRetry = <T>(getActual: () => Promise<T>) => {
|
||||
}
|
||||
},
|
||||
},
|
||||
) as {
|
||||
[K in keyof A]: (...params: Parameters<A[K]>) => Promise<ReturnType<A[K]>>
|
||||
}
|
||||
) as Assertion<T>['resolves']
|
||||
// NOTE: `Assertion<T>['resolves']` has the special "promisify all assertion property functions"
|
||||
// behaviour that we're lending here, which is the same as `PromisifyAssertion<T>` if Vitest exposes it
|
||||
}
|
||||
|
||||
type UntilBrowserLogAfterCallback = (logs: string[]) => PromiseLike<void> | void
|
||||
|
1379
pnpm-lock.yaml
1379
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user