Skip to content

Commit c5fc0d4

Browse files
Add ignore-scripts to .npmrc
1 parent 77932a0 commit c5fc0d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
package-lock=false
2+
ignore-scripts=true

test/doctype.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ test('doctype', (t) => {
77
const actual = toParse5({
88
type: 'doctype',
99
name: 'html',
10+
// @ts-expect-error legacy property is not recognized by @types/hast
1011
system: 'http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd'
1112
})
1213
const expected = parse5.parse('<!DOCTYPE html>').childNodes[0]

0 commit comments

Comments
 (0)