Socket
Socket
Sign inDemoInstall

@domql/element

Package Overview
Dependencies
Maintainers
3
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/element - npm Package Compare versions

Comparing version 2.4.5 to 2.4.6

2

create.js

@@ -74,3 +74,3 @@ 'use strict'

// define KEY
const assignedKey = (element.key || key || createKey()).toString()
const assignedKey = (key || element.key || createKey()).toString()

@@ -77,0 +77,0 @@ if (checkIfKeyIsComponent(assignedKey)) {

@@ -83,3 +83,3 @@ "use strict";

}
const assignedKey = (element.key || key || (0, import_utils.createKey)()).toString();
const assignedKey = (key || element.key || (0, import_utils.createKey)()).toString();
if ((0, import_component.checkIfKeyIsComponent)(assignedKey)) {

@@ -86,0 +86,0 @@ element = (0, import_component.applyKeyComponentAsExtend)(element, parent, assignedKey);

@@ -42,4 +42,5 @@ "use strict";

const __contentRef = element.content && element.content.__ref;
if (__contentRef && __contentRef.__cached && (0, import_utils.isEqualDeep)(params, element.content))
if (__contentRef && __contentRef.__cached && (0, import_utils.isEqualDeep)(params, element.content)) {
return element;
}
(0, import_content.removeContent)(element);

@@ -46,0 +47,0 @@ if (params) {

{
"name": "@domql/element",
"version": "2.4.5",
"version": "2.4.6",
"license": "MIT",

@@ -34,3 +34,3 @@ "type": "module",

},
"gitHead": "cfecf526677d09def0ff77d09d8b9e43e4f379fa",
"gitHead": "7d5af56fe712bac2369db9e07e8ec70df585764e",
"devDependencies": {

@@ -37,0 +37,0 @@ "@babel/core": "^7.12.0"

@@ -14,3 +14,5 @@ 'use strict'

if (__contentRef && __contentRef.__cached && isEqualDeep(params, element.content)) return element
if (__contentRef && __contentRef.__cached && isEqualDeep(params, element.content)) {
return element
}
removeContent(element)

@@ -17,0 +19,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