Socket
Socket
Sign inDemoInstall

api-test

Package Overview
Dependencies
81
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

7

classes/Case.js

@@ -79,9 +79,8 @@ 'use strict'

if (options.onOut) {
options.onOut(that, out)
}
try {
res.statusCode.should.be.equal(that.statusCode)
check(out, expected, options.strict)
if (options.onOut) {
options.onOut(that, out)
}
} catch (e) {

@@ -88,0 +87,0 @@ console.log('\n-----\n' +

{
"name": "api-test",
"version": "2.1.0",
"version": "2.1.1",
"author": "Sitegui <sitegui@sitegui.com.br>",

@@ -5,0 +5,0 @@ "description": "API testing made simple",

@@ -13,3 +13,3 @@ 'use strict'

module.exports = function (value, useColors, highlightPath) {
var finalStr = '\n',
var finalStr = '',
indentLevel = 0,

@@ -82,6 +82,7 @@ highlight = false

value.forEach(function (value, i) {
var subpath = path ? path + '.' + i : String(i)
if (i) {
pushStr(',', false, true)
}
pushJsonValue(value, path)
pushJsonValue(value, subpath)
})

@@ -88,0 +89,0 @@ indentLevel--

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc