Skip to content

Commit

Permalink
⬆️ Update dependency typescript to ~5.4.2 (#4790)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Mar 20, 2024
1 parent cf0b54a commit fc9f689
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 48 deletions.
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"author": "Nicolas DUBIEN <github@dubien.org>",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"eslint-config-prettier": "^9.1.0",
"prettier": "3.2.5",
"publint": "^0.2.7",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/ava/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"esm": "^3.2.25",
"fast-check": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [
"ava",
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"homepage": "https://github.com/dubzzz/fast-check/tree/main/packages/expect-type#readme",
"devDependencies": {
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [
"type",
Expand Down
2 changes: 1 addition & 1 deletion packages/fast-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"regexp-tree": "^0.1.27",
"replace-in-file": "^7.1.0",
"typedoc": "^0.25.12",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [
"property-based testing",
Expand Down
4 changes: 3 additions & 1 deletion packages/fast-check/test/unit/arbitrary/webAuthority.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ describe('webAuthority (integration)', () => {
withIPv6: fc.boolean(),
withPort: fc.boolean(),
withUserInfo: fc.boolean(),
size: onlySmall ? fc.constantFrom('-1', '=', 'xsmall', 'small') : fc.oneof(sizeArb, relativeSizeArb),
size: onlySmall
? fc.constantFrom(...(['-1', '=', 'xsmall', 'small'] as const))
: fc.oneof(sizeArb, relativeSizeArb),
},
{ requiredKeys: [] },
);
Expand Down
6 changes: 5 additions & 1 deletion packages/fast-check/test/unit/arbitrary/webPath.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ describe('webPath (integration)', () => {

function webPathConstraintsBuilder(onlySmall?: boolean): fc.Arbitrary<WebPathConstraints> {
return fc.record(
{ size: onlySmall ? fc.constantFrom('-1', '=', 'xsmall', 'small') : fc.oneof(sizeArb, relativeSizeArb) },
{
size: onlySmall
? fc.constantFrom(...(['-1', '=', 'xsmall', 'small'] as const))
: fc.oneof(sizeArb, relativeSizeArb),
},
{ requiredKeys: [] },
);
}
8 changes: 6 additions & 2 deletions packages/fast-check/test/unit/arbitrary/webUrl.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,17 @@ function webUrlConstraintsBuilder(onlySmall?: boolean): fc.Arbitrary<WebUrlConst
withIPv4Extended: fc.boolean(),
withUserInfo: fc.boolean(),
withPort: fc.boolean(),
size: onlySmall ? fc.constantFrom('-1', '=', 'xsmall', 'small') : fc.oneof(sizeArb, relativeSizeArb),
size: onlySmall
? fc.constantFrom(...(['-1', '=', 'xsmall', 'small'] as const))
: fc.oneof(sizeArb, relativeSizeArb),
},
{ requiredKeys: [] },
),
withQueryParameters: fc.boolean(),
withFragments: fc.boolean(),
size: onlySmall ? fc.constantFrom('-1', '=', 'xsmall', 'small') : fc.oneof(sizeArb, relativeSizeArb),
size: onlySmall
? fc.constantFrom(...(['-1', '=', 'xsmall', 'small'] as const))
: fc.oneof(sizeArb, relativeSizeArb),
},
{ requiredKeys: [] },
);
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"fast-check": "workspace:*",
"jest": "^29.7.0",
"jest-jasmine2": "^29.7.0",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [
"jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/packaged/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/npmcli__arborist": "^5.6.5",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [],
"funding": [
Expand Down
2 changes: 1 addition & 1 deletion packages/poisoning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [
"poisoning",
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"babel-jest": "^29.7.0",
"fast-check": "workspace:*",
"jest": "^29.7.0",
"typescript": "~5.3.3",
"typescript": "~5.4.2",
"vite": "^5.2.2",
"vitest": "^1.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"keywords": [
"worker",
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"fast-check": "workspace:*",
"jest": "^29.7.0",
"jimp": "^0.22.12",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"browserslist": {
"production": [
Expand Down
46 changes: 13 additions & 33 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2721,7 +2721,7 @@ __metadata:
esm: "npm:^3.2.25"
fast-check: "workspace:*"
rxjs: "npm:^7.8.1"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
peerDependencies:
ava: ^4 || ^5 || ^6
languageName: unknown
Expand Down Expand Up @@ -2753,15 +2753,15 @@ __metadata:
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
supertest: "npm:^6.3.4"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

"@fast-check/expect-type@workspace:*, @fast-check/expect-type@workspace:packages/expect-type":
version: 0.0.0-use.local
resolution: "@fast-check/expect-type@workspace:packages/expect-type"
dependencies:
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

Expand All @@ -2781,7 +2781,7 @@ __metadata:
fast-check: "workspace:*"
jest: "npm:^29.7.0"
jest-jasmine2: "npm:^29.7.0"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
peerDependencies:
"@fast-check/worker": ~0.0.7 || ~0.1.0
"@jest/expect": ">=28.0.0"
Expand All @@ -2806,7 +2806,7 @@ __metadata:
eslint-config-prettier: "npm:^9.1.0"
prettier: "npm:3.2.5"
publint: "npm:^0.2.7"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

Expand All @@ -2823,7 +2823,7 @@ __metadata:
babel-jest: "npm:^29.7.0"
jest: "npm:^29.7.0"
npm-packlist: "npm:^8.0.0"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
bin:
packaged: ./bin/packaged.js
languageName: unknown
Expand All @@ -2841,7 +2841,7 @@ __metadata:
babel-jest: "npm:^29.7.0"
jest: "npm:^29.7.0"
jest-ts-webcompat-resolver: "npm:^1.0.0"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

Expand All @@ -2857,7 +2857,7 @@ __metadata:
babel-jest: "npm:^29.7.0"
fast-check: "workspace:*"
jest: "npm:^29.7.0"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
vite: "npm:^5.2.2"
vitest: "npm:^1.4.0"
peerDependencies:
Expand All @@ -2878,7 +2878,7 @@ __metadata:
fast-check: "npm:^3.4.0"
jest: "npm:^29.7.0"
jest-ts-webcompat-resolver: "npm:^1.0.0"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -9470,7 +9470,7 @@ __metadata:
regexp-tree: "npm:^0.1.27"
replace-in-file: "npm:^7.1.0"
typedoc: "npm:^0.25.12"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -18554,7 +18554,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:5.4.2":
"typescript@npm:5.4.2, typescript@npm:~5.4.2":
version: 5.4.2
resolution: "typescript@npm:5.4.2"
bin:
Expand All @@ -18564,17 +18564,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:~5.3.3":
version: 5.3.3
resolution: "typescript@npm:5.3.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>":
"typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A~5.4.2#optional!builtin<compat/typescript>":
version: 5.4.2
resolution: "typescript@patch:typescript@npm%3A5.4.2#optional!builtin<compat/typescript>::version=5.4.2&hash=5adc0c"
bin:
Expand All @@ -18584,16 +18574,6 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A~5.3.3#optional!builtin<compat/typescript>":
version: 5.3.3
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500
languageName: node
linkType: hard

"ufo@npm:^1.3.2":
version: 1.5.1
resolution: "ufo@npm:1.5.1"
Expand Down Expand Up @@ -19401,7 +19381,7 @@ __metadata:
prism-react-renderer: "npm:^2.3.1"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
typescript: "npm:~5.3.3"
typescript: "npm:~5.4.2"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit fc9f689

Please sign in to comment.