Skip to content

Commit fc5f756

Browse files
committed
bump patch version to 0.2.2
a typo of `1` instead of `0` made the whole `LazySignal` function incorrectly. imagine my disappointment.
1 parent 3add8ea commit fc5f756

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deno.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "tsignal_ts",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "a topological order respecting signals library inspired by SolidJS",
55
"author": "Omar Azmi",
6-
"license": "Lulz plz don't steal yet",
6+
"license": "Anti-Competition License",
77
"repository": {
88
"type": "git",
99
"url": "git+https://github.com/omar-azmi/tsignal_ts.git"

src/signal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export const LazySignal_Factory = (ctx: Context) => {
207207
get(observer_id?: TO_ID | UNTRACKED_ID): T {
208208
if (this.rid || this.dirty) {
209209
super.set(this.fn(this.rid))
210-
this.dirty = 1
210+
this.dirty = 0
211211
this.rid = 0 as UNTRACKED_ID
212212
}
213213
return super.get(observer_id)

0 commit comments

Comments
 (0)