@prof-dev/improved-select
Advanced tools
Comparing version 1.1.20 to 1.1.21
@@ -11,2 +11,5 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var _a; | ||
@@ -17,3 +20,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dom_1 = require("@floating-ui/dom"); | ||
const lodash_es_1 = require("lodash-es"); | ||
const isEqual_1 = __importDefault(require("lodash/isEqual")); | ||
const improvedSelectElementsMap = (_a = window.improvedSelectElementsMap) !== null && _a !== void 0 ? _a : new Map(); | ||
@@ -226,3 +229,3 @@ if (window.improvedSelectElementsMap === undefined) { | ||
}); | ||
this.element.classList.toggle("is-changed", (0, lodash_es_1.isEqual)(this.defaultSelection, selectedOptions.map((option) => option.index)) === false); | ||
this.element.classList.toggle("is-changed", (0, isEqual_1.default)(this.defaultSelection, selectedOptions.map((option) => option.index)) === false); | ||
} | ||
@@ -229,0 +232,0 @@ } |
{ | ||
"name": "@prof-dev/improved-select", | ||
"version": "1.1.20", | ||
"version": "1.1.21", | ||
"description": "Helper for live clicks events management", | ||
@@ -29,3 +29,3 @@ "main": "lib/ImprovedSelect.js", | ||
"devDependencies": { | ||
"@types/lodash-es": "^4.17.8", | ||
"@types/lodash": "^4.14.195", | ||
"rimraf": "^3.0.2", | ||
@@ -38,4 +38,4 @@ "sass": "^1.57.1", | ||
"@prof-dev/event-emitter": "^1.0.9", | ||
"lodash-es": "^4.17.21" | ||
"lodash": "^4.17.21" | ||
} | ||
} |
@@ -11,3 +11,3 @@ import { EventEmitter } from "@prof-dev/event-emitter"; | ||
} from "@floating-ui/dom"; | ||
import { isEqual } from "lodash-es"; | ||
import isEqual from "lodash/isEqual"; | ||
@@ -14,0 +14,0 @@ type ImprovedSelectInfo = { |
Sorry, the diff of this file is not supported yet
83040
1477
+ Addedlodash@^4.17.21
+ Addedlodash@4.17.21(transitive)
- Removedlodash-es@^4.17.21
- Removedlodash-es@4.17.21(transitive)