poe-code 13.0.4 → 13.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "13.0.4",
3
+ "version": "13.0.5",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10444,10 +10444,13 @@ function copyFromSandbox(value, state, path = "<root>", options, depth = 0) {
10444
10444
  const guard = new RegexCompileGuard(options.compilation);
10445
10445
  try {
10446
10446
  guard.preflight(source, flags);
10447
+ const existing = state.seen.get(value);
10448
+ if (existing !== void 0) return existing;
10447
10449
  guard.allocate(1 + source.length + flags.length);
10448
10450
  const regex = new RegExp(source, flags);
10449
10451
  regex.lastIndex = lastIndex;
10450
10452
  guard.retainScratch();
10453
+ state.seen.set(value, regex);
10451
10454
  return regex;
10452
10455
  } finally {
10453
10456
  guard.close();
@@ -30653,4 +30656,4 @@ export {
30653
30656
  FileSnapshotBackend,
30654
30657
  run
30655
30658
  };
30656
- //# sourceMappingURL=chunk-WGS5B4OT.js.map
30659
+ //# sourceMappingURL=chunk-BI5UBZ7A.js.map