New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.14 to 1.1.15

1

lib/ImprovedSelect.d.ts

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

private selectedValueElements;
private form;
private initialSelection;

@@ -34,0 +35,0 @@ private defaultSelection;

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

_this.selectObserver = new MutationObserver(_this.onSelectAttributesChange);
_this.form = _this.element.closest("form");
_this.isActive = _this.element.classList.contains("is-active");

@@ -328,2 +329,5 @@ _this.isHtmlValue = _this.element.hasAttribute("data-select-html-value");

}
if (this.form !== null) {
this.form.addEventListener("reset", this.reset);
}
};

@@ -330,0 +334,0 @@ ImprovedSelect.prototype.updateSelectedValues = function () {

2

package.json
{
"name": "@prof-dev/improved-select",
"version": "1.1.14",
"version": "1.1.15",
"description": "Helper for live clicks events management",

@@ -5,0 +5,0 @@ "main": "lib/ImprovedSelect.js",

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

private selectedValueElements: HTMLElement[] = [];
private form: HTMLFormElement | null;
private initialSelection: number[] = [];

@@ -63,3 +64,3 @@ private defaultSelection: number[] = [];

this.selectObserver = new MutationObserver(this.onSelectAttributesChange);
this.form = this.element.closest("form");
this.isActive = this.element.classList.contains("is-active");

@@ -226,2 +227,6 @@ this.isHtmlValue = this.element.hasAttribute("data-select-html-value");

}
if (this.form !== null) {
this.form.addEventListener("reset", this.reset);
}
}

@@ -228,0 +233,0 @@

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