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

raf-schd

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raf-schd - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

esm/index.js

4

lib/index.js

@@ -7,4 +7,2 @@ "use strict";

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
exports.default = function (fn) {

@@ -27,3 +25,3 @@ var lastArgs = [];

frameId = null;
fn.apply(undefined, _toConsumableArray(lastArgs));
fn.apply(undefined, lastArgs);
});

@@ -30,0 +28,0 @@

{
"name": "raf-schd",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple scheduler based on requestAnimationFrame",
"main": "lib/index.js",
"module": "esm/index.js",
"sideEffects": false,
"files": [
"lib"
"/lib",
"/esm",
"/src"
],
"author": "Alex Reardon <alexreardon@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alexreardon/raf-schd.git"
},
"keywords": [
"performance",
"raf",
"requestAnimationFrame",
"cancelAnimationFrame"
],
"scripts": {
"build": "babel src -d lib",
"build": "yarn run build:clean && yarn run build:lib && yarn run build:esm && yarn run build:flow",
"test": "jest",

@@ -15,2 +31,6 @@ "validate": "yarn run lint && yarn run typecheck",

"typecheck": "flow check",
"build:clean": "rimraf lib esm",
"build:lib": "cross-env NODE_ENV=cjs babel src -d lib",
"build:esm": "babel src --out-dir esm",
"build:flow": "flow-copy-source --verbose src lib && flow-copy-source --verbose src esm",
"prepublish": "yarn run build"

@@ -20,26 +40,17 @@ },

"babel-cli": "6.26.0",
"babel-eslint": "8.0.2",
"babel-jest": "^21.2.0",
"babel-preset-es2015": "6.24.1",
"babel-eslint": "8.2.2",
"babel-jest": "^22.4.3",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "6.23.0",
"eslint": "4.11.0",
"eslint-plugin-jest": "21.3.2",
"flow-bin": "0.59.0",
"jest": "21.2.1",
"prettier": "1.8.2",
"raf-stub": "2.0.1"
"cross-env": "^5.1.4",
"eslint": "4.19.1",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-jest": "21.15.0",
"flow-bin": "0.68.0",
"flow-copy-source": "^1.3.0",
"jest": "22.4.3",
"raf-stub": "2.0.2",
"rimraf": "^2.6.2"
},
"dependencies": {},
"author": "Alex Reardon <alexreardon@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alexreardon/raf-schd.git"
},
"keywords": [
"performance",
"raf",
"requestAnimationFrame",
"cancelAnimationFrame"
]
"dependencies": {}
}

@@ -6,3 +6,3 @@ # raf-schd

[![Build Status](https://travis-ci.org/alexreardon/raf-schd.svg?branch=master)](https://travis-ci.org/alexreardon/raf-schd) [![dependencies](https://david-dm.org/alexreardon/raf-schd.svg)](https://david-dm.org/alexreardon/raf-schd) [![SemVer](https://img.shields.io/badge/SemVer-2.0.0-brightgreen.svg)](http://semver.org/spec/v2.0.0.html)
[![Build Status](https://travis-ci.org/alexreardon/raf-schd.svg?branch=master)](https://travis-ci.org/alexreardon/raf-schd) [![dependencies](https://david-dm.org/alexreardon/raf-schd.svg)](https://david-dm.org/alexreardon/raf-schd) [![npm](https://img.shields.io/npm/v/raf-schd.svg)](https://www.npmjs.com/package/raf-schd) [![SemVer](https://img.shields.io/badge/SemVer-2.0.0-brightgreen.svg)](http://semver.org/spec/v2.0.0.html)

@@ -9,0 +9,0 @@

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