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

@arancini/core

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arancini/core - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

4

dist/declarations/src/component.d.ts
import { Entity } from './entity';
export declare type ComponentDetails = {
export type ComponentDetails = {
type: ComponentClass;
args?: unknown[];
};
export declare type ComponentClass<T extends Component | Component = Component> = {
export type ComponentClass<T extends Component | Component = Component> = {
new (...args: never[]): T;

@@ -8,0 +8,0 @@ componentIndex: number;

@@ -1,3 +0,3 @@

export declare type Listener<T extends unknown[]> = (...data: T) => void;
export declare type Unsubscribe = () => void;
export type Listener<T extends unknown[]> = (...data: T) => void;
export type Unsubscribe = () => void;
export declare class Topic<T extends unknown[]> {

@@ -4,0 +4,0 @@ listeners: Set<(...data: T) => void>;

@@ -5,3 +5,3 @@ import type { Entity } from './entity';

import type { World } from './world';
declare type DedupedQuery = {
type DedupedQuery = {
dedupeString: string;

@@ -8,0 +8,0 @@ instances: Set<Query>;

@@ -17,3 +17,3 @@ import type { ComponentClass } from './component';

*/
export declare type QueryDescription = ComponentClass[] | {
export type QueryDescription = ComponentClass[] | {
[QueryConditionType.ALL]?: ComponentClass[];

@@ -23,3 +23,3 @@ [QueryConditionType.NOT]?: ComponentClass[];

};
export declare type QueryBitSets = {
export type QueryBitSets = {
all?: BitSet;

@@ -26,0 +26,0 @@ any?: BitSet;

@@ -7,3 +7,3 @@ import type { ComponentDetails } from './component';

*/
export declare type SpaceParams = {
export type SpaceParams = {
/**

@@ -10,0 +10,0 @@ * An id for the space, must be unique

@@ -5,6 +5,6 @@ import { ComponentClass } from './component';

import type { World } from './world';
export declare type SystemAttributes = {
export type SystemAttributes = {
priority?: number;
};
export declare type SystemSingletonPlaceholder = {
export type SystemSingletonPlaceholder = {
__internal: {

@@ -11,0 +11,0 @@ placeholder: true;

@@ -5,6 +5,6 @@ import { ComponentClass } from './component';

import type { World } from './world';
export declare type SystemQueryOptions = {
export type SystemQueryOptions = {
required?: boolean;
};
export declare type SystemClass<T extends System = System> = {
export type SystemClass<T extends System = System> = {
new (world: World): T;

@@ -11,0 +11,0 @@ };

@@ -9,7 +9,6 @@ {

],
"type": "module",
"packageManager": "yarn@3.2.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"license": "MIT",
"version": "2.2.1",
"version": "2.2.2",
"homepage": "https://github.com/isaac-mason/arancini",

@@ -20,27 +19,23 @@ "bugs": {

"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test": "vitest run",
"test:watch": "vitest",
"build": "preconstruct build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@jest/globals": "^28.1.2",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@mdx-js/react": "^1.6.22",
"@preconstruct/cli": "^2.3.0",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-docs": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/builder-vite": "^0.1.38",
"@storybook/client-api": "^6.5.9",
"@storybook/html": "^6.5.9",
"@storybook/testing-library": "^0.0.13",
"@types/jest": "^28.1.4",
"@storybook/addon-essentials": "^7.0.4",
"@storybook/addon-interactions": "^7.0.4",
"@storybook/addon-links": "^7.0.4",
"@storybook/blocks": "^7.0.4",
"@storybook/react": "^7.0.4",
"@storybook/react-vite": "^7.0.4",
"@storybook/testing-library": "^0.0.14-next.2",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"babel-jest": "^28.1.3",
"babel-loader": "^8.2.5",
"eslint": "^8.5.0",

@@ -55,8 +50,11 @@ "eslint-config-airbnb": "^18.2.1",

"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-storybook": "^0.5.1",
"eslint-plugin-storybook": "^0.6.11",
"eslint-plugin-typescript-enum": "^2.1.0",
"jest": "^28.1.2",
"prettier": "^2.3.2",
"ts-jest": "^28.0.5",
"typescript": "^4.5.4"
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.0.4",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},

@@ -63,0 +61,0 @@ "files": [

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