From 99b7fbf62846c29ce0f83b4c60430800a22e2e00 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:51:14 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20dependency=20?= =?UTF-8?q?prettier=20to=20v3.3.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d194ead6f8a..f98c497257e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "eslint": "^9.3.0", "eslint-config-prettier": "^9.1.0", "globals": "^15.3.0", - "prettier": "3.2.5", + "prettier": "3.3.1", "publint": "^0.2.8", "typescript": "~5.4.5", "typescript-eslint": "^7.11.0" diff --git a/yarn.lock b/yarn.lock index 660d259ec78..67b5d35f365 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2802,7 +2802,7 @@ __metadata: eslint: "npm:^9.3.0" eslint-config-prettier: "npm:^9.1.0" globals: "npm:^15.3.0" - prettier: "npm:3.2.5" + prettier: "npm:3.3.1" publint: "npm:^0.2.8" typescript: "npm:~5.4.5" typescript-eslint: "npm:^7.11.0" @@ -15690,12 +15690,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.2.5": - version: 3.2.5 - resolution: "prettier@npm:3.2.5" +"prettier@npm:3.3.1": + version: 3.3.1 + resolution: "prettier@npm:3.3.1" bin: prettier: bin/prettier.cjs - checksum: 10c0/ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6 + checksum: 10c0/c25a709c9f0be670dc6bcb190b622347e1dbeb6c3e7df8b0711724cb64d8647c60b839937a4df4df18e9cfb556c2b08ca9d24d9645eb5488a7fc032a2c4d5cb3 languageName: node linkType: hard From 7b37c1184d1851155c26a8c03140370469559e81 Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Thu, 6 Jun 2024 02:01:23 +0000 Subject: [PATCH 2/2] format --- packages/fast-check/MIGRATION_2.X_TO_3.X.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/fast-check/MIGRATION_2.X_TO_3.X.md b/packages/fast-check/MIGRATION_2.X_TO_3.X.md index 97b40c1f988..506180055bf 100644 --- a/packages/fast-check/MIGRATION_2.X_TO_3.X.md +++ b/packages/fast-check/MIGRATION_2.X_TO_3.X.md @@ -58,7 +58,9 @@ As the migration is pretty automatable, a codemod is provided to do part of the **Guidelines for v2 (≥2.8.0 recommended)**: Move any of the signatures specified above to its recent equivalent. [^1]: Like `integer(max)` or `array(arb, maxLength)` and even `array(arb, minLength, maxLength)`. + [^2]: For instance, we added `size` and `depthIdentifier` onto `array` doing it with yet another set of extra parameters would have been problematic. + [^3]: Initially, the rule has been: one extra argument for each new option like `array(arb, maxLength)`. But it used to be replaced by constraints-based signatures like `object(constraints)` for the most recent additions. ## Drop some arbitraries ✨