Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

break: 3.0 #23

Merged
merged 13 commits into from
Jan 28, 2021
Merged

break: 3.0 #23

merged 13 commits into from
Jan 28, 2021

Conversation

lukeed
Copy link
Owner

@lukeed lukeed commented Jan 28, 2021

Breaking

  • Overwrites existing, non-object values as needed.
    • is now inline with lodash/set and set-value behavior
  • Use named dset export
    • previously was default export
  • Exit loop when unsafe key(s) encountered (Break loop on magical key? #22)
    • previously skipped over the offending key, but continued processing those after it
    • now matches lodash/set behavior; abandoned set-value behavior

Features

  • Add "exports" map for native ESM support
  • Add support for keys with number type (Accept numbers as path elements #12)
    • previously, ['foo', 1] failed, but now it's the same as ['foo', '1'] and 'foo.1'

Chores

  • Use ESM format within tests
  • Update benchmark & results
  • Cleanup README examples

@lukeed lukeed merged commit 72b49ab into master Jan 28, 2021
@lukeed lukeed deleted the next branch January 28, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant