You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

polylib

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polylib - npm Package Compare versions

Comparing version
1.1.12
to
1.1.13
+7
-5
engine/v1/template.js

@@ -106,7 +106,9 @@ import {fixText, fromDashed, getRandomId, normalizePath, setAttrValue} from '../../common.js'

}
let nodeIterator = document.createNodeIterator(clone, NodeFilter.SHOW_COMMENT);
let node;
while(node = nodeIterator.nextNode()){
let id = (node.textContent.split(":")[1] || "").trim();
node._tpl = this.nestedTemplates.get(id);
if (this.nestedTemplates.size > 0) {
let nodeIterator = document.createNodeIterator(clone, NodeFilter.SHOW_COMMENT);
let node;
while (node = nodeIterator.nextNode()) {
let id = (node.textContent.split(":")[1] || "").trim();
node._tpl = this.nestedTemplates.get(id);
}
}

@@ -113,0 +115,0 @@ return clone;

{
"name": "polylib",
"description": "A simple library for creating fast, lightweight web components.",
"version": "1.1.12",
"version": "1.1.13",
"license": "MIT",

@@ -6,0 +6,0 @@ "type": "module",