Update tar-path-overwrite.yaml

patch-1
Prince Chaddha 2023-06-28 10:44:19 +05:30 committed by GitHub
parent 9a179323ff
commit 2823ea226e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -14,9 +14,8 @@ file:
matchers: matchers:
- type: regex - type: regex
regex: regex:
- "\\$X = require\\('tar-stream'\\)" - "require\\('tar-stream'\\)"
- "\\$EXTRACT\\.on\\('entry', function \\$FUNC\\(...\\) {" - "[\\w\\W]+?\\.createWriteStream\\([\\w\\W]*?\\, [\\w\\W]*?\\)"
- "\\$FS\\.createWriteStream\\(\\$FIL, ...\\)" - "[\\w\\W]+?\\.writeFile\\([\\w\\W]*?\\, [\\w\\W]*?\\)"
- "\\$FS\\.writeFile\\(\\$FIL, ...\\)" - "[\\w\\W]+?\\.writeFileSync\\([\\w\\W]*?\\, [\\w\\W]*?\\)"
- "\\$FS\\.writeFileSync\\(\\$FIL, ...\\)"
condition: or condition: or