Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-update-in

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-update-in - npm Package Versions

1
7

1.2.1-master.b9b6308

Diff

compulim
published 1.2.1-master.dad2747 •

compulim
published 1.2.1-master.897c6d0 •

compulim
published 1.2.0-master.c36e845 •

compulim
published 1.2.1-master.f2ba331 •

compulim
published 1.2.0 •

Changelog

Source

[1.2.0] - 2018-04-14

Added

  • If after updater result in nothing change (triple-equal ===), will return untouched
  • updater returned undefined will be treated as removing the item

Fixed

  • Append not creating sub-structure correctly
    • updateIn([1, 2], [-1, 0], 'Hello') should return [1, 2, ['Hello']] instead of [1, 2, 'Hello']
compulim
published 1.1.2-master.a6cb16a •

compulim
published 1.1.2-master.9dfd73c •

compulim
published 1.1.2-master.6d997fd •

compulim
published 1.1.2-master.cf20461 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc