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.61 to 2.5.62

8

create.js

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

if (options.syntaxv3 || element.props?.syntaxv3 || parent.props?.syntaxv3) {
if (options.syntaxv3 || element.props?.syntaxv3 || parent?.props?.syntaxv3) {
element.props.syntaxv3 = true

@@ -219,3 +219,7 @@ return createValidDomqlObjectFromSugar(element, parent, key, options)

// CREATE a real NODE
createNode(element, options)
try {
createNode(element, options)
} catch (e) {
if (ENV === 'test' || ENV === 'development') console.warn(e)
}

@@ -222,0 +226,0 @@ if (!ref.__if) {

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

const elementWrapper = createBasedOnType(element, parent, key, options);
if (options.syntaxv3 || ((_a = element.props) == null ? void 0 : _a.syntaxv3) || ((_b = parent.props) == null ? void 0 : _b.syntaxv3)) {
if (options.syntaxv3 || ((_a = element.props) == null ? void 0 : _a.syntaxv3) || ((_b = parent == null ? void 0 : parent.props) == null ? void 0 : _b.syntaxv3)) {
element.props.syntaxv3 = true;

@@ -171,3 +171,8 @@ return (0, import_component.createValidDomqlObjectFromSugar)(element, parent, key, options);

const { __ref: ref, key } = element;
(0, import_node.default)(element, options);
try {
(0, import_node.default)(element, options);
} catch (e) {
if (ENV === "test" || ENV === "development")
console.warn(e);
}
if (!ref.__if) {

@@ -174,0 +179,0 @@ parent[key || element.key] = element;

{
"name": "@domql/element",
"version": "2.5.61",
"version": "2.5.62",
"license": "MIT",

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

},
"gitHead": "c6aea56536fc17cf5176fed238cf77da99965ed8",
"gitHead": "005657169525f7aaa256f4e62d6a4688d6e2046a",
"devDependencies": {

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