Socket
Socket
Sign inDemoInstall

@expressen/tallahassee

Package Overview
Dependencies
Maintainers
12
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expressen/tallahassee - npm Package Compare versions

Comparing version 12.0.0 to 12.1.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ Changelog

## 12.1.0
- add `required` property to input, select, and textarea
- fix textarea set value confusion, innerText and innerHTML has nothing to do with textarea value
- override Element.toString to include class name
## 12.0.0

@@ -8,0 +14,0 @@

3

lib/EventTarget.js

@@ -61,2 +61,5 @@ "use strict";

}
toString() {
return `[object ${this.constructor.name}]`;
}
_getExistingIndex(...config) {

@@ -63,0 +66,0 @@ return this[kListeners].findIndex((listener) => {

@@ -37,2 +37,5 @@ "use strict";

}
toString() {
return `[object ${this.prototype.name}]`;
}
[Symbol.iterator]() {

@@ -39,0 +42,0 @@ return this.entries();

@@ -39,2 +39,9 @@ "use strict";

}
get required() {
return this.$elm.prop("required");
}
set required(value) {
if (value === true) return this.setAttribute("required", "required");
this.removeAttribute("required");
}
get value() {

@@ -41,0 +48,0 @@ const value = this.getAttribute("value");

@@ -39,2 +39,9 @@ "use strict";

}
get required() {
return this.$elm.prop("required");
}
set required(value) {
if (value === true) return this.setAttribute("required", "required");
this.removeAttribute("required");
}
get selectedIndex() {

@@ -41,0 +48,0 @@ return this.options.selectedIndex;

12

lib/HTMLTextAreaElement.js

@@ -21,10 +21,8 @@ "use strict";

}
set innerHTML(value) {
this.$elm.html(value);
this.value = this.$elm.html();
this._emitter.emit("_insert");
get required() {
return this.$elm.prop("required");
}
set innerText(value) {
this.textContent = value;
this.value = value;
set required(value) {
if (value === true) return this.setAttribute("required", "required");
this.removeAttribute("required");
}

@@ -31,0 +29,0 @@ get value() {

@@ -65,2 +65,5 @@ "use strict";

}
toString() {
return `[object ${this.constructor.name}]`;
}
_updateList(records) {

@@ -67,0 +70,0 @@ const liveList = this[kLiveList];

{
"name": "@expressen/tallahassee",
"version": "12.0.0",
"version": "12.1.0",
"description": "Lightweight client testing framework",

@@ -39,3 +39,3 @@ "main": "index.js",

"chai": "^4.3.6",
"eslint": "^8.25.0",
"eslint": "^8.26.0",
"express": "^4.18.2",

@@ -42,0 +42,0 @@ "markdown-toc": "^1.2.0",

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