mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
fix meriyah crash
This commit is contained in:
parent
37b268bfeb
commit
c703ed39ca
4 changed files with 31 additions and 17 deletions
|
@ -1,3 +1,4 @@
|
|||
import { URL } from "../../client/url";
|
||||
import { rewriteJs } from "./js";
|
||||
|
||||
function canParseUrl(url: string, origin?: URL) {
|
||||
|
@ -42,4 +43,4 @@ export function decodeUrl(url: string | URL) {
|
|||
} else {
|
||||
return url;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue