ts-object-path icon indicating copy to clipboard operation
ts-object-path copied to clipboard

A small typescript lib for generating deep object property path

Results 8 ts-object-path issues
Sort by recently updated
recently updated
newest added

If the value of an objects property is zero, `get(object,proxy)` will return undefined. I guess the problem is the usage of truthy in get: ``` o[key] || defaultValue ``` if...

Bumps [debug](https://github.com/debug-js/debug) from 2.6.8 to 2.6.9. Release notes Sourced from debug's releases. 2.6.9 Patches Remove ReDoS regexp in %o formatter: #504 Credits Huge thanks to @​zhuangya for their help! Changelog...

dependencies

Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [ts-jest](https://github.com/kulshekhar/ts-jest). These dependencies need to be updated together. Updates `json5` from 0.5.1 to 2.2.3 Release notes Sourced from json5's...

dependencies

Bumps [qs](https://github.com/ljharb/qs), [qs](https://github.com/ljharb/qs) and [qs](https://github.com/ljharb/qs). These dependencies needed to be updated together. Updates `qs` from 6.3.2 to 6.5.3 Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428)...

dependencies

This adds the ability to get the path of the ObjPathProxy object without having to use the "getPath" function every time. Exemple: ```typescript interface IExample extends ObjPath { one: number;...

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 8.0.0 to 17.2.3. Release notes Sourced from semantic-release's releases. v17.2.3 17.2.3 (2020-11-16) Bug Fixes mask secrets when characters get uri encoded (ca90b34) v17.2.2 17.2.2 (2020-10-29) Bug Fixes...

dependencies

Hi I've tried this library with TS 2.7+ but the types break on thats version

Take this example from the tests: ```` it('Works with arrays', () => { const o: ITest = { one: 5, four: [null, { firrst: 4 }] }; expect(get(o, (p) =>...