New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ariesclark/state

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariesclark/state - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

dist/index.d.ts

@@ -50,5 +50,2 @@ import { Flatten, Keys } from "@ariesclark/utils/dist/objects";

initialState: Readonly<T>;
private current;
private subscribers;
private dirtyKeys;
/**

@@ -79,3 +76,2 @@ * Create a new maintained state.

set<K extends Keys<Current<T>>>(key: K, value: Current<T>[K]): void;
private _dispatch;
private dispatch;

@@ -82,0 +78,0 @@ /**

10

dist/index.js

@@ -19,5 +19,13 @@ "use strict";

this.computeMap = computeMap;
/**
* @internal
*/
this.subscribers = utils_1.objects.create();
/**
* @internal
*/
this.dirtyKeys = new Set();
// eslint-disable-next-line @typescript-eslint/member-ordering
/**
* @internal
*/
this._dispatch = null;

@@ -24,0 +32,0 @@ this.initialState = Object.freeze(utils_1.objects.create(initialState));

{
"name": "@ariesclark/state",
"version": "1.0.0",
"version": "1.0.1",
"description": "A cool state container",

@@ -5,0 +5,0 @@ "keywords": [

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