agreed-core
Advanced tools
Comparing version 0.6.4 to 0.6.5
@@ -18,3 +18,3 @@ 'use strict'; | ||
if (typeof small !== 'object') { | ||
if (hasTemplate(small) && large) { | ||
if (hasTemplate(small) && large != null) { | ||
if (hasTemplateWithAnyString(small)) { | ||
@@ -21,0 +21,0 @@ const reg = toRegexp(small); |
@@ -42,7 +42,2 @@ 'use strict'; | ||
if (agree.response.body) { | ||
const values = this.getMergedValues(agree.request.values, agree.response.values); | ||
agree.response.body = format(agree.response.body, values); | ||
} | ||
return new Promise((resolve, reject) => { | ||
@@ -49,0 +44,0 @@ const req = protocol.request(options, resolve); |
{ | ||
"name": "agreed-core", | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"description": "agreed is a mock server and test client, agreed will be helper for Consumer Driven Contract", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56820
1813