Merge pull request #388 from Serraniel/bugfix/vulnerabilities

Bugfix/vulnerabilities
This commit is contained in:
Daniel 2021-11-06 13:28:50 +01:00 committed by GitHub
commit bc9099e61b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12739 additions and 12995 deletions

1638
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -33,7 +33,7 @@
},
"homepage": "https://github.com/Serraniel/AniwatchPlus#readme",
"dependencies": {
"color": "^3.1.3",
"color": "^3.2.1",
"spacetime": "github:Serraniel/spacetime#bugfix/#255-typescript-constructor-options-missing",
"uuid": "^8.3.2"
},

View file

@ -43,7 +43,7 @@ export function findTextNodes(baseNode: Node): Array<Node> {
baseNode = document.documentElement;
}
let walker = document.createTreeWalker(baseNode, NodeFilter.SHOW_TEXT, null, false);
let walker = document.createTreeWalker(baseNode, NodeFilter.SHOW_TEXT, null);
let node;
let results = [];
while (node = walker.nextNode()) {