Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 8.0.2 to 8.0.3

README.md

8

dist/plugins/common.js

@@ -69,12 +69,12 @@ "use strict";

var responseType = response.type();
if (typeof body !== 'string') {
throw request.error("Unable to parse non-string response body", 'EPARSE');
}
if (responseType == null) {
throw request.error("Unable to parse invalid response content type", 'EPARSE');
}
if (body === '') {
if (body == null || body === '') {
response.body = null;
return response;
}
if (typeof body !== 'string') {
throw request.error("Unable to parse non-string response body", 'EPARSE');
}
for (var _i = 0, types_2 = types; _i < types_2.length; _i++) {

@@ -81,0 +81,0 @@ var type_2 = types_2[_i];

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

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

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