Skip to content

Commit 8ebce33

Browse files
Add ignore-scripts to .npmrc
Closes GH-2. Reviewed-by: Titus Wormer <[email protected]>
1 parent c6cfaae commit 8ebce33

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
package-lock=false
2+
ignore-scripts=true

lib/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export function fromXml(doc) {
3131
let position = now()
3232

3333
parser.ondoctype = ondoctype
34-
// @ts-expect-error `onsgmldeclaration` is most definitely fine.
3534
parser.onsgmldeclaration = onsgmldeclaration
3635
parser.onprocessinginstruction = onprocessinginstruction
3736
parser.ontext = ontext

0 commit comments

Comments
 (0)