@poe-platform/safe-js 0.1.202 → 0.1.203

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.
@@ -27,7 +27,7 @@ import {
27
27
  validateMigrationSemantics,
28
28
  validateSnapshotData,
29
29
  validateSnapshotMigration
30
- } from "./chunk-JBRG5INL.js";
30
+ } from "./chunk-SYMTPL3Q.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-TIWFGODB.js.map
8252
+ //# sourceMappingURL=chunk-FUOYH35L.js.map
@@ -9883,10 +9883,7 @@ function matchesCharacterClassItem(character, item, ignoreCase, unicode, unicode
9883
9883
  if (!ignoreCase) {
9884
9884
  return false;
9885
9885
  }
9886
- const foldedCandidate = foldCharacter(character, true).charCodeAt(0);
9887
- const foldedFrom = foldCharacter(item.from, true).charCodeAt(0);
9888
- const foldedTo = foldCharacter(item.to, true).charCodeAt(0);
9889
- return foldedCandidate >= foldedFrom && foldedCandidate <= foldedTo;
9886
+ return new RegExp(`^[\\u${from.toString(16).padStart(4, "0")}-\\u${to.toString(16).padStart(4, "0")}]$`, "i").test(character);
9890
9887
  }
9891
9888
  const matched = item.kind === "digit" ? isDigit(character) : item.kind === "word" ? isWordCharacter(character) : isSpaceCharacter(character);
9892
9889
  return item.negated ? !matched : matched;
@@ -37620,4 +37617,4 @@ export {
37620
37617
  FileSnapshotBackend,
37621
37618
  run
37622
37619
  };
37623
- //# sourceMappingURL=chunk-JBRG5INL.js.map
37620
+ //# sourceMappingURL=chunk-SYMTPL3Q.js.map