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

virtual-scroll

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

virtual-scroll - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "virtual-scroll",
"version": "1.0.1",
"version": "1.0.2",
"description": "Smooth fake scroll using CSS transform",

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

@@ -40,4 +40,3 @@ 'use strict';

deltaX: 0,
deltaY: 0,
originalEvent: null
deltaY: 0
};

@@ -54,5 +53,10 @@

evt.y += evt.deltaY;
evt.originalEvent = e;
this._emitter.emit(EVT_ID, clone(evt));
this._emitter.emit(EVT_ID, {
x: evt.x,
y: evt.y,
deltaX: evt.deltaX,
deltaY: evt.deltaY,
originalEvent: e
});
};

@@ -59,0 +63,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