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.8-a1 to 0.3.8-a2

4

dist/index.d.ts

@@ -93,5 +93,5 @@ declare module 'bitecs' {

export function defineSystem(update: (world: IWorld, ...args: any[]) => IWorld): System
export function defineSerializer(target: IWorld | Component | IComponentProp | QueryModifier, maxBytes?: number): (target: IWorld | number[]) => ArrayBuffer
export function defineDeserializer(target: IWorld | Component | IComponentProp | QueryModifier): (world: IWorld, packet: ArrayBuffer) => void
export function defineSerializer(target: IWorld | Component[] | IComponentProp[] | QueryModifier, maxBytes?: number): (target: IWorld | number[]) => ArrayBuffer
export function defineDeserializer(target: IWorld | Component[] | IComponentProp[] | QueryModifier): (world: IWorld, packet: ArrayBuffer) => void
export function pipe(...fns: ((...args: any[]) => any)[]): (input: any) => any
}

@@ -974,4 +974,5 @@ const TYPES_ENUM = {

const pipe = (...fns) => input => {
if (!input || Array.isArray(input) && input.length === 0) return;
const pipe = (...fns) => (...args) => {
const input = Array.isArray(args[0]) ? args[0] : args;
if (!input || input.length === 0) return;
fns = Array.isArray(fns[0]) ? fns[0] : fns;

@@ -978,0 +979,0 @@ let tmp = input;

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

const pipe = (...fns) => input => {
if (!input || Array.isArray(input) && input.length === 0) return;
const pipe = (...fns) => (...args) => {
const input = Array.isArray(args[0]) ? args[0] : args;
if (!input || input.length === 0) return;
fns = Array.isArray(fns[0]) ? fns[0] : fns;

@@ -982,0 +983,0 @@ let tmp = input;

@@ -93,5 +93,5 @@ declare module 'bitecs' {

export function defineSystem(update: (world: IWorld, ...args: any[]) => IWorld): System
export function defineSerializer(target: IWorld | Component | IComponentProp | QueryModifier, maxBytes?: number): (target: IWorld | number[]) => ArrayBuffer
export function defineDeserializer(target: IWorld | Component | IComponentProp | QueryModifier): (world: IWorld, packet: ArrayBuffer) => void
export function defineSerializer(target: IWorld | Component[] | IComponentProp[] | QueryModifier, maxBytes?: number): (target: IWorld | number[]) => ArrayBuffer
export function defineDeserializer(target: IWorld | Component[] | IComponentProp[] | QueryModifier): (world: IWorld, packet: ArrayBuffer) => void
export function pipe(...fns: ((...args: any[]) => any)[]): (input: any) => any
}
{
"name": "bitecs",
"version": "0.3.8-a1",
"version": "0.3.8-a2",
"description": "Functional, minimal, data-driven, ultra-high performance ECS library written in Javascript",

@@ -29,3 +29,5 @@ "license": "MPL-2.0",

"docs": "node scripts/docs.js",
"dist": "npm run test && npm run build && npm run docs"
"dist": "npm run test && npm run build && npm run docs",
"publish": "node ./scripts/remove-type-module.js && npm publish && node ./scripts/add-type-module.js ",
"publish:alpha": "node ./scripts/remove-type-module.js && npm publish --tag alpha && node ./scripts/add-type-module.js "
},

@@ -57,2 +59,2 @@ "devDependencies": {

}
}
}

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