We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ignore-scripts
.npmrc
1 parent 77932a0 commit c5fc0d4Copy full SHA for c5fc0d4
.npmrc
@@ -1 +1,2 @@
1
package-lock=false
2
+ignore-scripts=true
test/doctype.js
@@ -7,6 +7,7 @@ test('doctype', (t) => {
7
const actual = toParse5({
8
type: 'doctype',
9
name: 'html',
10
+ // @ts-expect-error legacy property is not recognized by @types/hast
11
system: 'http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd'
12
})
13
const expected = parse5.parse('<!DOCTYPE html>').childNodes[0]
0 commit comments