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

framesync

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

framesync - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

README.md

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [3.1.4] 2018-01-04
### Changed
- Max permitted time elapsed is now 40ms to permit 30fps max.
- When `startRenderLoop` is fired, and the loop is not active, we set a new `currentTime`.
## [3.1.3] 2017-11-08

@@ -7,0 +14,0 @@

3

lib/index.js

@@ -8,3 +8,3 @@ "use strict";

var willRenderNextFrame = false;
var MAX_ELAPSED = 20;
var MAX_ELAPSED = 40;
var currentFramestamp = exports.currentTime();

@@ -15,2 +15,3 @@ var elapsed = 0;

if (!willRenderNextFrame) {
currentFramestamp = exports.currentTime();
willRenderNextFrame = true;

@@ -17,0 +18,0 @@ on_next_frame_1.default(processFrame);

{
"name": "framesync",
"version": "3.1.3",
"version": "3.1.4",
"description": "A tiny frame scheduler for performantly batching reads and renders",

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

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