You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmessage=`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": must be a non-negative integer within the I-JSON safe integer range (0 to 2^53 - 1)`;
113
+
114
+
tracer?.step({
115
+
referenceToken,
116
+
input: current,
117
+
success: false,
118
+
reason: message,
119
+
});
120
+
121
+
thrownewJSONPointerIndexError(message,{
122
+
jsonPointer,
123
+
referenceTokens,
124
+
referenceToken,
125
+
referenceTokenPosition,
126
+
currentValue: current,
127
+
realm: realm.name,
128
+
});
129
+
}
130
+
106
131
constindex=Number(referenceToken);
107
132
if(index>=realm.sizeOf(current)&&strictArrays){
108
133
constmessage=`Invalid array index "${index}" at position ${referenceTokenPosition} in "${jsonPointer}": out of bounds`;
0 commit comments