scroll-sensor
Advanced tools
Comparing version 0.0.4 to 0.1.0
{ | ||
"name": "scroll-sensor", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "Scroll Sensor simulate scroll bar on a not scrollable dom.It has features of mouse wheel, mouse down move, touch move and scroll inertia.", | ||
@@ -13,7 +13,8 @@ "keywords": [ | ||
], | ||
"main": "dist/scroll-sensor.external.js", | ||
"main": "dist/scroll-sensor.common.js", | ||
"scripts": { | ||
"dev": "webpack --config ./build/webpack.config.dev.js", | ||
"build": "webpack --config ./build/webpack.config.prod.js", | ||
"external-build": "webpack --config ./build/webpack.config.external.js", | ||
"build:common": "webpack --config ./build/webpack.config.common.js", | ||
"dist": "npm run dev && npm run build && npm run build:common", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
@@ -20,0 +21,0 @@ }, |
@@ -51,3 +51,3 @@ # scroll-sensor | ||
They like [Element.scrollTop](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop) and [Element.scrollLeft](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft) | ||
They are like [Element.scrollTop](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop) and [Element.scrollLeft](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft) | ||
@@ -54,0 +54,0 @@ ### scrollSensor.setOptions(options) |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1176
0
0
102566