New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

trembita

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trembita - npm Package Compare versions

Comparing version

to
1.0.4

6

CHANGELOG.md

@@ -0,1 +1,7 @@

#### 1.0.4 (2018-07-13)
##### Bug Fixes
* no-ticket: remove options trace (c5646340)
#### 1.0.3 (2018-07-13)

@@ -2,0 +8,0 @@

4

error/unexpectedStatusCodeError.js

@@ -24,5 +24,3 @@ /* istanbul ignore file */

if (instance.constructor.name === 'Object') {
this.message = `Unexpected status code: ${instance.httpStatusCode}, Body: ${instance.httpBody}, Options: ${util.inspect(instance.options, {
depth: 4
})}`
this.message = `Unexpected status code: ${instance.httpStatusCode}, Body: ${instance.httpBody}`
} else {

@@ -29,0 +27,0 @@ this.message = 'Unexpected Status Code Error';

{
"name": "trembita",
"version": "1.0.3",
"version": "1.0.4",
"private": false,

@@ -5,0 +5,0 @@ "description": "Request wrapper core for consuming third party services",

@@ -188,3 +188,3 @@ const { should, expect } = require('chai');

.catch(UnexpectedStatusCodeError, (err) => {
const message = `Unexpected status code: 404, Body: undefined, Options: { url: \'/profiles/1\', expectedCodes: [ 200 ] }`
const message = `Unexpected status code: 404, Body: undefined`
expect(err.message).to.equal(message)

@@ -191,0 +191,0 @@ expect(err.toJSON()).to.deep.equal({ message })