New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@domql/render

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@domql/render - npm Package Compare versions

Comparing version 2.5.29 to 2.5.30

7

append.js

@@ -13,3 +13,8 @@ 'use strict'

export const insertNodeAfter = (node, siblingNode, parentNode) => {
(parentNode || siblingNode.parentNode)?.insertBefore(node, siblingNode)
const parent = (parentNode || siblingNode.parentNode)
if (siblingNode.nextSibling) {
parent?.insertBefore(node, siblingNode.nextSibling)
} else {
siblingNode?.insertAdjacentElement('afterend', node)
}
}

@@ -16,0 +21,0 @@

8

dist/cjs/append.js

@@ -32,4 +32,8 @@ "use strict";

const insertNodeAfter = (node, siblingNode, parentNode) => {
var _a;
(_a = parentNode || siblingNode.parentNode) == null ? void 0 : _a.insertBefore(node, siblingNode);
const parent = parentNode || siblingNode.parentNode;
if (siblingNode.nextSibling) {
parent == null ? void 0 : parent.insertBefore(node, siblingNode.nextSibling);
} else {
siblingNode == null ? void 0 : siblingNode.insertAdjacentElement("afterend", node);
}
};

@@ -36,0 +40,0 @@ const insertNodeBefore = (node, siblingNode, parentNode) => {

{
"name": "@domql/render",
"version": "2.5.29",
"version": "2.5.30",
"license": "MIT",

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

},
"gitHead": "df470e5a96cda567c9d99cc98337eac0136d0890"
"gitHead": "c1547b94101ec41cb0ef08dbee37b81a2a541126"
}
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