Packages

dset

3.1.4 · 9 Sep 2024MIT24.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major7 Sep 2018Where it was published

2.1.0 is the newest release of 2.x.

npm marks 2.0.0 as deprecated: Please use dset@2.1.0 or later for an important security patch

In short

1 breaking1 internal

  • Breaking

    NEW Write into or create new Arrays with numeric path segments (#9): e6fea6f

Security

3 advisories affect 2.0.0; 3.1.4 fixes them

Release note

Major Changes

  • Breaking

    NEW Write into or create new Arrays with numeric path segments (#9): e6fea6f

    Thank you @bwendt-mylo 🎉

    let qux = {};
    dset(qux, 'a.0.b.0', 1);
    dset(qux, 'a.0.b.1', 2);
    //=> { a: [{ b: [1, 2] }] }

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.