mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-02 20:00:05 +02:00
update node modules
This commit is contained in:
8
node_modules/acorn/dist/acorn.mjs
generated
vendored
8
node_modules/acorn/dist/acorn.mjs
generated
vendored
@@ -3200,7 +3200,8 @@ RegExpValidationState.prototype.at = function at (i) {
|
||||
if (!this.switchU || c <= 0xD7FF || c >= 0xE000 || i + 1 >= l) {
|
||||
return c
|
||||
}
|
||||
return (c << 10) + s.charCodeAt(i + 1) - 0x35FDC00
|
||||
var next = s.charCodeAt(i + 1);
|
||||
return next >= 0xDC00 && next <= 0xDFFF ? (c << 10) + next - 0x35FDC00 : c
|
||||
};
|
||||
|
||||
RegExpValidationState.prototype.nextIndex = function nextIndex (i) {
|
||||
@@ -3209,8 +3210,9 @@ RegExpValidationState.prototype.nextIndex = function nextIndex (i) {
|
||||
if (i >= l) {
|
||||
return l
|
||||
}
|
||||
var c = s.charCodeAt(i);
|
||||
if (!this.switchU || c <= 0xD7FF || c >= 0xE000 || i + 1 >= l) {
|
||||
var c = s.charCodeAt(i), next;
|
||||
if (!this.switchU || c <= 0xD7FF || c >= 0xE000 || i + 1 >= l ||
|
||||
(next = s.charCodeAt(i + 1)) < 0xDC00 || next > 0xDFFF) {
|
||||
return i + 1
|
||||
}
|
||||
return i + 2
|
||||
|
Reference in New Issue
Block a user