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

fetch-plus-bearerauth

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-plus-bearerauth - npm Package Compare versions

Comparing version 3.9.2 to 3.10.2

5

dist/index.js

@@ -64,7 +64,8 @@ (function webpackUniversalModuleDefinition(root, factory) {

return function (request) {
if (token === undefined || token === null) {
var computedToken = (0, _compute.compute)(token);
if (computedToken === undefined || computedToken === null) {
return;
}
request.options.headers["Authorization"] = "Bearer " + (0, _compute.compute)(token);
request.options.headers["Authorization"] = "Bearer " + computedToken;
};

@@ -71,0 +72,0 @@ }; /**

2

package.json
{
"name": "fetch-plus-bearerauth",
"description": "A convenient Fetch API library with first-class middleware support",
"version": "3.9.2",
"version": "3.10.2",
"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