Packages

dset

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

Upgrading dset From 2.1.0 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.1.0Clears its 2 advisories, Latest3.1.4
  1. 2.1.0yours
  2. 3.0.0target
3
changes to make
0
advisories fixed
2
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

2 advisories still affect 3.0.0

Upgrading to 3.1.4 clears them.

Release by release

  1. 3.0.0

    Migration needed28 Jan 20212 new
    • Breaking

      Overwrites existing, non-object values as needed: 569955d Now dset is inline with lodash/set and set-value behaviors

    • Breaking

      Use named dset export instead of default export: 7ac17ed

    • Breaking

      Exit loop when unsafe key(s) encountered (#22): 0a11c8a Previously, as of v2.1.0, dset skipped over the offending key, but continued processing those after it. Now dset matches the lodash/set behavior, abandoning the current dset() execution entirely.

    • New

      Add "exports" map for native ESM support: fa7ab74

    • New

      Add support for keys with number type (#12): 5b09e52 Previously, dset(input, ['foo', 1], 123) failed because 1 was a number. Now, ['foo', 1] is treated the same as ['foo', '1'] and 'foo.1'

5 internal lines (docs, tests, tooling) left out.

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.