decoders
decoders copied to clipboard
Elegant validation library for type-safe input data (for TypeScript and Flow)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.5 to 7.19.0. Release notes Sourced from @babel/core's releases. v7.19.0 (2022-09-05) Blog post: https://babeljs.io/blog/2022/09/05/7.19.0 Thanks @SukkaW for your first PR! :eyeglasses: Spec Compliance babel-parser #14666 Support private...
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.180.1 to 0.186.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.2 to 7.19.0. Release notes Sourced from @babel/preset-env's releases. v7.19.0 (2022-09-05) Blog post: https://babeljs.io/blog/2022/09/05/7.19.0 Thanks @SukkaW for your first PR! :eyeglasses: Spec Compliance babel-parser #14666 Support private...
I have an object I'd like to run through Decoders, and I'd like to log the errors that it throws when there are validation issues - but there's one field...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.19.0 to 6.19.1. Release notes Sourced from @typescript-eslint/eslint-plugin's releases. v6.19.1 6.19.1 (2024-01-22) 🩹 Fixes eslint-plugin: [no-unnecessary-condition] fix false positive for type variable (#8235) type-utils: preventing isUnsafeAssignment infinite...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.19.0 to 6.19.1. Release notes Sourced from @typescript-eslint/parser's releases. v6.19.1 6.19.1 (2024-01-22) 🩹 Fixes eslint-plugin: [no-unnecessary-condition] fix false positive for type variable (#8235) type-utils: preventing isUnsafeAssignment infinite...
I am currently using your library for type-safe decoding of API responses, which sometimes contain arrays of items. In its current implementation, the `D.array` decoder will throw an error if...
A bit cryptic description, I know, but maybe the following example clarifies the issue: ```ts import { array, Decoder, object } from "decoders" type GenericArrayContainer = { value: F[] }...
Bumps [@vitest/coverage-istanbul](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul) from 1.2.2 to 1.5.2. Release notes Sourced from @vitest/coverage-istanbul's releases. v1.5.2 🐞 Bug Fixes Check for null before storing in weakmap - by @sheremet-va (ce368) View changes on...
Bumps [release-it](https://github.com/release-it/release-it) from 17.0.3 to 17.2.1. Release notes Sourced from release-it's releases. Release 17.2.1 Update some dependencies (bb23771) Exit without error message when requireCommits is true but requireCommitsFail is false...