Skip to content

Commit 7cabf70

Browse files
committed
chore(deps): update dependency prettier to v3.3.3
1 parent 91b7496 commit 7cabf70

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"jsdom": "24.1.0",
5151
"jsdom-global": "3.0.2",
5252
"lint-staged": "15.2.7",
53-
"prettier": "3.3.2",
53+
"prettier": "3.3.3",
5454
"reflect-metadata": "0.2.2",
5555
"rollup": "4.18.1",
5656
"tslib": "2.6.3",

pnpm-lock.yaml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function textContent(element: Node): string {
153153
// we check if the element is a comment first
154154
// to return an empty string in that case, instead of the comment content
155155
return element.nodeType !== Node.COMMENT_NODE
156-
? element.textContent?.trim() ?? ''
156+
? (element.textContent?.trim() ?? '')
157157
: ''
158158
}
159159

0 commit comments

Comments
 (0)