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

sam-ecs

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sam-ecs - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

13

dist/StateManager.js

@@ -17,5 +17,4 @@ 'use strict';

// ColSet = require('collections/set.js'),
ColSet = Set,
SortedArray = require('collections/sorted-array.js');
// Set = require('collections/set.js'),
SortedArray = require('collections/sorted-array.js');

@@ -37,3 +36,3 @@ //user imports

this._subStates = new Dict({
'default': new ColSet()
'default': new Set()
});

@@ -76,3 +75,3 @@

value: function getEntitySet() {
return new ColSet(this._entities.keys());
return new Set(this._entities.keys());
}

@@ -266,3 +265,3 @@

if (!this.hasComponent(componentName)) {
this._entitiesByComponent.set(componentName, new ColSet());
this._entitiesByComponent.set(componentName, new Set());
}

@@ -319,3 +318,3 @@

}
this._subStates.set(name, new ColSet());
this._subStates.set(name, new Set());

@@ -322,0 +321,0 @@ if (entities) {

{
"name": "sam-ecs",
"version": "4.0.3",
"version": "4.0.4",
"description": "A specialized entity component system",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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