@highpoint/js-fetch
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -0,1 +1,5 @@ | ||
# v4.2.0 | ||
- Revert 4.1.0, use postRaw instead | ||
# v4.1.0 | ||
@@ -2,0 +6,0 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15683
286