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 4.1.0 to 4.2.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v4.2.0
- Revert 4.1.0, use postRaw instead
# v4.1.0

@@ -2,0 +6,0 @@

16

dist/js-fetch.js

@@ -209,4 +209,2 @@ import _objectSpread2 from "@babel/runtime/helpers/objectSpread";

_regeneratorRuntime.mark(function _callee2() {
var _ref7;
var response,

@@ -230,3 +228,3 @@ responseBody,

if (!(!response.headers.get('content-type').includes('application/json') && ((_ref7 = _args2.length <= 1 ? undefined : _args2[1]) === null || _ref7 === void 0 ? void 0 : _ref7.accept.includes('application/json')))) {
if (response.headers.get('content-type').includes('application/json')) {
_context2.next = 8;

@@ -257,3 +255,3 @@ break;

function () {
var _ref8 = _asyncToGenerator(
var _ref7 = _asyncToGenerator(
/*#__PURE__*/

@@ -283,3 +281,3 @@ _regeneratorRuntime.mark(function _callee3() {

return function postForm() {
return _ref8.apply(this, arguments);
return _ref7.apply(this, arguments);
};

@@ -291,3 +289,3 @@ }();

function () {
var _ref9 = _asyncToGenerator(
var _ref8 = _asyncToGenerator(
/*#__PURE__*/

@@ -317,3 +315,3 @@ _regeneratorRuntime.mark(function _callee4() {

return function postJSON() {
return _ref9.apply(this, arguments);
return _ref8.apply(this, arguments);
};

@@ -325,3 +323,3 @@ }();

function () {
var _ref10 = _asyncToGenerator(
var _ref9 = _asyncToGenerator(
/*#__PURE__*/

@@ -350,3 +348,3 @@ _regeneratorRuntime.mark(function _callee5(url, args) {

return function postRaw(_x2, _x3) {
return _ref10.apply(this, arguments);
return _ref9.apply(this, arguments);
};

@@ -353,0 +351,0 @@ }();

{
"name": "@highpoint/js-fetch",
"version": "4.1.0",
"version": "4.2.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