simple-runtypes icon indicating copy to clipboard operation
simple-runtypes copied to clipboard

Small, efficient and extendable runtype library for Typescript

Results 13 simple-runtypes issues
Sort by recently updated
recently updated
newest added

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.11. Release notes Sourced from actions/cache's releases. v3.0.11 What's Changed Call out cache not saved on hit by @​Phantsure in actions/cache#946 Update @​actions/core to 1.10.0...

dependencies

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.4.1 to 3.5.1. Release notes Sourced from actions/setup-node's releases. Update @​actions/core and Print Node, Npm, Yarn versions In scope of this release we updated actions/core to 1.10.0....

dependencies

Rename `record` to `object` because that seems to be the standard name for "interface" runtypes. Drop the existing `object` runtype completely or rename it to `plainObject` or `javascriptObject`. Keep `record`...

Change the existing `sloppyRecord` runtype functionality into a `nonStrict` combinator that works on `record` runtypes, similar to how `pick` works atm. Before: ``` import * as st from 'simple-runtypes' const...

As [TSDX](https://www.npmjs.com/package/tsdx) seems rather [unmaintained and its future unclear](https://github.com/jaredpalmer/tsdx/issues/1065). Replace it preferably with something that takes care with packaging and supports the same features as TSDX (minifying, sourcemaps, dts files,...

The record-combinators need to keep the sloppy param when creating the returned record with the modified fields.

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.3.1. Release notes Sourced from actions/cache's releases. v3.3.1 What's Changed Reduced download segment size to 128 MB and timeout to 10 minutes by @​kotewar in...

dependencies

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.4.1 to 3.6.0. Release notes Sourced from actions/setup-node's releases. Add Support for Nightly, Canary and RC builds for Node.js In scope of this release we added support...

dependencies

Looks like this project is **exactly what i need**. But i cannot understand project status correctly. I see an issues with merged PRs, but it was not released for months.

``` [Node] ~/backend/node_modules/simple-runtypes/src/omit.ts:15 [Node] throw new RuntypeUsageError(`expected a record runtype`) [Node] ^ [Node] Error: expected a record runtype [Node] at Object.omit (~/backend/node_modules/simple-runtypes/src/omit.ts:15:11) ```