Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

makeup-prevent-scroll-keys

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup-prevent-scroll-keys - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

package-lock.json

3

dist/cjs/index.js

@@ -8,3 +8,2 @@ "use strict";

exports.remove = remove;
function onKeyDown(e) {

@@ -15,9 +14,7 @@ if (e.keyCode >= 32 && e.keyCode <= 40) {

}
function add(el) {
el.addEventListener('keydown', onKeyDown);
}
function remove(el) {
el.removeEventListener('keydown', onKeyDown);
}
{
"name": "makeup-prevent-scroll-keys",
"description": "Prevents default scroll event when pressing down arrow, page down, spacebar, etc.",
"version": "0.2.0",
"version": "0.2.1",
"main": "./dist/cjs/index.js",

@@ -6,0 +6,0 @@ "module": "./dist/mjs/index.js",

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