poe-code 13.0.5 → 13.0.7

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/index.js CHANGED
@@ -145916,9 +145916,9 @@ function callMatchLikeMethod(value, methodName, args, compilation) {
145916
145916
  throw new TypeError(`String#${methodName} requires a regex argument.`);
145917
145917
  if (methodName === "search") {
145918
145918
  const lastIndex = regex.lastIndex;
145919
- regex.lastIndex = 0;
145919
+ if (!Object.is(lastIndex, 0)) regex.lastIndex = 0;
145920
145920
  const match = executeRegex(regex, value);
145921
- regex.lastIndex = lastIndex;
145921
+ if (!Object.is(regex.lastIndex, lastIndex)) regex.lastIndex = lastIndex;
145922
145922
  return match?.index ?? -1;
145923
145923
  }
145924
145924
  if (methodName === "matchAll" && !regex.flags.includes("g"))
@@ -157398,7 +157398,7 @@ var init_package2 = __esm({
157398
157398
  "package.json"() {
157399
157399
  package_default2 = {
157400
157400
  name: "poe-code",
157401
- version: "13.0.5",
157401
+ version: "13.0.7",
157402
157402
  description: "CLI tool to configure Poe API for developer workflows.",
157403
157403
  license: "MIT",
157404
157404
  type: "module",