Commit Graph
5204 Commits
Author SHA1 Message Date
gcanti dbce3b0434 Schema: add brand combinator 2023-02-21 16:17:41 +01:00
Andrea Simone Costa 8e09ae34f4 fix: enhance union unification for boolean and bigint literals 2023-02-21 12:47:46 +01:00
gcanti 79284a396c Schema: export getPropertySignatures (∼ zod's shape feature) 2023-02-20 17:41:50 +01:00
gcanti 96cf6a34db format bigints 2023-02-19 16:38:27 +01:00
gcanti 3c8b92a67d fix empty struct validation and reuse /core/Predicate module for all refinements 2023-02-19 11:48:43 +01:00
gcanti 9a84a9a3a0 chore: fix multipleOf tests 2023-02-19 09:54:39 +01:00
github-actions[bot] 551db2f6fc Version Packages 2023-02-17 16:57:32 +01:00
gcanti c3f525ab4c move new compiler harness to AST module 2023-02-17 16:23:10 +01:00
gcanti e679419bc5 chore: refactor Pretty compiler 2023-02-17 16:23:10 +01:00
Jesse Kelly 3d77a6c454 feat: added data/Bigint and N.between 2023-02-17 12:52:52 +01:00
gcanti 5f9ba34574 ensures that lastIndex is reset to 0 in case the user has specified the g flag 2023-02-16 06:14:55 +01:00
Jesse Kelly 2be95269ae feat: added data/ReadonlyArray 2023-02-10 16:46:19 +01:00
Michael Arnaldi abfabd751b Update dev deps 2023-02-10 10:48:06 +00:00
Tim Smart 3c12560b9b refactor: s/getOrElse/getOrThrowWith 2023-02-10 10:28:59 +00:00
Tim Smart 8f4f26eb67 chore: update to latest ecosystem packages 2023-02-10 10:28:59 +00:00
Jesse Kelly 5474d75aa1 feat(data/Number): added sign filters 2023-02-08 19:23:36 +01:00
Jesse Kelly e29ca231cb refactor: created data/Number, data/String, data/Object 2023-02-07 12:17:42 +00:00
Michael Arnaldi 0a2b8823f0 Support brand errors 2023-02-06 15:44:24 +00:00
Jesse KellyandMichael Arnaldi 03e49e9237 feat: added data/Brand (#40)
Co-authored-by: Michael Arnaldi <arnaldimichael@gmail.com>
2023-02-05 12:59:34 +00:00
Michael Arnaldi 52c96587fe Add support for Data 2023-02-02 14:48:28 +00:00
github-actions[bot] ef3e36dd9c Version Packages 2023-01-27 08:10:48 +01:00
gcanti 1546633d7c Schema: remove json export 2023-01-27 08:04:50 +01:00
gcanti 791c55b372 enforce optional to be used as an outer wrapper of a Schema, closes (https://github.com/effect-ts/schema/pull/#67) 2023-01-27 08:04:50 +01:00
github-actions[bot] 8646e8fd0b Version Packages 2023-01-26 15:37:04 +01:00
gcanti 4caff5b250 Bug fix: - Parser + Arbitrary: favor property signatures over index signatures - Pretty: fix duplicated keys in presence of property signatures + index signatures 2023-01-26 15:32:22 +01:00
Milan Suk afc2434e0a fix: type literal signatures priority 2023-01-26 15:16:58 +01:00
gcanti 53f378b2d7 README: fix wrong example of extend 2023-01-26 06:43:38 +01:00
github-actions[bot] df9b912d63 Version Packages 2023-01-25 23:13:58 +01:00
Milan Suk d7eecf03c9 fix: encoder refinement 2023-01-25 23:03:38 +01:00
github-actions[bot] 81093b8ae1 Version Packages 2023-01-25 14:33:31 +01:00
gcanti dace24b51e upgrade to @fp-ts/data@0.1.0 2023-01-25 14:13:42 +01:00
gcanti 964cb069b5 move ParseOptions to AST and remove the I type parameter from Parser 2023-01-25 14:13:42 +01:00
gcanti de8eecb3a2 coverage: ignore /src/index.ts 2023-01-25 14:13:42 +01:00
gcanti e7b98684a3 upgrade to @fp-ts/core@0.1.1 2023-01-25 14:13:42 +01:00
gcanti bd4050b873 upgrade to latest @fp-ts/data 2023-01-25 14:13:42 +01:00
gcanti 2327830de3 remove uniq call 2023-01-25 14:13:42 +01:00
gcanti 96216feb03 AST: remove getPropertyKeys internal function 2023-01-25 14:13:42 +01:00
gcanti 80d33f6e1c AST: fix getPropertySignatures tuple case 2023-01-25 14:13:42 +01:00
gcanti 48a8c61c7c update fast-check dep 2023-01-25 14:13:42 +01:00
gcanti d99c87b8bd refactor index exports 2023-01-25 14:13:42 +01:00
gcanti 16306c3312 Schema: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti 909b8f25b6 Arbitrary: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti be4bba3c08 AST: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti ae77d7e069 Pretty: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti ca4abc394c ParseResult: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti 4a6f299175 internal/common: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti d4c51ded75 formatter/Tree: 100% coverage 2023-01-25 14:13:42 +01:00
gcanti 790200cac1 AST: added the create prefix to the APIs in order to conform to the style of TypeScript's AST 2023-01-25 14:13:42 +01:00
gcanti 2657ba393d rename ParseError module to ParseResult 2023-01-25 14:13:42 +01:00
gcanti 6c3596df0e revert 45 and add checks to make sure that properties or index signatures don't overlap 2023-01-25 14:13:42 +01:00