New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rafl

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rafl - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

20

index.js

@@ -1,2 +0,2 @@

var bind = Function.prototype.bind
var global = require('global')

@@ -7,5 +7,5 @@ /**

var request = this.requestAnimationFrame
|| this.webkitRequestAnimationFrame
|| this.mozRequestAnimationFrame
var request = global.requestAnimationFrame
|| global.webkitRequestAnimationFrame
|| global.mozRequestAnimationFrame
|| fallback

@@ -25,10 +25,10 @@

var cancel = this.cancelAnimationFrame
|| this.webkitCancelAnimationFrame
|| this.mozCancelAnimationFrame
var cancel = global.cancelAnimationFrame
|| global.webkitCancelAnimationFrame
|| global.mozCancelAnimationFrame
|| clearTimeout
if (bind) {
request = bind.call(request, this)
cancel = bind.call(cancel, this)
if (Function.prototype.bind) {
request = request.bind(global)
cancel = cancel.bind(global)
}

@@ -35,0 +35,0 @@

{
"name": "rafl",
"description": "request animation frame",
"version": "1.2.1",
"version": "1.2.2",
"keywords": [

@@ -11,2 +11,5 @@ "animate",

"main": "index.js",
"dependencies": {
"global": "~4.3.0"
},
"devDependencies": {

@@ -26,3 +29,3 @@ "tape": "~4.5.1"

"author": "Michael Rhodes",
"license": "MIT"
"license": "MIT"
}
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