@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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3556,7 +3556,7 @@ const baseMockDetails = (interaction) => ({
|
|
|
3556
3556
|
interactionState: interaction.providerState || "[none]",
|
|
3557
3557
|
});
|
|
3558
3558
|
|
|
3559
|
-
const unescape$1 = (subpath) => subpath.replaceAll("~1", "/").replaceAll("~0", "~");
|
|
3559
|
+
const unescape$1 = (subpath) => decodeURI(subpath.replaceAll("~1", "/").replaceAll("~0", "~"));
|
|
3560
3560
|
const splitPath = (path) => {
|
|
3561
3561
|
if (path.startsWith("#/")) {
|
|
3562
3562
|
return path.substring(2).split("/").map(unescape$1);
|