wiremock-mapper
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -161,4 +161,4 @@ "use strict"; | ||
get: function () { | ||
var _a; | ||
return "".concat(((_a = configuration_1.Configuration.baseUrl) === null || _a === void 0 ? void 0 : _a.pathname) || '', "/__admin/mappings/reset"); | ||
var _a, _b; | ||
return "".concat(((_b = (_a = configuration_1.Configuration.baseUrl) === null || _a === void 0 ? void 0 : _a.pathname) === null || _b === void 0 ? void 0 : _b.replace(/\/$/, '')) || '', "/__admin/mappings/reset"); | ||
}, | ||
@@ -170,4 +170,4 @@ enumerable: false, | ||
get: function () { | ||
var _a; | ||
return "".concat(((_a = configuration_1.Configuration.baseUrl) === null || _a === void 0 ? void 0 : _a.pathname) || '', "/__admin/mappings"); | ||
var _a, _b; | ||
return "".concat(((_b = (_a = configuration_1.Configuration.baseUrl) === null || _a === void 0 ? void 0 : _a.pathname) === null || _b === void 0 ? void 0 : _b.replace(/\/$/, '')) || '', "/__admin/mappings"); | ||
}, | ||
@@ -179,4 +179,4 @@ enumerable: false, | ||
get: function () { | ||
var _a; | ||
return "".concat(((_a = configuration_1.Configuration.baseUrl) === null || _a === void 0 ? void 0 : _a.pathname) || '', "/__admin/requests"); | ||
var _a, _b; | ||
return "".concat(((_b = (_a = configuration_1.Configuration.baseUrl) === null || _a === void 0 ? void 0 : _a.pathname) === null || _b === void 0 ? void 0 : _b.replace(/\/$/, '')) || '', "/__admin/requests"); | ||
}, | ||
@@ -183,0 +183,0 @@ enumerable: false, |
{ | ||
"name": "wiremock-mapper", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "DSL for setting up WireMock mappings.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
150124