deep-state-observer
Advanced tools
Comparing version 4.1.14 to 4.2.0
@@ -5,4 +5,4 @@ const Benchmark = require("benchmark"); | ||
const width = 10; | ||
const height = 1000; | ||
const subs = 100; | ||
const height = 10000; | ||
const subs = 1000; | ||
@@ -9,0 +9,0 @@ function getObj() { |
@@ -23,2 +23,3 @@ export interface PathInfo { | ||
experimentalMatch?: boolean; | ||
queue?: boolean; | ||
useObjectMaps?: boolean; | ||
@@ -38,2 +39,3 @@ useProxy?: boolean; | ||
data?: any; | ||
queue?: boolean; | ||
ignore?: string[]; | ||
@@ -167,2 +169,3 @@ group?: boolean; | ||
private listeners; | ||
private waitingListeners; | ||
private data; | ||
@@ -172,2 +175,4 @@ private options; | ||
private scan; | ||
private jobsRunning; | ||
private updateQueue; | ||
private subscribeQueue; | ||
@@ -177,2 +182,3 @@ private listenersIgnoreCache; | ||
private destroyed; | ||
private queueRuns; | ||
private resolved; | ||
@@ -230,3 +236,5 @@ private muted; | ||
private getParams; | ||
subscribeAll(userPaths: string[], fn: ListenerFunction, options?: ListenerOptions): () => void; | ||
waitForAll(userPaths: string[], fn: WaitingListenerFunction): () => void; | ||
private executeWaitingListeners; | ||
subscribeAll(userPaths: string[], fn: ListenerFunction | WaitingListenerFunction, options?: ListenerOptions): () => void; | ||
private getCleanListenersCollection; | ||
@@ -253,2 +261,3 @@ private getCleanListener; | ||
private wildcardUpdate; | ||
private runUpdateQueue; | ||
private updateNotify; | ||
@@ -255,0 +264,0 @@ private updateNotifyAll; |
{ | ||
"name": "deep-state-observer", | ||
"version": "4.1.14", | ||
"version": "4.2.0", | ||
"description": "Deep state observer is an state management library that will fire listeners only when specified object node (which also can be a wildcard) was changed.", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs.js", |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
673109
16425