Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wiremock-rest-client

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiremock-rest-client - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

3

dist/service/mapping.service.js

@@ -14,2 +14,3 @@ "use strict";

const url_1 = require("url");
const json5_1 = require("json5");
const http_util_1 = require("../util/http.util");

@@ -47,3 +48,3 @@ const file_util_1 = require("../util/file.util");

return __awaiter(this, void 0, void 0, function* () {
const requestBody = JSON.parse(file_util_1.FileUtil.getFileContent(fileName));
const requestBody = json5_1.parse(file_util_1.FileUtil.getFileContent(fileName));
return this.createMapping(requestBody);

@@ -50,0 +51,0 @@ });

@@ -17,2 +17,3 @@ "use strict";

const cross_fetch_1 = __importDefault(require("cross-fetch"));
const json5_1 = require("json5");
const nanoid_1 = require("nanoid");

@@ -53,3 +54,3 @@ const https_proxy_agent_1 = __importDefault(require("https-proxy-agent"));

try {
return JSON.parse(responseText);
return json5_1.parse(responseText);
}

@@ -56,0 +57,0 @@ catch (error) {

{
"name": "wiremock-rest-client",
"version": "1.9.0",
"version": "1.10.0",
"description": "Lightweight REST client to interact with a running WireMock server",

@@ -38,19 +38,23 @@ "main": "dist/index.js",

],
"engines": {
"node": "^12.22.0 || ^14.15.0 || >=16.0.0"
},
"dependencies": {
"commander": "^6.1.0",
"cross-fetch": "^3.1.4",
"commander": "^6.2.1",
"cross-fetch": "^3.1.5",
"https-proxy-agent": "~4.0.0",
"loglevel": "^1.7.0",
"nanoid": "^3.1.12"
"json5": "^2.2.0",
"loglevel": "^1.8.0",
"nanoid": "^3.3.1"
},
"devDependencies": {
"@types/node": "^14.11.1",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"typescript": "^4.0.2"
"@types/node": "^14.18.12",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"eslint": "^8.9.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"typescript": "~4.0.8"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc