@poe-platform/safe-js 0.1.121 → 0.1.122
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-NU2O5IK6.js → chunk-MQSVO6I2.js} +2 -2
- package/dist/safe-js/chunks/{chunk-7HK37H74.js → chunk-OZTC4BT3.js} +12 -1
- package/dist/safe-js/chunks/chunk-OZTC4BT3.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-7HK37H74.js.map +0 -7
- /package/dist/safe-js/chunks/{chunk-NU2O5IK6.js.map → chunk-MQSVO6I2.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OZTC4BT3.js";
|
|
31
31
|
|
|
32
32
|
// packages/safe-js/src/migrate.ts
|
|
33
33
|
import { createHash } from "node:crypto";
|
|
@@ -8245,4 +8245,4 @@ export {
|
|
|
8245
8245
|
parseMcpConfig,
|
|
8246
8246
|
makeMcpModule
|
|
8247
8247
|
};
|
|
8248
|
-
//# sourceMappingURL=chunk-
|
|
8248
|
+
//# sourceMappingURL=chunk-MQSVO6I2.js.map
|
|
@@ -8513,6 +8513,16 @@ function isLineTerminator(character) {
|
|
|
8513
8513
|
|
|
8514
8514
|
// packages/safe-js/src/interp/methods/regex.ts
|
|
8515
8515
|
var regexMethodNames = /* @__PURE__ */ new Set(["exec", "test"]);
|
|
8516
|
+
var regexFlagProperties = {
|
|
8517
|
+
hasIndices: "d",
|
|
8518
|
+
global: "g",
|
|
8519
|
+
ignoreCase: "i",
|
|
8520
|
+
multiline: "m",
|
|
8521
|
+
dotAll: "s",
|
|
8522
|
+
unicode: "u",
|
|
8523
|
+
unicodeSets: "v",
|
|
8524
|
+
sticky: "y"
|
|
8525
|
+
};
|
|
8516
8526
|
function isRegexMethodName(property) {
|
|
8517
8527
|
return typeof property === "string" && regexMethodNames.has(property);
|
|
8518
8528
|
}
|
|
@@ -8523,6 +8533,7 @@ function getRegexMember(target, property, budget) {
|
|
|
8523
8533
|
return budget === void 0 ? flags : budget.allocateString(flags);
|
|
8524
8534
|
}
|
|
8525
8535
|
if (property === "lastIndex") return target.lastIndex;
|
|
8536
|
+
if (Object.hasOwn(regexFlagProperties, property)) return target.flags.includes(regexFlagProperties[property]);
|
|
8526
8537
|
if (!isRegexMethodName(property)) {
|
|
8527
8538
|
return void 0;
|
|
8528
8539
|
}
|
|
@@ -33407,4 +33418,4 @@ export {
|
|
|
33407
33418
|
FileSnapshotBackend,
|
|
33408
33419
|
run
|
|
33409
33420
|
};
|
|
33410
|
-
//# sourceMappingURL=chunk-
|
|
33421
|
+
//# sourceMappingURL=chunk-OZTC4BT3.js.map
|