Socket
Socket
Sign inDemoInstall

@domql/element

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.63 to 2.5.65

8

create.js

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

// If the element doesn't have a scope, initialize it using the parent's scope or the root's scope.
if (!element.scope) element.scope = parent.scope || ref.__root.scope || {}
if (!element.scope) element.scope = parent.scope || ref.root.scope || {}
}

@@ -307,3 +307,3 @@

const hasRoot = parent && parent.key === ':root'
if (!ref.__root) ref.__root = hasRoot ? element : parentRef.__root
if (!ref.root) ref.root = hasRoot ? element : parentRef.root

@@ -346,5 +346,5 @@ // set the PATH array

// Add __root element property
// Add root element property
// const hasRoot = parent && parent.key === ':root'
// if (!ref.__root) ref.__root = hasRoot ? element : parentRef.__root
// if (!ref.root) ref.root = hasRoot ? element : parentRef.root

@@ -351,0 +351,0 @@ addMethods(element, parent)

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

if (!element.scope)
element.scope = parent.scope || ref.__root.scope || {};
element.scope = parent.scope || ref.root.scope || {};
};

@@ -236,4 +236,4 @@ const createIfConditionFlag = (element, parent) => {

const hasRoot = parent && parent.key === ":root";
if (!ref.__root)
ref.__root = hasRoot ? element : parentRef.__root;
if (!ref.root)
ref.root = hasRoot ? element : parentRef.root;
if (ENV === "test" || ENV === "development") {

@@ -240,0 +240,0 @@ if (!parentRef)

{
"name": "@domql/element",
"version": "2.5.63",
"version": "2.5.65",
"license": "MIT",

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

},
"gitHead": "318bb5d6c6b3989cc97b2a2f12c0169599786ffa",
"gitHead": "473e5569815c8e062b8e584549889557330c249a",
"devDependencies": {

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

@@ -49,5 +49,5 @@ 'use strict'

// Add __root element property
// Add root element property
// const hasRoot = parent && parent.key === ':root'
// if (!ref.__root) ref.__root = hasRoot ? element : parentRef.__root
// if (!ref.root) ref.root = hasRoot ? element : parentRef.root
}

@@ -54,0 +54,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc