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

@web/parse5-utils

Package Overview
Dependencies
Maintainers
7
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/parse5-utils - npm Package Compare versions

Comparing version
2.1.0
to
2.1.1
+1
-1
dist/index.d.ts

@@ -122,3 +122,3 @@ export type TreeAdapter = import('parse5').TreeAdapter;

export function appendToDocument(document: string, appendedHtml: string): string;
export { createDocument, createDocumentFragment, createCommentNode, appendChild, insertBefore, setTemplateContent, getTemplateContent, setDocumentType, setDocumentMode, getDocumentMode, detachNode, insertText, insertTextBefore, adoptAttributes, getFirstChild, getChildNodes, getParentNode, getAttrList, getTagName, getNamespaceURI, getTextNodeContent, getCommentNodeContent, getDocumentTypeNodeName, getDocumentTypeNodePublicId, getDocumentTypeNodeSystemId, isTextNode, isCommentNode, isDocumentTypeNode, isElementNode, setNodeSourceCodeLocation, getNodeSourceCodeLocation };
export { createDocument, createDocumentFragment, createCommentNode, appendChild, insertBefore, setTemplateContent, getTemplateContent, setDocumentType, setDocumentMode, getDocumentMode, detachNode, insertText, insertTextBefore, adoptAttributes, getFirstChild, getChildNodes, getParentNode, getAttrList, getTagName, getNamespaceURI, getTextNodeContent, getCommentNodeContent, getDocumentTypeNodeName, getDocumentTypeNodePublicId, getDocumentTypeNodeSystemId, isTextNode, isCommentNode, isDocumentTypeNode, isElementNode, setNodeSourceCodeLocation, getNodeSourceCodeLocation, updateNodeSourceCodeLocation };
//# sourceMappingURL=index.d.ts.map

@@ -1,1 +0,1 @@

export * from './dist/index';
export * from './dist/index.js';

@@ -45,2 +45,4 @@ import cjsEntrypoint from './src/index.js';

removeAttribute,
setTextContent,
getTextContent,
remove,

@@ -51,2 +53,3 @@ findNode,

findElements,
prepend,
prependToDocument,

@@ -98,2 +101,4 @@ appendToDocument,

removeAttribute,
setTextContent,
getTextContent,
remove,

@@ -104,4 +109,5 @@ findNode,

findElements,
prepend,
prependToDocument,
appendToDocument,
};
{
"name": "@web/parse5-utils",
"version": "2.1.0",
"version": "2.1.1",
"publishConfig": {

@@ -29,3 +29,3 @@ "access": "public"

"build": "tsc",
"test": "mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register",
"test:node": "mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --reporter dot",
"test:watch": "mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --watch"

@@ -32,0 +32,0 @@ },

@@ -101,5 +101,5 @@ # parse5-utils

- setAttributes
- removeAttribute
- setTextContent
- getTextContent
- removeAttribute
- remove

@@ -110,3 +110,4 @@ - findNode

- findElements
- prepend
- prependToDocument
- appendToDocument

@@ -365,2 +365,3 @@ /** @typedef {import('parse5').TreeAdapter} TreeAdapter */

module.exports.getNodeSourceCodeLocation = adapter.getNodeSourceCodeLocation;
module.exports.updateNodeSourceCodeLocation = adapter.updateNodeSourceCodeLocation;
module.exports.isHtmlFragment = isHtmlFragment;

@@ -367,0 +368,0 @@ module.exports.hasAttribute = hasAttribute;