node-mailjet
Advanced tools
Comparing version 3.3.11 to 3.3.12
@@ -42,3 +42,2 @@ /* | ||
const request = require('superagent') | ||
const Promise = require('bluebird') | ||
const _path = require('path') | ||
@@ -45,0 +44,0 @@ const JSONb = require('json-bigint')({ storeAsString: true }) |
{ | ||
"name": "node-mailjet", | ||
"version": "3.3.11", | ||
"version": "3.3.12", | ||
"description": "Mailjet NodeJS API client", | ||
@@ -10,3 +10,2 @@ "main": "index.js", | ||
"dependencies": { | ||
"bluebird": "^3.5.0", | ||
"json-bigint": "^1.0.0", | ||
@@ -13,0 +12,0 @@ "qs": "^6.5.0", |
@@ -10,3 +10,2 @@ /* global describe, it */ | ||
var should = chai.should() // eslint-disable-line no-unused-vars | ||
var Promise = require('bluebird') | ||
@@ -137,3 +136,3 @@ describe('Basic Error Handling', function () { | ||
.then(function (result) { | ||
result.body.should.be.a('object') | ||
expect(result.body).should.be.a('object') | ||
expect(result.response.statusCode).to.equal(200) | ||
@@ -151,3 +150,3 @@ done() | ||
.then(function (result) { | ||
result.body.should.be.a('object') | ||
expect(result.body).should.be.a('object') | ||
expect(result.response.statusCode).to.equal(200) | ||
@@ -154,0 +153,0 @@ done() |
@@ -8,3 +8,2 @@ /* global describe, it */ | ||
var should = chai.should() // eslint-disable-line no-unused-vars | ||
var Promise = require('bluebird') | ||
@@ -11,0 +10,0 @@ if (typeof API_TOKEN === 'undefined') { |
@@ -20,3 +20,2 @@ /* global describe, it */ | ||
var should = chai.should() // eslint-disable-line no-unused-vars | ||
var Promise = require('bluebird') | ||
var nock = require('nock') | ||
@@ -73,3 +72,3 @@ | ||
.then(function (result) { | ||
result.body.should.be.a('object') | ||
expect(result.body).should.be.a('object') | ||
expect(result.response.statusCode).to.equal(200) | ||
@@ -88,3 +87,3 @@ done() | ||
.then(function (result) { | ||
result.body.should.be.a('object') | ||
expect(result.body).should.be.a('object') | ||
expect(result.response.statusCode).to.be.within(200, 201) | ||
@@ -103,3 +102,3 @@ done() | ||
contact.request({}).then(function (result) { | ||
result.body.should.be.a('object') | ||
expect(result.body).should.be.a('object') | ||
expect(result.response.statusCode).to.be.within(200, 201) | ||
@@ -106,0 +105,0 @@ done() |
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
4
371970
10706
- Removedbluebird@^3.5.0
- Removedbluebird@3.7.2(transitive)