Huge News!Announcing our $40M Series B led by Abstract Ventures.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 3.1.0 to 3.1.1

24

dist/Manager.js

@@ -111,12 +111,24 @@ 'use strict';

this._hashes = new FastSet();
this._user = undefined;
}
/**
* @description - Returns a hash that is guaranteed not to already be in
* use by the ECS manager
* @return {String} - randomized string that can be used as a hash identifier
*/
_createClass(Manager, [{
key: 'setUser',
value: function setUser(value) {
this._user = value;
}
}, {
key: 'getUser',
value: function getUser() {
return this._user;
}
/**
* @description - Returns a hash that is guaranteed not to already be in
* use by the ECS manager
* @return {String} - randomized string that can be used as a hash identifier
*/
_createClass(Manager, [{
}, {
key: 'generateHash',

@@ -123,0 +135,0 @@ value: function generateHash() {

{
"name": "sam-ecs",
"version": "3.1.0",
"version": "3.1.1",
"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