@poe-platform/safe-js 0.1.173 → 0.1.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/safe-js/chunks/{chunk-UFDE4H2X.js → chunk-ECW7ILI7.js} +2 -2
- package/dist/safe-js/chunks/{chunk-QR5MFF7T.js → chunk-KWMGOGFY.js} +10 -5
- package/dist/safe-js/chunks/chunk-KWMGOGFY.js.map +7 -0
- package/dist/safe-js/cli.js +2 -2
- package/dist/safe-js/core.js +1 -1
- package/dist/safe-js/index.js +2 -2
- package/package.json +2 -2
- package/dist/safe-js/chunks/chunk-QR5MFF7T.js.map +0 -7
- /package/dist/safe-js/chunks/{chunk-UFDE4H2X.js.map → chunk-ECW7ILI7.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KWMGOGFY.js";
|
|
31
31
|
|
|
32
32
|
// packages/safe-js/src/migrate.ts
|
|
33
33
|
import { createHash } from "node:crypto";
|
|
@@ -8249,4 +8249,4 @@ export {
|
|
|
8249
8249
|
parseMcpConfig,
|
|
8250
8250
|
makeMcpModule
|
|
8251
8251
|
};
|
|
8252
|
-
//# sourceMappingURL=chunk-
|
|
8252
|
+
//# sourceMappingURL=chunk-ECW7ILI7.js.map
|
|
@@ -10893,21 +10893,26 @@ function splitNormalized(value, separator, limit, budget, parent) {
|
|
|
10893
10893
|
const result2 = [];
|
|
10894
10894
|
let copiedThrough = 0;
|
|
10895
10895
|
let endedWithZeroWidthMatch = false;
|
|
10896
|
-
|
|
10896
|
+
while (result2.length < limit) {
|
|
10897
|
+
const match = executeRegex(splitter, value, Number(splitter.lastIndex));
|
|
10898
|
+
if (match === null) break;
|
|
10899
|
+
if (match.text.length === 0) splitter.lastIndex = match.index + 1;
|
|
10897
10900
|
endedWithZeroWidthMatch = match.text.length === 0 && match.index === value.length;
|
|
10898
10901
|
if (match.text.length === 0 && (match.index === copiedThrough || match.index === value.length))
|
|
10899
10902
|
continue;
|
|
10900
|
-
|
|
10903
|
+
budget.allocateArrayLength(result2.length + 1);
|
|
10901
10904
|
result2.push(budget.allocateString(value.slice(copiedThrough, match.index)));
|
|
10902
10905
|
for (const capture of match.captures) {
|
|
10903
10906
|
if (result2.length >= limit) break;
|
|
10907
|
+
budget.allocateArrayLength(result2.length + 1);
|
|
10904
10908
|
result2.push(capture === void 0 ? void 0 : budget.allocateString(capture));
|
|
10905
10909
|
}
|
|
10906
10910
|
copiedThrough = match.index + match.text.length;
|
|
10907
10911
|
}
|
|
10908
|
-
if (result2.length < limit && (value.length > 0 || !endedWithZeroWidthMatch))
|
|
10912
|
+
if (result2.length < limit && (value.length > 0 || !endedWithZeroWidthMatch)) {
|
|
10913
|
+
budget.allocateArrayLength(result2.length + 1);
|
|
10909
10914
|
result2.push(budget.allocateString(value.slice(copiedThrough)));
|
|
10910
|
-
|
|
10915
|
+
}
|
|
10911
10916
|
return result2;
|
|
10912
10917
|
} finally {
|
|
10913
10918
|
compilation.dispose();
|
|
@@ -36401,4 +36406,4 @@ export {
|
|
|
36401
36406
|
FileSnapshotBackend,
|
|
36402
36407
|
run
|
|
36403
36408
|
};
|
|
36404
|
-
//# sourceMappingURL=chunk-
|
|
36409
|
+
//# sourceMappingURL=chunk-KWMGOGFY.js.map
|