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.60 to 2.5.61

3

create.js

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

if (options.syntaxv3 || (element.props && element.props.syntaxv3)) {
if (options.syntaxv3 || element.props?.syntaxv3 || parent.props?.syntaxv3) {
element.props.syntaxv3 = true
return createValidDomqlObjectFromSugar(element, parent, key, options)

@@ -158,0 +159,0 @@ } else if (checkIfKeyIsComponent(key)) {

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

const redefineElement = (element, parent, key, options) => {
var _a, _b;
const elementWrapper = createBasedOnType(element, parent, key, options);
if (options.syntaxv3 || element.props && element.props.syntaxv3) {
if (options.syntaxv3 || ((_a = element.props) == null ? void 0 : _a.syntaxv3) || ((_b = parent.props) == null ? void 0 : _b.syntaxv3)) {
element.props.syntaxv3 = true;
return (0, import_component.createValidDomqlObjectFromSugar)(element, parent, key, options);

@@ -122,0 +124,0 @@ } else if ((0, import_component.checkIfKeyIsComponent)(key)) {

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

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

},
"gitHead": "ea0a85fc95e055393c95181eb56c98e94403bea1",
"gitHead": "c6aea56536fc17cf5176fed238cf77da99965ed8",
"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