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.2.3 to 0.2.4

6

lib/DOMScroller.js

@@ -23,3 +23,3 @@ 'use strict';

var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

@@ -41,2 +41,5 @@ var scrollbars = void 0;

_this.timer = setTimeout(function () {
if (_this._destroyed) {
return;
}
if (options.scrollingComplete) {

@@ -190,2 +193,3 @@ options.scrollingComplete();

DOMScroller.prototype.destroy = function destroy() {
this._destroyed = true;
window.removeEventListener('resize', this.onResize, false);

@@ -192,0 +196,0 @@ this.container.removeEventListener('touchstart', this.onTouchStart, false);

6

package.json
{
"name": "zscroller",
"version": "0.2.3",
"version": "0.2.4",
"description": "dom scroller based on zynga scroller",

@@ -10,6 +10,2 @@ "keywords": [

"homepage": "https://github.com/yiminghe/zscroller",
"maitainers": [
"yiminghe@gmail.com",
"hualei5280@gmail.com"
],
"repository": {

@@ -16,0 +12,0 @@ "type": "git",

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