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

dual-listbox

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dual-listbox - npm Package Compare versions

Comparing version 1.4.0-alpha2 to 1.4.0-alpha3

2

package.json
{
"name": "dual-listbox",
"version": "1.4.0-alpha2",
"version": "1.4.0-alpha3",
"description": "Dual listbox for multi-select elements",

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

@@ -194,3 +194,5 @@ import Sortable from 'sortablejs';

elements.sort((a, b) => {
return Number(a.dataset.order) > Number(b.dataset.order);
const na = parseInt(a.dataset.order);
const nb = parseInt(b.dataset.order);
return na > nb ? 1 : -1;
});

@@ -398,2 +400,3 @@

listItem.dataset.id = option.value;
console.log(option.dataset.order);
if(option.dataset.order) {

@@ -400,0 +403,0 @@ listItem.dataset.order = option.dataset.order;

Sorry, the diff of this file is too big to display

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