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

@expressen/tallahassee

Package Overview
Dependencies
Maintainers
12
Versions
207
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 11.19.0 to 11.20.0

4

CHANGELOG.md
Changelog
=========
## 11.20.0
- Add `insertAdjacentElement` method on `Element`
## 11.19.0

@@ -5,0 +9,0 @@

@@ -316,2 +316,25 @@ "use strict";

}
insertAdjacentElement(position, element) {
switch (position) {
case "beforebegin":
this.$elm.before(element.$elm);
if (this.parentElement) this.parentElement._emitter.emit("_insert");
break;
case "afterbegin":
this.$elm.prepend(element.$elm);
this._emitter.emit("_insert");
break;
case "beforeend":
this.$elm.append(element.$elm);
this._emitter.emit("_insert");
break;
case "afterend":
this.$elm.after(element.$elm);
if (this.parentElement) this.parentElement._emitter.emit("_insert");
break;
default:
throw new DOMException(`Failed to execute 'insertAdjacentElement' on 'Element': The value provided (${position}) is not one of 'beforeBegin', 'afterBegin', 'beforeEnd', or 'afterEnd'.`);
}
return element;
}
insertBefore(newNode, referenceNode) {

@@ -318,0 +341,0 @@ if (referenceNode === null) {

2

package.json
{
"name": "@expressen/tallahassee",
"version": "11.19.0",
"version": "11.20.0",
"description": "Lightweight client testing framework",

@@ -5,0 +5,0 @@ "main": "index.js",

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