Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion solidity/ecdsa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"solidity-docgen": "^0.6.0-beta.35",
"ts-node": "^10.4.0",
"typechain": "^6.1.0",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
},
"dependencies": {
"@keep-network/random-beacon": "development",
Expand Down
16 changes: 16 additions & 0 deletions solidity/ecdsa/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
"files": ["./hardhat.config.ts"],
"include": ["./deploy", "./tasks", "./test", "./typechain", "./types"],
"compilerOptions": {
// TypeScript 6 turns `strict` on by default. Pinned off so the bump stays
// behaviour-preserving; this package has not been through strict yet.
"strict": false,
// TypeScript 6 stopped including every `node_modules/@types` package
// automatically, which silently drops the mocha and chai globals. These
// are the four that contribute globals here.
"types": ["mocha", "chai", "chai-as-promised", "node"],
// Required by TypeScript 6 once a project spans several top-level
// directories. `--noEmit` does not need it, but ts-node's emit path does,
// so hardhat will not start without it.
"rootDir": ".",
// `target: es5` is deprecated in 6 and removed in 7. tsconfig.export.json
// builds the published `export/` bundle at that target, and `prepare` runs
// it on install, so silencing it here keeps both working. Raising the
// export target is required before TypeScript 7 and is its own change.
"ignoreDeprecations": "6.0",
"esModuleInterop": true,
"skipLibCheck": true
}
Expand Down
18 changes: 9 additions & 9 deletions solidity/ecdsa/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ __metadata:
solidity-docgen: "npm:^0.6.0-beta.35"
ts-node: "npm:^10.4.0"
typechain: "npm:^6.1.0"
typescript: "npm:^5.9.3"
typescript: "npm:^6.0.3"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -11136,23 +11136,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^5.9.3":
version: 5.9.3
resolution: "typescript@npm:5.9.3"
"typescript@npm:^6.0.3":
version: 6.0.3
resolution: "typescript@npm:6.0.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/6bd7552ce39f97e711db5aa048f6f9995b53f1c52f7d8667c1abdc1700c68a76a308f579cd309ce6b53646deb4e9a1be7c813a93baaf0a28ccd536a30270e1c5
checksum: 10c0/4a25ff5045b984370f48f196b3a0120779b1b343d40b9a68d114ea5e5fff099809b2bb777576991a63a5cd59cf7bffd96ff6fe10afcefbcb8bd6fb96ad4b6606
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin<compat/typescript>":
version: 5.9.3
resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=5786d5"
"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin<compat/typescript>":
version: 6.0.3
resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin<compat/typescript>::version=6.0.3&hash=5786d5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/ad09fdf7a756814dce65bc60c1657b40d44451346858eea230e10f2e95a289d9183b6e32e5c11e95acc0ccc214b4f36289dcad4bf1886b0adb84d711d336a430
checksum: 10c0/2f25c74e65663c248fa1ade2b8459d9ce5372ff9dad07067310f132966ebec1d93f6c42f0baf77a6b6a7a91460463f708e6887013aaade22111037457c6b25df
languageName: node
linkType: hard

Expand Down
2 changes: 1 addition & 1 deletion solidity/random-beacon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"solidity-docgen": "^0.6.0-beta.35",
"ts-node": "^10.2.1",
"typechain": "^8.3.2",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
},
"engines": {
"node": ">=22.0.0"
Expand Down
20 changes: 20 additions & 0 deletions solidity/random-beacon/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@
"./tasks"
],
"compilerOptions": {
// TypeScript 6 turns `strict` on by default. Pinned off so the bump stays
// behaviour-preserving. `noImplicitAny` below is the one strict flag this
// package had already opted into, and it is kept.
"strict": false,
// TypeScript 6 stopped including every `node_modules/@types` package
// automatically, which silently drops the mocha and chai globals. These
// are the three that contribute globals here.
"types": ["mocha", "chai", "node"],
// Required by TypeScript 6 once a project spans several top-level
// directories. `--noEmit` does not need it, but ts-node's emit path does,
// so hardhat will not start without it.
"rootDir": ".",
// Two deprecations are silenced here, both belonging to the published
// `export/` bundle that `prepack` builds through tsconfig.export.json:
// `target: es5` itself, and `downlevelIteration`, which still changes
// emit at that target. Both are removed in TypeScript 7, so the export
// target has to be raised before then; doing it is its own change, and
// guessing that the option is inert would alter an artifact downstream
// packages consume.
"ignoreDeprecations": "6.0",
"esModuleInterop": true,
"noImplicitAny": true,
"downlevelIteration": true,
Expand Down
18 changes: 9 additions & 9 deletions solidity/random-beacon/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ __metadata:
solidity-docgen: "npm:^0.6.0-beta.35"
ts-node: "npm:^10.2.1"
typechain: "npm:^8.3.2"
typescript: "npm:^5.9.3"
typescript: "npm:^6.0.3"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -13560,23 +13560,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^5.9.3":
version: 5.9.3
resolution: "typescript@npm:5.9.3"
"typescript@npm:^6.0.3":
version: 6.0.3
resolution: "typescript@npm:6.0.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/6bd7552ce39f97e711db5aa048f6f9995b53f1c52f7d8667c1abdc1700c68a76a308f579cd309ce6b53646deb4e9a1be7c813a93baaf0a28ccd536a30270e1c5
checksum: 10c0/4a25ff5045b984370f48f196b3a0120779b1b343d40b9a68d114ea5e5fff099809b2bb777576991a63a5cd59cf7bffd96ff6fe10afcefbcb8bd6fb96ad4b6606
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin<compat/typescript>":
version: 5.9.3
resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=5786d5"
"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin<compat/typescript>":
version: 6.0.3
resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin<compat/typescript>::version=6.0.3&hash=5786d5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/ad09fdf7a756814dce65bc60c1657b40d44451346858eea230e10f2e95a289d9183b6e32e5c11e95acc0ccc214b4f36289dcad4bf1886b0adb84d711d336a430
checksum: 10c0/2f25c74e65663c248fa1ade2b8459d9ce5372ff9dad07067310f132966ebec1d93f6c42f0baf77a6b6a7a91460463f708e6887013aaade22111037457c6b25df
languageName: node
linkType: hard

Expand Down
Loading