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

@wildebeest/scroll

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wildebeest/scroll - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

4

dist/ScrollBox.js

@@ -45,3 +45,3 @@ "use strict";

scrollMark.getEmitter().on('wbDrag', function (event) {
_this.scrollBar.scrollBy(_this.normalizeRemaining(event.vertical));
_this.scrollBar.scrollBy(_this.normalize(event.vertical));
});

@@ -105,3 +105,3 @@ this.element.addEventListener('mousewheel', function (event) {

}
return pixelValue / this.element.offsetHeight;
return pixelValue / this.scrollBar.getElement().offsetHeight;
};

@@ -108,0 +108,0 @@ ScrollBox = __decorate([

{
"name": "@wildebeest/scroll",
"version": "0.3.8",
"version": "0.3.9",
"description": "Scroll element with custom scroll bar",

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

@@ -50,3 +50,3 @@ import { DomService, EmitterService, Emitter } from "@wildebeest/common";

scrollMark.getEmitter().on('wbDrag', (event: any) => {
this.scrollBar.scrollBy(this.normalizeRemaining(event.vertical));
this.scrollBar.scrollBy(this.normalize(event.vertical));
});

@@ -128,4 +128,4 @@

}
return pixelValue / this.element.offsetHeight;
return pixelValue / this.scrollBar.getElement().offsetHeight;
}
}

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