Merge pull request #388 from Serraniel/bugfix/vulnerabilities
Bugfix/vulnerabilities
This commit is contained in:
commit
bc9099e61b
25730
package-lock.json
generated
25730
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -33,7 +33,7 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/Serraniel/AniwatchPlus#readme",
|
"homepage": "https://github.com/Serraniel/AniwatchPlus#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"color": "^3.1.3",
|
"color": "^3.2.1",
|
||||||
"spacetime": "github:Serraniel/spacetime#bugfix/#255-typescript-constructor-options-missing",
|
"spacetime": "github:Serraniel/spacetime#bugfix/#255-typescript-constructor-options-missing",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -43,7 +43,7 @@ export function findTextNodes(baseNode: Node): Array<Node> {
|
||||||
baseNode = document.documentElement;
|
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 node;
|
||||||
let results = [];
|
let results = [];
|
||||||
while (node = walker.nextNode()) {
|
while (node = walker.nextNode()) {
|
||||||
|
|
Loading…
Reference in a new issue