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.3.7 to 0.3.8

6

dist/index.es.js

@@ -69,3 +69,3 @@ const TYPES_ENUM = {

const length = store[0].length;
const indexType = length < UNSIGNED_MAX.uint8 ? 'ui8' : length < UNSIGNED_MAX.uint16 ? 'ui16' : 'ui32';
const indexType = length <= UNSIGNED_MAX.uint8 ? 'ui8' : length <= UNSIGNED_MAX.uint16 ? 'ui16' : 'ui32';
const arrayCount = metadata[$storeArrayCounts][type];

@@ -501,3 +501,3 @@ const summedLength = Array(arrayCount).fill(0).reduce((a, p) => a + length, 0); // for threaded impl

const $entityIndices = Symbol('entityIndices');
const NONE$1 = 2 ** 32;
const NONE$1 = 2 ** 32 - 1;
let defaultSize = 100000; // need a global EID cursor which all worlds and all components know about

@@ -593,3 +593,3 @@ // so that world entities can posess entire rows spanning all component tables

const $queryComponents = Symbol('queryComponents');
const NONE = 2 ** 32;
const NONE = 2 ** 32 - 1;
const enterQuery = query => world => {

@@ -596,0 +596,0 @@ if (!world[$queryMap].has(query)) registerQuery(world, query);

@@ -73,3 +73,3 @@ 'use strict';

const length = store[0].length;
const indexType = length < UNSIGNED_MAX.uint8 ? 'ui8' : length < UNSIGNED_MAX.uint16 ? 'ui16' : 'ui32';
const indexType = length <= UNSIGNED_MAX.uint8 ? 'ui8' : length <= UNSIGNED_MAX.uint16 ? 'ui16' : 'ui32';
const arrayCount = metadata[$storeArrayCounts][type];

@@ -505,3 +505,3 @@ const summedLength = Array(arrayCount).fill(0).reduce((a, p) => a + length, 0); // for threaded impl

const $entityIndices = Symbol('entityIndices');
const NONE$1 = 2 ** 32;
const NONE$1 = 2 ** 32 - 1;
let defaultSize = 100000; // need a global EID cursor which all worlds and all components know about

@@ -597,3 +597,3 @@ // so that world entities can posess entire rows spanning all component tables

const $queryComponents = Symbol('queryComponents');
const NONE = 2 ** 32;
const NONE = 2 ** 32 - 1;
const enterQuery = query => world => {

@@ -600,0 +600,0 @@ if (!world[$queryMap].has(query)) registerQuery(world, query);

{
"name": "bitecs",
"version": "0.3.7",
"version": "0.3.8",
"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