Socket
Socket
Sign inDemoInstall

anotherstatemanager

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anotherstatemanager - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

package.json
{
"name": "anotherstatemanager",
"version": "1.0.2",
"version": "1.0.3",
"description": "Very flexible, performant, simple state management for managing a lot of rapid changes and various scenarios. Great for low overhead event management of game inputs and data streams.",
"main": "StateManager.js",
"type":"module",
"scripts": {

@@ -22,3 +23,3 @@ "test": "echo \"Error: no test specified\" && exit 1"

"dependencies": {
"objectlisteners": "^1.0.0"
"objectlisteners": "1.0.2"
},

@@ -25,0 +26,0 @@ "bugs": {

4

StateManager.js

@@ -1,2 +0,2 @@

import {ObjectListener} from 'objectlisteners'
import ObjectListener from 'objectlisteners'

@@ -55,2 +55,3 @@ //By Joshua Brewster (MIT License)

//Removes all references to a state key i.e. subscriptions and data
removeState(key, sequential=false){

@@ -599,1 +600,2 @@ if (sequential) this.unsubscribeAllSequential(key);

export default StateManager
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