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

@domql/element

Package Overview
Dependencies
Maintainers
3
Versions
180
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.5.4 to 2.5.5

2

applyParam.js

@@ -17,4 +17,2 @@ 'use strict'

if (!ref.__if) return
if (isGlobalTransformer && !hasContextDefine) {

@@ -21,0 +19,0 @@ if (isFunction(isGlobalTransformer)) {

2

create.js

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

if (checkIfPrimitive(element)) {
return applyValueAsText(element, parent, key)
element = applyValueAsText(element, parent, key)
}

@@ -53,0 +53,0 @@

@@ -34,4 +34,2 @@ "use strict";

const hasContextDefine = context && context.define && context.define[param];
if (!ref.__if)
return;
if (isGlobalTransformer && !hasContextDefine) {

@@ -38,0 +36,0 @@ if ((0, import_utils.isFunction)(isGlobalTransformer)) {

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

if (checkIfPrimitive(element)) {
return applyValueAsText(element, parent, key);
element = applyValueAsText(element, parent, key);
}

@@ -57,0 +57,0 @@ element = redefineElement(element, parent, key, options);

@@ -48,6 +48,4 @@ "use strict";

let isNewNode;
if (!node) {
if (!node && !ref.__if) {
isNewNode = true;
if (!ref.__if)
return element;
if (tag === "shadow") {

@@ -54,0 +52,0 @@ node = element.node = element.parent.node.attachShadow({ mode: "open" });

@@ -27,7 +27,5 @@ 'use strict'

if (!node) {
if (!node && !ref.__if) {
isNewNode = true
if (!ref.__if) return element
if (tag === 'shadow') {

@@ -34,0 +32,0 @@ node = element.node = element.parent.node.attachShadow({ mode: 'open' })

{
"name": "@domql/element",
"version": "2.5.4",
"version": "2.5.5",
"license": "MIT",

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

},
"gitHead": "fc02db00cba060b9a8d0f485db6ca448bf8f5be3",
"gitHead": "b242ff6277388145b79f97b97c33f1dd5e6563a3",
"devDependencies": {

@@ -37,0 +37,0 @@ "@babel/core": "^7.12.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