File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @web/parse5-utils ' : patch
3+ ---
4+
5+ fix MJS exports and fix docs about exported utils
Original file line number Diff line number Diff line change @@ -91,20 +91,20 @@ const htmlWithInjectedScript = appendToDocument(
9191- isElementNode
9292- setNodeSourceCodeLocation
9393- getNodeSourceCodeLocation
94- - updateNodeSourceCodeLocation
9594- isHtmlFragment
9695- hasAttribute
9796- getAttribute
9897- getAttributes
9998- setAttribute
10099- setAttributes
100+ - removeAttribute
101101- setTextContent
102102- getTextContent
103- - removeAttribute
104103- remove
105104- findNode
106105- findNodes
107106- findElement
108107- findElements
108+ - prepend
109109- prependToDocument
110110- appendToDocument
Original file line number Diff line number Diff line change @@ -34,19 +34,21 @@ const {
3434 isElementNode,
3535 setNodeSourceCodeLocation,
3636 getNodeSourceCodeLocation,
37- updateNodeSourceCodeLocation,
3837 isHtmlFragment,
3938 hasAttribute,
4039 getAttribute,
4140 getAttributes,
4241 setAttribute,
4342 setAttributes,
4443 removeAttribute,
44+ setTextContent,
45+ getTextContent,
4546 remove,
4647 findNode,
4748 findNodes,
4849 findElement,
4950 findElements,
51+ prepend,
5052 prependToDocument,
5153 appendToDocument,
5254} = cjsEntrypoint ;
@@ -85,19 +87,21 @@ export {
8587 isElementNode ,
8688 setNodeSourceCodeLocation ,
8789 getNodeSourceCodeLocation ,
88- updateNodeSourceCodeLocation ,
8990 isHtmlFragment ,
9091 hasAttribute ,
9192 getAttribute ,
9293 getAttributes ,
9394 setAttribute ,
9495 setAttributes ,
9596 removeAttribute ,
97+ setTextContent ,
98+ getTextContent ,
9699 remove ,
97100 findNode ,
98101 findNodes ,
99102 findElement ,
100103 findElements ,
104+ prepend ,
101105 prependToDocument ,
102106 appendToDocument ,
103107} ;
You can’t perform that action at this time.
0 commit comments