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

@expressen/tallahassee

Package Overview
Dependencies
Maintainers
16
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 15.4.0 to 15.5.0

11

lib/Document.js

@@ -178,4 +178,8 @@ "use strict";

const tag = $elm[0].name;
const loaded = this[loadedSymbol];
let mockElement = loaded.find((mockedElm) => mockedElm.$elm[0] === $elm[0]);
let mockElement = loaded.find((mockedElm) => mockedElm?.$elm[0] === $elm[0]);
if (mockElement) {

@@ -188,4 +192,9 @@ return mockElement;

loaded.push(mockElement);
if (this[kElementFactory].isCustom(tag) && mockElement.connectedCallback) {
mockElement.connectedCallback();
}
return mockElement;
}
};

8

lib/elementFactory.js

@@ -58,5 +58,3 @@ "use strict";

if (tagName in custom) {
const elm = new custom[tagName](document, $elm);
if (elm.connectedCallback) elm.connectedCallback();
return elm;
return new custom[tagName](document, $elm);
}

@@ -74,2 +72,6 @@

}
isCustom(name) {
return !!this.custom[name];
}
};
{
"name": "@expressen/tallahassee",
"version": "15.4.0",
"version": "15.5.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