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

2

3.1.1

Diff

Changelog

Source

3.1.1 (April 3, 2024)

  • Fixed incorrect TypeScript definition for async derived (#25)
  • Now supports Svelte 5 (-next.94 and later)

In Svelte 5, this package does not use runes and continues to use the original writable store interface, which is not deprecated. I may release a separate package that uses runes.

pixievoltno1
published 3.1.0 •

Changelog

Source

3.1.0 (June🏳️‍🌈 14, 2023)

With this release, I am committing to supporting Svelte v4 through its prereleases and beyond! If this is helpful for you, tip the maintainer!

pixievoltno1
published 2.1.6 •

Changelog

Source

2.1.6 (December 24🎄, 2022)

No behavior changes.

  • Announce v3 and deprecate asynchronous reflect
pixievoltno1
published 3.0.1 •

Changelog

Source

3.0.1 (published as @next December 24🎄, 2022; @latest January 11, 2023)

  • Changed: reflect now has only one form with signature (reflecting, old). It can no longer set origins asynchronously. (#23)
  • Typescript improvements:
    • When origins is an array, values returned by reflect must be compatible with its stores, just as when origins is a single store (#19)
    • writableDerived is reduced from 8 to 2 signatures, making TypeScript error messages more useful

(Version 3.0.0 introduced the above changes but lacked some updates to readme example code and the JSDocs.)

pixievoltno1
published 3.0.0 •

pixievoltno1
published 2.1.5 •

Changelog

Source

2.1.5 (July 3, 2022)

No behavior changes.

  • Specify package.json's default conditional export last, resolving errors with tools like Webpack that strictly require it (#21)
pixievoltno1
published 2.1.4 •

Changelog

Source

2.1.4 (June🏳️‍🌈 22, 2022)

  • Fixed derive not getting called when an origin was set by its own subscription in response to reflect (#18)
  • TypeScript changes (#19):
    • Using a single origin store now requires it implement the set method from Svelte's Writable type
    • Improved definitions of reflect to help TypeScript choose the correct writableDerived overload
    • When origins is an array, the type reflect can set with has been loosened to any[]. This is a temporary measure to reduce undecipherable TypeScript errors.
    • Stores passed to propertyStore are no longer required to have an update method
  • Fixed links meant to point to specific sections of the Svelte documentation in the readme and JSDocs
pixievoltno1
published 2.1.3 •

Changelog

Source

2.1.3 (March 20, 2022)

No behavioral changes.

  • TypeScript fully supported (thanks, qu1ncyk!)
pixievoltno1
published 2.1.2 •

Changelog

Source

2.1.2 (November 14, 2021)

  • Fixed reflect not getting the latest value after a subscription updates its own store in Svelte >=3.6.9 (#13)
  • Documented in the readme & JSDocs that propertyStore accepts numerical propNames (though this is newly-documented, it's in a SemVer-patch release to indicate it's worked since 2.1.0) (#12)
  • JSDocs now use Markdown [links] instead of JSDoc {@link}s, working around VSCode bugs with the latter
pixievoltno1
published 2.1.1 •

Changelog

Source

2.1.1 (November 22, 2020)

No behavioral changes.

  • Added repository, exports, & sideEffects fields to package.json
2
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