Socket
Socket
Sign inDemoInstall

gmr

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.3 to 0.3.4

8

gmrInstance.js

@@ -67,2 +67,8 @@ import gmrCamera from './gmrCamera.js'

const sprite = () => {
let s = gmrSprite()
s.load(exportable)
return s
}
const exportable = {

@@ -73,4 +79,4 @@ container, canvas, imgManager, camera, renderLoop, ui,

prefab: (name, fn, ...animations) => gmrPrefab({getOptions, canvas: canvas.el, ui: ui.el, camera}, name, fn, ...animations),
sprite: () => gmrSprite({getOptions, canvas: canvas.el, ui: ui.el, camera}),
behavior: gmrBehavior,
sprite,
setResolution, setFPS, setFullscreen

@@ -77,0 +83,0 @@ }

2

package.json
{
"name": "gmr",
"version": "0.3.3",
"version": "0.3.4",
"description": "JS 2d canvas engine",

@@ -5,0 +5,0 @@ "main": "gmr.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc