New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cheesecakelabs/fetch

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cheesecakelabs/fetch - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

8

index.js

@@ -64,6 +64,6 @@ 'use strict';

_createClass(Fetch, [{
key: 'buidAuthorizationHeader',
value: function buidAuthorizationHeader(key) {
key: 'buildAuthorizationHeader',
value: function buildAuthorizationHeader(key) {
if (key) {
var authKeyword = this.options.defaultAuthorizationKeyword || DEFAULT_AUTHORIZATION_KEYWORD;
var authKeyword = this.options.defaultAuthorizationKeyword === undefined ? DEFAULT_AUTHORIZATION_KEYWORD : this.options.defaultAuthorizationKeyword;
var authHeader = this.options.defaultAuthorizationHeader || DEFAULT_AUTHORIZATION_HEADER;

@@ -86,3 +86,3 @@ return _defineProperty({}, authHeader, '' + authKeyword + key);

var authorization = this.buidAuthorizationHeader(key);
var authorization = this.buildAuthorizationHeader(key);
var finalURL = this.getURL(url, {

@@ -89,0 +89,0 @@ noBaseURL: noBaseURL,

{
"name": "@cheesecakelabs/fetch",
"version": "2.1.0",
"version": "2.1.1",
"description": "Opinionated fetch wrapper for modern front-end.",

@@ -5,0 +5,0 @@ "main": "index.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