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

fetch-plus

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-plus - npm Package Compare versions

Comparing version 3.7.0 to 3.8.0

13

dist/index.js

@@ -90,2 +90,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

endpoint.request = request.bind(null, endpoint);
endpoint.browse = browse.bind(null, endpoint);

@@ -266,2 +267,9 @@ endpoint.read = read.bind(null, endpoint);

function request(_endpoint, path) {
var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];
var middlewares = arguments.length <= 3 || arguments[3] === undefined ? [] : arguments[3];
return _callFetch(_endpoint, path, _extends({ action: "request" }, options), middlewares);
}
function browse(_endpoint, path) {

@@ -337,2 +345,3 @@ var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];

fetch: _dropInFetch,
request: request,
browse: browse,

@@ -448,3 +457,3 @@ read: read,

if (Array.isArray(val)) {
return val.sort().map(function (val2) {
return val.slice().sort().map(function (val2) {
return strictUriEncode(key) + '=' + strictUriEncode(val2);

@@ -468,3 +477,3 @@ }).join('&');

return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
return '%' + c.charCodeAt(0).toString(16);
return '%' + c.charCodeAt(0).toString(16).toUpperCase();
});

@@ -471,0 +480,0 @@ };

2

package.json
{
"name": "fetch-plus",
"description": "A convenient Fetch API library with first-class middleware support",
"version": "3.7.0",
"version": "3.8.0",
"license": "BSD-3-Clause",

@@ -6,0 +6,0 @@ "repository": {

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