diff --git a/.npmrc b/.npmrc index 43c97e7..9951b11 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ package-lock=false +ignore-scripts=true diff --git a/lib/index.js b/lib/index.js index 9e45b4d..c8b2b06 100644 --- a/lib/index.js +++ b/lib/index.js @@ -31,7 +31,6 @@ export function fromXml(doc) { let position = now() parser.ondoctype = ondoctype - // @ts-expect-error `onsgmldeclaration` is most definitely fine. parser.onsgmldeclaration = onsgmldeclaration parser.onprocessinginstruction = onprocessinginstruction parser.ontext = ontext