Update dependencies

This commit is contained in:
Jay Trees 2022-02-07 15:48:46 +01:00
parent 4098eacf03
commit 5d8b1b788a
879 changed files with 3792 additions and 2525 deletions

View file

@ -1005,7 +1005,7 @@
});
def_to_moz(AST_RegExp, function To_Moz_RegExpLiteral(M) {
var flags = M.value.toString().match(/[gimuy]*$/)[0];
var flags = M.value.toString().match(/\/([gimuy]*)$/)[1];
var value = "/" + M.value.raw_source + "/" + flags;
return {
type: "Literal",
@ -1013,8 +1013,8 @@
raw: value,
regex: {
pattern: M.value.raw_source,
flags: flags
}
flags: flags,
},
};
});