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

select2-component

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

select2-component - npm Package Compare versions

Comparing version 3.1.8 to 3.1.9

10

common.js

@@ -237,3 +237,6 @@ "use strict";

lastScrollTopIndex += scrollTop - lastScrollTopIndex - 5;
results.scrollTop = results.querySelectorAll("li").item(scrollTop).offsetTop - results.offsetHeight;
var item = results.querySelectorAll("li").item(scrollTop);
if (item) {
results.scrollTop = item.offsetTop - results.offsetHeight;
}
return lastScrollTopIndex;

@@ -243,3 +246,6 @@ }

lastScrollTopIndex -= lastScrollTopIndex - scrollTop;
results.scrollTop = results.querySelectorAll("li").item(lastScrollTopIndex - 1).offsetTop;
var item = results.querySelectorAll("li").item(lastScrollTopIndex - 1);
if (item) {
results.scrollTop = item.offsetTop;
}
return lastScrollTopIndex;

@@ -246,0 +252,0 @@ }

2

package.json
{
"name": "select2-component",
"version": "3.1.8",
"version": "3.1.9",
"description": "A vuejs, reactjs and angular select component.",

@@ -5,0 +5,0 @@ "main": "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