Skip to content

Commit

Permalink
chore(deps): update dependency typescript to ^5.6.2 (#3619)
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: neverland <chenjiahan.jait@bytedance.com>
  • Loading branch information
renovate[bot] and chenjiahan committed Oct 2, 2024
1 parent d0c795f commit 0c92868
Show file tree
Hide file tree
Showing 36 changed files with 155 additions and 153 deletions.
2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"playwright": "1.44.1",
"strip-ansi": "6.0.1",
"tailwindcss": "^3.4.13",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"devDependencies": {
"@rsbuild/core": "workspace:*",
"lit": "^3.2.0",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"devDependencies": {
"@rsbuild/core": "workspace:*",
"@types/node": "18.x",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"devDependencies": {
"@rsbuild/core": "workspace:*",
"@rsbuild/plugin-preact": "workspace:*",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@rsbuild/plugin-react": "workspace:*",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"@rsbuild/core": "workspace:*",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@rsbuild/core": "workspace:*",
"@rsbuild/webpack": "workspace:*",
"@rsbuild/plugin-webpack-swc": "workspace:*",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"nx": "^19.8.3",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.5.2",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
"packageManager": "pnpm@9.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compat/plugin-webpack-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@rsbuild/webpack": "workspace:*",
"@types/lodash": "^4.17.9",
"@types/semver": "^7.5.8",
"typescript": "^5.5.2",
"typescript": "^5.6.2",
"webpack": "^5.95.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/compat/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"ansi-escapes": "4.3.2",
"cli-truncate": "2.1.0",
"patch-console": "1.0.0",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"sirv": "^2.0.4",
"style-loader": "3.3.4",
"tsc-alias": "^1.8.10",
"typescript": "^5.5.2",
"typescript": "^5.6.2",
"webpack": "^5.95.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-merge": "6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/plugins/sri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const pluginSri = (): RsbuildPlugin => ({

const hash = crypto
.createHash(algorithm)
.update(data)
.update(data as unknown as Uint8Array)
.digest()
.toString('base64');
const integrity = `${algorithm}-${hash}`;
Expand Down
6 changes: 4 additions & 2 deletions packages/core/src/server/devServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ export async function createDevServer<
https,
};

let outputFileSystem: Rspack.OutputFileSystem = fs;
// TODO: remove this type assertion after Rspack fix the type definition
let outputFileSystem = fs as Rspack.OutputFileSystem;
let lastStats: Rspack.Stats[];

// should register onDevCompileDone hook before startCompile
Expand Down Expand Up @@ -166,10 +167,11 @@ export async function createDevServer<

await compilerDevMiddleware.init();

// TODO: remove this type assertion after Rspack fix the type definition
outputFileSystem =
(isMultiCompiler(compiler)
? compiler.compilers[0].outputFileSystem
: compiler.outputFileSystem) || fs;
: compiler.outputFileSystem) || (fs as Rspack.OutputFileSystem);

return {
middleware: compilerDevMiddleware.middleware,
Expand Down
2 changes: 1 addition & 1 deletion packages/create-rsbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"@types/node": "18.x",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"engines": {
"node": ">=16.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"devDependencies": {
"@rsbuild/core": "^1.0.9",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"devDependencies": {
"@rsbuild/core": "^1.0.9",
"@rsbuild/plugin-preact": "^1.0.2",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@rsbuild/plugin-react": "^1.0.3",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-solid-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@rsbuild/core": "^1.0.9",
"@rsbuild/plugin-babel": "^1.0.1",
"@rsbuild/plugin-solid": "^1.0.2",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@rsbuild/core": "^1.0.9",
"@rsbuild/plugin-svelte": "^1.0.1",
"svelte-check": "^4.0.4",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"devDependencies": {
"@rsbuild/core": "^1.0.9",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-vue2-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"devDependencies": {
"@rsbuild/core": "^1.0.9",
"@rsbuild/plugin-vue2": "^1.0.1",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-rsbuild/template-vue3-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"devDependencies": {
"@rsbuild/core": "^1.0.9",
"@rsbuild/plugin-vue": "^1.0.1",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-assets-retry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@rsbuild/core": "workspace:*",
"@types/serialize-javascript": "^5.0.4",
"terser": "5.34.1",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@types/node": "18.x",
"babel-loader": "9.2.1",
"prebundle": "1.2.2",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"less": "^4.2.0",
"less-loader": "^12.2.0",
"prebundle": "1.2.2",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"@rsbuild/core": "workspace:*",
"@types/node": "18.x",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@rsbuild/core": "workspace:*",
"@scripts/test-helper": "workspace:*",
"@types/node": "18.x",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"prebundle": "1.2.2",
"resolve-url-loader": "^5.0.0",
"sass-loader": "^16.0.2",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@rsbuild/core": "workspace:*",
"@scripts/test-helper": "workspace:*",
"@types/babel__core": "^7.20.5",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-stylus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"@rsbuild/core": "workspace:*",
"@scripts/test-helper": "workspace:*",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@scripts/test-helper": "workspace:*",
"@types/node": "18.x",
"svelte": "^4.2.19",
"typescript": "^5.5.2"
"typescript": "^5.6.2"
},
"peerDependencies": {
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-svgr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"file-loader": "6.2.0",
"prebundle": "1.2.2",
"svgo": "^3.3.2",
"typescript": "^5.5.2",
"typescript": "^5.6.2",
"url-loader": "4.1.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"@rsbuild/core": "workspace:*",
"@scripts/test-helper": "workspace:*",
"typescript": "^5.5.2",
"typescript": "^5.6.2",
"vue": "^3.5.10",
"webpack": "^5.95.0"
},
Expand Down
Loading

0 comments on commit 0c92868

Please sign in to comment.