@pactflow/openapi-pact-comparator 1.1.0 → 1.2.0

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.mjs CHANGED
@@ -3536,7 +3536,7 @@ const baseMockDetails = (interaction) => ({
3536
3536
  interactionState: interaction.providerState || "[none]",
3537
3537
  });
3538
3538
 
3539
- const unescape$1 = (subpath) => subpath.replaceAll("~1", "/").replaceAll("~0", "~");
3539
+ const unescape$1 = (subpath) => decodeURI(subpath.replaceAll("~1", "/").replaceAll("~0", "~"));
3540
3540
  const splitPath = (path) => {
3541
3541
  if (path.startsWith("#/")) {
3542
3542
  return path.substring(2).split("/").map(unescape$1);