| 1 | "effect/FastCheck": |
| 2 | replacement: "fast-check" |
| 3 | note: "Effect no longer re-exports fast-check. Depend on the fast-check package and import it directly. For Schema-derived generation, use Arbitrary.schema from effect/Arbitrary." |
| 4 | "effect/FastCheck#ascii": |
| 5 | replacement: "FastCheck.string" |
| 6 | note: "Depend on fast-check and import it directly. fast-check v4 replaced character arbitraries with string units." |
| 7 | example: "FastCheck.string({ unit: \"binary-ascii\", minLength: 1, maxLength: 1 })" |
| 8 | "effect/FastCheck#asciiString": |
| 9 | replacement: "FastCheck.string" |
| 10 | note: "Depend on fast-check and import it directly. Use the binary-ascii string unit." |
| 11 | example: "FastCheck.string({ ...constraints, unit: \"binary-ascii\" })" |
| 12 | "effect/FastCheck#base64": |
| 13 | replacement: "FastCheck.constantFrom" |
| 14 | note: "Depend on fast-check and import it directly. Generate one base64 alphabet character; base64String remains for complete encoded strings." |
| 15 | example: "FastCheck.constantFrom(...\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/\")" |
| 16 | "effect/FastCheck#bigIntN": |
| 17 | replacement: "FastCheck.bigInt" |
| 18 | note: "Depend on fast-check and import it directly. Express the signed bit range with min and max constraints." |
| 19 | "effect/FastCheck#bigUint": |
| 20 | replacement: "FastCheck.bigInt" |
| 21 | note: "Depend on fast-check and import it directly. Use a minimum of 0n and the previous maximum." |
| 22 | example: "FastCheck.bigInt({ min: 0n, max })" |
| 23 | "effect/FastCheck#BigUintConstraints": |
| 24 | replacement: "FastCheck.BigIntConstraints" |
| 25 | note: "Depend on fast-check and import it directly. Unsigned bigint constraints were consolidated into BigIntConstraints with min: 0n." |
| 26 | "effect/FastCheck#bigUintN": |
| 27 | replacement: "FastCheck.bigInt" |
| 28 | note: "Depend on fast-check and import it directly. Express the unsigned bit range with min and max constraints." |
| 29 | example: "FastCheck.bigInt({ min: 0n, max: (1n << BigInt(n)) - 1n })" |
| 30 | "effect/FastCheck#char": |
| 31 | replacement: "FastCheck.string" |
| 32 | note: "Depend on fast-check and import it directly. Use a one-unit printable ASCII string." |
| 33 | example: "FastCheck.string({ unit: \"grapheme-ascii\", minLength: 1, maxLength: 1 })" |
| 34 | "effect/FastCheck#char16bits": |
| 35 | replacement: "FastCheck.nat" |
| 36 | note: "Depend on fast-check and import it directly. Map a 16-bit natural number through String.fromCharCode." |
| 37 | example: "FastCheck.nat({ max: 0xffff }).map(String.fromCharCode)" |
| 38 | "effect/FastCheck#check": |
| 39 | replacement: "FastCheck.check" |
| 40 | note: "Depend on fast-check and import it directly. The runner remains, but RunDetails.error was replaced by errorInstance in fast-check v4." |
| 41 | "effect/FastCheck#constant": |
| 42 | replacement: "FastCheck.constant" |
| 43 | note: "Depend on fast-check and import it directly. The API remains; v4 infers literal types by default." |
| 44 | "effect/FastCheck#context": |
| 45 | replacement: "FastCheck.context" |
| 46 | note: "Depend on fast-check and import it directly. The API is otherwise unchanged." |
| 47 | "effect/FastCheck#fullUnicode": |
| 48 | replacement: "FastCheck.string" |
| 49 | note: "Depend on fast-check and import it directly. Use a one-unit binary Unicode string." |
| 50 | example: "FastCheck.string({ unit: \"binary\", minLength: 1, maxLength: 1 })" |
| 51 | "effect/FastCheck#fullUnicodeString": |
| 52 | replacement: "FastCheck.string" |
| 53 | note: "Depend on fast-check and import it directly. Use the binary string unit." |
| 54 | example: "FastCheck.string({ ...constraints, unit: \"binary\" })" |
| 55 | "effect/FastCheck#hexa": |
| 56 | replacement: "FastCheck.integer" |
| 57 | note: "Depend on fast-check and import it directly. Map an integer from 0 through 15 to a hexadecimal character." |
| 58 | "effect/FastCheck#hexaString": |
| 59 | replacement: "FastCheck.string" |
| 60 | note: "Depend on fast-check and import it directly. Pass a hexadecimal-character arbitrary as the string unit." |
| 61 | "effect/FastCheck#stream": |
| 62 | replacement: "FastCheck.stream" |
| 63 | note: "Depend on fast-check and import it directly. The API remains; update custom generator and Random implementations for fast-check v4 typings." |
| 64 | "effect/FastCheck#string16bits": |
| 65 | replacement: "FastCheck.string" |
| 66 | note: "Depend on fast-check and import it directly. Pass a char16bits-compatible arbitrary as the string unit." |
| 67 | "effect/FastCheck#stringOf": |
| 68 | replacement: "FastCheck.string" |
| 69 | note: "Depend on fast-check and import it directly. Pass the former character arbitrary as the unit constraint." |
| 70 | example: "FastCheck.string({ ...constraints, unit: arbitrary })" |
| 71 | "effect/FastCheck#unicode": |
| 72 | replacement: "FastCheck.integer" |
| 73 | note: "Depend on fast-check and import it directly. Map BMP code points while excluding surrogate code points; prefer the binary string unit for full Unicode." |
| 74 | "effect/FastCheck#unicodeJson": |
| 75 | replacement: "FastCheck.json" |
| 76 | note: "Depend on fast-check and import it directly. Select binary or grapheme strings with stringUnit." |
| 77 | example: "FastCheck.json({ stringUnit: \"binary\" })" |
| 78 | "effect/FastCheck#UnicodeJsonSharedConstraints": |
| 79 | replacement: "FastCheck.JsonSharedConstraints" |
| 80 | note: "Depend on fast-check and import it directly. Unicode JSON generation was consolidated into JsonSharedConstraints.stringUnit." |
| 81 | "effect/FastCheck#unicodeJsonValue": |
| 82 | replacement: "FastCheck.jsonValue" |
| 83 | note: "Depend on fast-check and import it directly. Select binary or grapheme strings with stringUnit." |
| 84 | example: "FastCheck.jsonValue({ stringUnit: \"binary\" })" |
| 85 | "effect/FastCheck#unicodeString": |
| 86 | replacement: "FastCheck.string" |
| 87 | note: "Depend on fast-check and import it directly. Pass a BMP-code-point arbitrary as the unit constraint; prefer unit: binary for full Unicode." |
| 88 | "effect/FastCheck#uuidV": |
| 89 | replacement: "FastCheck.uuid" |
| 90 | note: "Depend on fast-check and import it directly. Specify the UUID version through constraints." |
| 91 | example: "FastCheck.uuid({ version: 4 })" |