@solidjs/signals
Advanced tools
@@ -5,3 +5,3 @@ import { type Heap } from "./heap.js"; | ||
| export { activeLanes, assignOrMergeLane, findLane }; | ||
| export { getOrCreateLane, hasActiveOverride, mergeLanes, resolveLane, type OptimisticLane } from "./lanes.js"; | ||
| export { getOrCreateLane, hasActiveOverride, mergeLanes, resolveLane } from "./lanes.js"; | ||
| export declare const dirtyQueue: Heap; | ||
@@ -17,2 +17,3 @@ export declare const zombieQueue: Heap; | ||
| export declare function setProjectionWriteActive(value: boolean): void; | ||
| export declare function setTrackedQueueCallback(value: boolean): void; | ||
| export type QueueCallback = (type: number) => void; | ||
@@ -23,2 +24,3 @@ type QueueStub = { | ||
| }; | ||
| type OptimisticNode = Signal<any> | Computed<any>; | ||
| export interface Transition { | ||
@@ -28,3 +30,3 @@ _time: number; | ||
| _pendingNodes: Signal<any>[]; | ||
| _optimisticNodes: Signal<any>[]; | ||
| _optimisticNodes: OptimisticNode[]; | ||
| _optimisticStores: Set<any>; | ||
@@ -36,4 +38,2 @@ _actions: Array<Generator<any, any, any> | AsyncGenerator<any, any, any>>; | ||
| export declare function schedule(): void; | ||
| export declare function addTransitionBlocker(node: Computed<any>): void; | ||
| export declare function removeTransitionBlocker(node: Computed<any>): void; | ||
| export interface IQueue { | ||
@@ -66,3 +66,3 @@ enqueue(type: number, fn: QueueCallback): void; | ||
| _pendingNodes: Signal<any>[]; | ||
| _optimisticNodes: Signal<any>[]; | ||
| _optimisticNodes: OptimisticNode[]; | ||
| _optimisticStores: Set<any>; | ||
@@ -69,0 +69,0 @@ static _update: (el: Computed<unknown>) => void; |
+1
-1
| { | ||
| "name": "@solidjs/signals", | ||
| "version": "0.13.5", | ||
| "version": "0.13.6", | ||
| "description": "SolidJS' standalone reactivity implementation", | ||
@@ -5,0 +5,0 @@ "author": "Ryan Carniato", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
322394
0.2%10710
0.38%