Socket
Socket
Sign inDemoInstall

popsicle

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popsicle - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

2

dist/request.d.ts

@@ -41,2 +41,3 @@ import Promise = require('any-promise');

transport: TransportOptions;
middleware: Middleware[];
opened: boolean;

@@ -49,3 +50,2 @@ aborted: boolean;

_raw: any;
_use: Middleware[];
_progress: ProgressFunction[];

@@ -52,0 +52,0 @@ private _promise;

@@ -19,2 +19,3 @@ "use strict";

_super.call(this, options);
this.middleware = [];
this.opened = false;

@@ -26,3 +27,2 @@ this.aborted = false;

this._downloadedBytes = null;
this._use = [];
this._progress = [];

@@ -39,3 +39,3 @@ this.timeout = (options.timeout | 0);

process.nextTick(function () {
var handle = throwback_1.compose(_this._use);
var handle = throwback_1.compose(_this.middleware);
var cb = function () {

@@ -75,3 +75,3 @@ _this._handle();

rawHeaders: this.rawHeaders,
use: this._use,
use: this.middleware,
progress: this._progress

@@ -96,3 +96,3 @@ };

var fn = _a[_i];
this._use.push(fn);
this.middleware.push(fn);
}

@@ -99,0 +99,0 @@ return this;

{
"name": "popsicle",
"version": "6.0.0",
"version": "6.1.0",
"description": "Simple HTTP requests for node and the browser",

@@ -5,0 +5,0 @@ "main": "dist/common.js",

@@ -320,3 +320,2 @@ # ![Popsicle](https://cdn.rawgit.com/blakeembrey/popsicle/master/logo.svg)

* [Status](https://github.com/blakeembrey/popsicle-status) - Reject responses on HTTP failure status codes
* [Cache](https://github.com/blakeembrey/popsicle-cache) - Built-in cache handling of HTTP requests under node (customizable store, uses a filesystem store by default)
* [No Cache](https://github.com/blakeembrey/popsicle-no-cache) - Prevent caching of HTTP requests in browsers

@@ -326,3 +325,2 @@ * [Basic Auth](https://github.com/blakeembrey/popsicle-basic-auth) - Add a basic authentication header to each request

* [Resolve](https://github.com/blakeembrey/popsicle-resolve) - Resolve all HTTP requests against a base URL
* [Constants](https://github.com/blakeembrey/popsicle-constants) - Replace constants in the URL string
* [Limit](https://github.com/blakeembrey/popsicle-limit) - Transparently handle API rate limits by grouping requests

@@ -329,0 +327,0 @@ * [Group](https://github.com/blakeembrey/popsicle-group) - Group requests and perform operations on them all at once

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc