dot-prop-immutable
dot-prop-immutable copied to clipboard
Immutable version of dot-prop with some extensions
Version: "dot-prop-immutable": "^2.1.1" Steps to reproduce: Run the following expression: ```JS dotProp.delete({a:5, b:undefined, c:undefined}, 'b') ``` Return Value: ```JS {a: 5, b: undefined, c: undefined} ``` Expected Return Value: ```JS...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
add "many" functions. Thanks to @porfirioribeiro for initial contribution with `setMany` functionality.
When attempting to access a a nested attribute of a null value, a `TypeError` is encountered. The below test suite illustrates the behavior. Is this intended, or something that can/should...
It would be nice if it supported multiple assignments. For ex: `dotProp.mset (state, {path1 : value1, path2 : value2})`
Actually, it is as simple as ```ts import dotProp from 'dot-prop-immutable' export function pick (el: T, select: (string | number)[]): Partial { let p = {} as Partial select.map((k) =>...
Hello, i was using your lib with Angular 8 and Typescript 3.5, but i've upgraded my app to Angular 9/Typescript 3.7 and now i have an error with `dotprop.delete()`. ...