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

canvas-app

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-app - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

3

index.js

@@ -88,2 +88,3 @@ var isGL = require('is-webgl-context');

this._then = Date.now();
this.maxDeltaTime = typeof options.maxDeltaTime === 'number' ? options.maxDeltaTime : 1000/24;

@@ -116,3 +117,3 @@ //FPS counter

var now = Date.now();
var dt = (now-this._then);
var dt = Math.min(this.maxDeltaTime, (now-this._then));

@@ -119,0 +120,0 @@ this._frames++;

{
"name": "canvas-app",
"version": "2.3.0",
"version": "2.4.0",
"description": "sets up a retina-scaled canvas with render loop",

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

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