Socket
Socket
Sign inDemoInstall

fast-azure-storage

Package Overview
Dependencies
Maintainers
10
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-azure-storage - npm Package Compare versions

Comparing version 2.2.1 to 2.3.0

7

lib/authorization.js

@@ -13,3 +13,3 @@ var querystring = require('querystring');

// Check if we should refresh SAS
if (Date.now() > this._nextSASRefresh && this._nextSASRefresh !== 0) {
if (!this._sas || (Date.now() > this._nextSASRefresh && this._nextSASRefresh !== 0)) {
debug("Refreshing shared-access-signature");

@@ -37,2 +37,7 @@ // Avoid refreshing more than once

return sasString;
}).catch(err => {
debug("shared-access-signature refresh failed:", err);
// sas failed, so don't cache it, but throw the error for this request
this._sas = null;
throw err;
});

@@ -39,0 +44,0 @@ }

2

package.json
{
"name": "fast-azure-storage",
"version": "2.2.1",
"version": "2.3.0",
"author": "Jonas Finnemann Jensen <jopsen@gmail.com>, Elena Solomon <elenasolomon28@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Fast client library for azure storage services",

Sorry, the diff of this file is not supported yet

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