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

svelte-writable-derived

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-writable-derived - npm Package Versions

1

2.1.0

Diff

Changelog

Source

2.1.0 (July 24, 2020)

pikadudeno1
published 2.0.1 •

Changelog

Source

2.0.1 (June 14, 2019)

  • Fixed: Setting/updating a store to a new primitive value, then setting/updating the store to the same value from its subscriptions would prevent reflect from being called
  • Fixed: Setting/updating a subscriptionless store to the primitive value it already had could cause a spurious reflect call
pikadudeno1
published 2.0.0 •

Changelog

Source

2.0.0 (June 13, 2019)

  • Changed: reflect is now either a function with signature (reflecting, set) or an object with interface { withOld(reflecting, old, set) }. Async-ness is determined by whether the function accepts a set parameter, just as for the derive callback.
  • Changed: The reflect callback now runs after subscriptions. Additional set/update calls while running subscriptions result in reflect being called only once with the most recent value.
  • Changed: Changes to which operations cause a subscription-less writableDerived to subscribe-then-unsubscribe to all origins:
    • set method calls now do so
    • Getting old origin values in reflect no longer does so
  • Optimization: Origin values are no longer kept if reflect will not need them
  • Optimization: Participates in Svelte v3.5.0's diamond dependencies solution (downstream only; there is no diamond dependency handling for reflecting values back to their sources)
  • Optimization: No more internal writable store; the derived is the only internal store remaining

If this update was useful for you, show your appreciation with money, kind words, or a job!

pikadudeno1
published 1.0.1 •

Changelog

Source

1.0.1 (June 7, 2019)

  • Fixed: First subscription was getting its first call before derive ran
  • Optimization: Internal derived store is no longer set; all sets go to the internal writable store (replaced with a different optimization in 2.0.0)
pikadudeno1
published 1.0.0 •

Changelog

Source

1.0.0 (June 2, 2019)

  • Initial release
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