Commit Graph

41 Commits (3a675797ea7c581ed52935e415a2850b8b68553d)

Author SHA1 Message Date
Alvin Ramskogler 9f89a92d31
feat: add `readonly` method to convert writable store to readonly (#6518)
2 years ago
Ben Bucksch f6ef6a9349
fix: don't throw when calling writable() unsubscribe twice (#8186)
2 years ago
Ignatius Bagus b295d68ec6
fix types: allow writable/readable empty initialization (#6293)
3 years ago
Conduitry 5107ad38b6
fix deriving from RxJS observables (#4300)
5 years ago
Richard Harris c1a3679806 remove ts-node - no typescript inside test/
5 years ago
Brian Takita bbeafbafab fixes https://github.com/sveltejs/svelte/issues/3191
5 years ago
Richard Harris e5be2ec348 lint
5 years ago
Rich Harris 2d5f11a308 handle rxjs-style observables with get_store_value - fixes #3153
5 years ago
Richard Harris 65eb5bb340 only call subscriber once for writable with callback - fixes #3022
5 years ago
James Garbutt caebe0deb8 Introduce ESLint to svelte sources (#2958)
5 years ago
Rich Harris 3805421d44 solve diamond dependencies (#2660)
5 years ago
Richard Harris 0b12b89d3e oops
5 years ago
Richard Harris 0edb5debf2 handle non-falsy non-function deriver return values - fixes #2780
5 years ago
Sander Hahn 52eda23a53 advanced type for derived
5 years ago
Rich Harris fdc51de090 allow derivers to return cleanup functions - fixes #2553
5 years ago
Richard Harris a7265f65e3 use safe_not_equal logic for derived stores - fixes #2644
5 years ago
Conduitry 3170edb158 add initial_value argument to derived store
5 years ago
Conduitry 6e46a18969 rename `derive` to `derived`
5 years ago
Richard Harris f3cb540ce6 update readable signature to match writable - fixes #2296
5 years ago
Richard Harris a203bfd071 express readable in terms of writable
6 years ago
Richard Harris 41b14606b4 allow stores to work with mutable data - fixes #2171
6 years ago
Conduitry f6b3f38e89 expose get() from svelte/store (#2060)
6 years ago
Richard Harris 9e8e99caf6 add second argument to writable - fixes #2072
6 years ago
Rich Harris a2ff93cb72 glitch-free reactive stores
6 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
6 years ago
Dmitry Kurmanov 07b7212783
Update index.js
6 years ago
Rich Harris 367f062e4e fix and simplify cycle detection
6 years ago
Rich Harris 923c64d086 put test alongside other store tests
6 years ago
Rich Harris 9bc8b74107 update store tests
6 years ago
Rich Harris 34d2fbfa58 remove ES5 constraint
6 years ago
Gareth Oates 389b5c9ff9 There was no test to determine if onchange cancel threw an error
7 years ago
Jacob Wright 9a1d87494d Removes date checks and simplifies NaN checks, adds tests
7 years ago
Rich Harris fd8bbe3eb7 update test
7 years ago
Rich Harris a0d8d09003 guard against introducing ES6+isms into store.js
7 years ago
Rich Harris d479224067 prevent cyclical store computations, and computation duplication
7 years ago
Rich Harris d5d1eccb28 remove combineStores
7 years ago
Rich Harris adc248f639 make target store optional
7 years ago
Rich Harris 47547ed0ab better implementation of computed properties
7 years ago
Rich Harris a669dbfcd4 add combineStores function
7 years ago
Rich Harris f23c886b6a computed properties
7 years ago
Rich Harris d0e5098ea6 implement Store
7 years ago