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

Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.

Results 20 object-path-immutable issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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...

dependencies

An example is this: ```js import immutable from 'object-path-immutable'; const obj = { foo: { bar: true } }; const newObj = immutable.del(obj, 'foo.rab.oof'); ``` What one gets is ```js...

bug

In terms of code readability `immutable()` makes more sense than `wrap`

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

Thanks for this lib! I have used many immutable dot-path solutions and this one has some really nice features that many others do not. I would like to propose another...

Now: `path.to.array.0` => After: `path.to.array[0]` Pros? Cons?

Breaking

When chaining multiple `assign`/`merge` calls that need to change the object root, I was expecting them all to have an effect. Instead only the last `assign`/`merge` is applied. ```js const...