Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitecs

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitecs - npm Package Compare versions

Comparing version 0.2.31 to 0.3.0

8

dist/index.es.js

@@ -631,7 +631,7 @@ const TYPES_ENUM = {

q.enter(q.entered.shift());
} else q.entered.shift();
} else q.entered.length = 0;
while (q.exited.length) if (q.exit) {
q.exit(q.exited.shift());
} else q.exited.shift();
} else q.exited.length = 0;
};

@@ -756,6 +756,8 @@

const hasComponent = (world, component, eid) => {
const registeredComponent = world[$componentMap].get(component);
if (!registeredComponent) return;
const {
generationId,
bitflag
} = world[$componentMap].get(component);
} = registeredComponent;
const mask = world[$entityMasks][generationId][eid];

@@ -762,0 +764,0 @@ return (mask & bitflag) === bitflag;

@@ -635,7 +635,7 @@ 'use strict';

q.enter(q.entered.shift());
} else q.entered.shift();
} else q.entered.length = 0;
while (q.exited.length) if (q.exit) {
q.exit(q.exited.shift());
} else q.exited.shift();
} else q.exited.length = 0;
};

@@ -760,6 +760,8 @@

const hasComponent = (world, component, eid) => {
const registeredComponent = world[$componentMap].get(component);
if (!registeredComponent) return;
const {
generationId,
bitflag
} = world[$componentMap].get(component);
} = registeredComponent;
const mask = world[$entityMasks][generationId][eid];

@@ -766,0 +768,0 @@ return (mask & bitflag) === bitflag;

{
"name": "bitecs",
"version": "0.2.31",
"version": "0.3.0",
"description": "Functional, minimal, data-driven, ultra-high performance ECS library written in Javascript",

@@ -5,0 +5,0 @@ "license": "MPL-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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