Skip to content

Commit

Permalink
chore(deps): update dependency typescript to v5.2.2 (#450)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency typescript to v5.2.2

* fix: type type declaration of resource in fetch

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Keith <[email protected]>
  • Loading branch information
renovate[bot] and Keith-CY authored Aug 25, 2023
1 parent a2247ae commit db31208
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"lint-staged": "14.0.1",
"prettier": "3.0.2",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
"typescript": "5.2.2"
},
"lint-staged": {
"**/*": [
Expand Down
3 changes: 1 addition & 2 deletions packages/common/src/util.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { TransactionWithStatus } from '@ckb-lumos/base'
import type { RPC } from '@ckb-lumos/lumos'
import type { URL } from 'node:url'
import { scheduler } from 'node:timers/promises'
import path from 'node:path'
import fs from 'node:fs'
Expand Down Expand Up @@ -38,7 +37,7 @@ export const cachePath = (...paths: string[]) => createPath(path.resolve(PATH.ca

export const configPath = (...paths: string[]) => createPath(path.resolve(PATH.config, ...paths))

export const downloadFile = async (url: string | URL, filePath: string) =>
export const downloadFile = async (url: RequestInfo | globalThis.URL, filePath: string) =>
await pipeline(
await fetch(url, { method: 'GET' }).then((res) => {
if (res.body) {
Expand Down
2 changes: 1 addition & 1 deletion packages/models/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
},
"devDependencies": {
"@jest/globals": "29.6.4",
"typescript": "5.1.6"
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/samples/mvp-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
},
"devDependencies": {
"@types/koa__cors": "4.0.0",
"typescript": "5.1.6"
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"devDependencies": {
"@jest/globals": "29.6.4",
"ts-node": "10.9.1",
"typescript": "5.1.6"
"typescript": "5.2.2"
}
}

0 comments on commit db31208

Please sign in to comment.