New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@inglorious/engine

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inglorious/engine - npm Package Compare versions

Comparing version
21.0.0
to
22.0.0
+5
-5
package.json
{
"name": "@inglorious/engine",
"version": "21.0.0",
"version": "22.0.0",
"description": "A JavaScript game engine written with global state, immutability, and pure functions in mind. Have fun(ctional programming) with it!",

@@ -36,8 +36,8 @@ "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",

"dependencies": {
"@inglorious/store": "9.6.0",
"@inglorious/utils": "3.7.3"
"@inglorious/store": "10.0.0",
"@inglorious/utils": "3.8.0"
},
"peerDependencies": {
"@inglorious/store": "9.6.0",
"@inglorious/utils": "3.7.3"
"@inglorious/utils": "3.8.0",
"@inglorious/store": "10.0.0"
},

@@ -44,0 +44,0 @@ "devDependencies": {

@@ -7,6 +7,6 @@ import { createGamepad, gamepadListener, gamepadsPoller } from "./gamepad.js"

return {
keyboard: [keyboard()],
gamepads_poller: [gamepadsPoller(targetIds)],
gamepad_listener: [gamepadListener()],
input: [input()],
Keyboard: [keyboard()],
GamepadsPoller: [gamepadsPoller(targetIds)],
GamepadListener: [gamepadListener()],
Input: [input()],
}

@@ -17,3 +17,3 @@ }

return {
gamepads: { type: "gamepads_poller" },
gamepads: { type: "GamepadsPoller" },
[`keyboard_${targetId}`]: createKeyboard(targetId, mapping),

@@ -20,0 +20,0 @@ [`gamepad_${targetId}`]: createGamepad(targetId, mapping),

@@ -89,3 +89,3 @@ export function gamepadsPoller(targetIds = []) {

export function createGamepad(targetId, mapping = {}) {
return { type: "gamepad_listener", targetId, mapping }
return { type: "GamepadListener", targetId, mapping }
}

@@ -30,3 +30,3 @@ export function input() {

export function createInput(targetId, mapping = {}) {
return { type: "input", targetId, mapping }
return { type: "Input", targetId, mapping }
}

@@ -44,3 +44,3 @@ export function keyboard() {

export function createKeyboard(targetId, mapping = {}) {
return { type: "keyboard", targetId, mapping }
return { type: "Keyboard", targetId, mapping }
}

@@ -47,0 +47,0 @@

@@ -51,3 +51,3 @@ import { findCollision } from "@inglorious/engine/collision/detection.js"

return {
type: "mouse",
type: "Mouse",
layer: 999, // A high layer value to ensure it's always rendered on top

@@ -54,0 +54,0 @@ position: zero(),

@@ -91,3 +91,3 @@ import { findCollision } from "@inglorious/engine/collision/detection.js"

return {
type: "touch",
type: "Touch",
layer: 999, // A high layer value to ensure it's always rendered on top

@@ -94,0 +94,0 @@ positions: [],

@@ -26,5 +26,5 @@ import { audio } from "@inglorious/engine/behaviors/audio.js"

types: {
game: [game()],
audio: [audio()],
images: [images()],
Game: [game()],
Audio: [audio()],
Images: [images()],
},

@@ -34,5 +34,5 @@

// eslint-disable-next-line no-magic-numbers
game: { type: "game", size: v(800, 600) },
audio: { type: "audio", sounds: {} },
images: { type: "images", images: {} },
game: { type: "Game", size: v(800, 600) },
audio: { type: "Audio", sounds: {} },
images: { type: "Images", images: {} },
},

@@ -39,0 +39,0 @@ }