Socket
Socket
Sign inDemoInstall

deep-state-observer

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-state-observer - npm Package Compare versions

Comparing version 4.1.14 to 4.2.0

4

bench.js

@@ -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

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