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

flashheart

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flashheart - npm Package Compare versions

Comparing version

to
2.7.1

@@ -142,2 +142,6 @@ var _ = require('lodash');

CachingClient.prototype.head = function () {
this.delegate.head.apply(this.delegate, arguments);
};
CachingClient.prototype.put = function () {

@@ -144,0 +148,0 @@ this.delegate.put.apply(this.delegate, arguments);

@@ -130,5 +130,3 @@ var _ = require('lodash');

Client.prototype._request = function (method, url, opts, cb) {
var client = this;
opts = _.merge({

@@ -135,0 +133,0 @@ timeout: this.timeout,

{
"name": "flashheart",
"version": "2.7.0",
"version": "2.7.1",
"description": "A fully-featured REST client built for ease-of-use and resilience",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -450,2 +450,7 @@ var async = require('async');

it('supports the HEAD method', function (done) {
api.head('/').reply(200);
client.head(url, {}, done);
});
it('supports the PUT method', function (done) {

@@ -452,0 +457,0 @@ api.put('/', {}).reply(200);