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.8.0 to 3.8.1

11

dist/index.js

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

function connectEndpoint(url) {
function createClient(url) {
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];

@@ -203,3 +203,3 @@ var middlewares = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];

if ((typeof query === "undefined" ? "undefined" : _typeof(query)) === "object") {
query = "?" + encodeURI(_queryString2.default.stringify((0, _compute.computeObject)(query)));
query = "?" + _queryString2.default.stringify((0, _compute.computeObject)(query));
} else if (query !== "") {

@@ -341,3 +341,4 @@ query = "?" + (0, _compute.compute)(query);

module.exports = {
connectEndpoint: connectEndpoint,
createClient: createClient,
connectEndpoint: createClient,
addMiddleware: addMiddleware,

@@ -457,3 +458,3 @@ removeMiddleware: removeMiddleware,

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

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

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

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

{
"name": "fetch-plus",
"description": "A convenient Fetch API library with first-class middleware support",
"version": "3.8.0",
"version": "3.8.1",
"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