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

@highpoint/js-fetch

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highpoint/js-fetch - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

14

dist/js-fetch.js

@@ -208,2 +208,3 @@ import _objectSpread2 from "@babel/runtime/helpers/objectSpread";

var response,
responseBody,
_args2 = arguments;

@@ -219,5 +220,10 @@ return _regeneratorRuntime.wrap(function _callee2$(_context2) {

response = _context2.sent;
_context2.next = 5;
return checkResponse(response);
case 5:
responseBody = _context2.sent;
if (response.headers.get('content-type').includes('application/json')) {
_context2.next = 5;
_context2.next = 8;
break;

@@ -228,6 +234,6 @@ }

case 5:
return _context2.abrupt("return", checkResponse(response));
case 8:
return _context2.abrupt("return", responseBody);
case 6:
case 9:
case "end":

@@ -234,0 +240,0 @@ return _context2.stop();

{
"name": "@highpoint/js-fetch",
"version": "3.2.0",
"version": "3.3.0",
"description": "HighPoint Fetch Library",

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

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