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

@prof-dev/improved-select

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prof-dev/improved-select - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

lib/ImprovedSelect.js

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

var dom_1 = require("@floating-ui/dom");
var utils_1 = require("./utils");
var lodash_1 = require("lodash");
var improvedSelectElementsMap = new Map();

@@ -313,3 +313,3 @@ var Select = /** @class */ (function (_super) {

});
this.element.classList.toggle("is-changed", (0, utils_1.arrayEqual)(this.defaultSelection, selectedOptions_1.map(function (option) { return option.index; })) === false);
this.element.classList.toggle("is-changed", (0, lodash_1.isEqual)(this.defaultSelection, selectedOptions_1.map(function (option) { return option.index; })) === false);
}

@@ -427,3 +427,3 @@ };

for (var improvedSelectElementsMap_1 = __values(improvedSelectElementsMap), improvedSelectElementsMap_1_1 = improvedSelectElementsMap_1.next(); !improvedSelectElementsMap_1_1.done; improvedSelectElementsMap_1_1 = improvedSelectElementsMap_1.next()) {
var _b = __read(improvedSelectElementsMap_1_1.value, 2), _ = _b[0], improvedSelect = _b[1];
var _b = __read(improvedSelectElementsMap_1_1.value, 2), _1 = _b[0], improvedSelect = _b[1];
var _c = improvedSelect.info(), element = _c.element, isActive = _c.isActive;

@@ -430,0 +430,0 @@ if (isActive === true &&

{
"name": "@prof-dev/improved-select",
"version": "1.1.0",
"version": "1.1.1",
"description": "Helper for live clicks events management",

@@ -27,2 +27,3 @@ "main": "lib/ImprovedSelect.js",

"devDependencies": {
"@types/lodash": "^4.14.191",
"rimraf": "^3.0.2",

@@ -34,4 +35,5 @@ "sass": "^1.57.1",

"@floating-ui/dom": "^1.1.0",
"@prof-dev/event-emitter": "^1.0.9"
"@prof-dev/event-emitter": "^1.0.9",
"lodash": "^4.17.21"
}
}

@@ -9,3 +9,3 @@ import { EventEmitter } from "@prof-dev/event-emitter";

} from "@floating-ui/dom";
import { arrayEqual } from "./utils";
import { isEqual } from "lodash";

@@ -215,3 +215,3 @@ type ImprovedSelectInfo = {

"is-changed",
arrayEqual(
isEqual(
this.defaultSelection,

@@ -218,0 +218,0 @@ selectedOptions.map((option) => option.index),

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