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

zscroller

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zscroller - npm Package Compare versions

Comparing version 0.6.0-beta.3 to 0.6.0-beta.4

1

dist-types/index.d.ts

@@ -54,2 +54,3 @@ interface ViewportSize {

private _eventHandlers;
private __onIndicatorStartMouseMoving;
private _initPagePos;

@@ -56,0 +57,0 @@ constructor(_options: ZScrollerOption);

10

dist-web/index.js

@@ -1484,2 +1484,4 @@ function _defineProperty(obj, key, value) {

_defineProperty(this, "__onIndicatorStartMouseMoving", void 0);
_defineProperty(this, "_initPagePos", void 0);

@@ -1823,3 +1825,6 @@

_proto._onIndicatorMouseMove = function _onIndicatorMouseMove(e, type) {
document.body.setAttribute('unselectable', 'on');
if (!this.__onIndicatorStartMouseMoving) {
document.body.setAttribute('unselectable', 'on');
this.__onIndicatorStartMouseMoving = true;
}

@@ -1835,3 +1840,4 @@ if (type === 'x') {

_proto._onIndicatorMouseUp = function _onIndicatorMouseUp(e) {
document.body.setAttribute('unselectable', '');
this.__onIndicatorStartMouseMoving = false;
document.body.removeAttribute('unselectable');
e.stopPropagation();

@@ -1838,0 +1844,0 @@ };

{
"name": "zscroller",
"description": "dom scroller based on zynga scroller",
"version": "0.6.0-beta.3",
"version": "0.6.0-beta.4",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

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