New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

raf-scroll

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raf-scroll - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+0
-4
index.js

@@ -67,6 +67,2 @@ 'use strict';

function checkUpdate() {
}
function update() {

@@ -73,0 +69,0 @@ rafId = raf(update);

+1
-1
{
"name": "raf-scroll",
"version": "1.0.0",
"version": "1.0.1",
"description": "A scroll event that fires only once per frame.",

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

@@ -11,2 +11,4 @@ raf-scroll

Every event call is sync on a `requestAnimationFrame` (raf) loop. It is stopped by default, start when you use `add`, stopped if there is no more listeners after a `remove` call or if you call `destroy`.
`rafScroll.add(callback)`

@@ -13,0 +15,0 @@ Will call `callback` maximum once per frame, if the scroll value has changed.

@@ -27,2 +27,3 @@ 'use strict';

assert.notDeepEqual(ev.deltaY, 0, 'Calling getCurrent shouldn\'t affect/reset the deltaY value.');
assert.end();
}, 50);