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

azurite

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azurite - npm Package Compare versions

Comparing version 2.6.1 to 2.6.2

3

lib/actions/blob/PreflightBlobRequest.js

@@ -15,5 +15,6 @@ 'use strict';

response.addHttpProperty(N.ACCESS_CONTROL_ALLOW_METHODS, req.httpProps[N.ACCESS_CONTROL_REQUEST_METHOD]);
response.addHttpProperty(N.ACCESS_CONTROL_ALLOW_HEADERS, req.httpProps[N.ACCESS_CONTROL_ALLOW_HEADERS]);
response.addHttpProperty(N.ACCESS_CONTROL_ALLOW_HEADERS, req.httpProps[N.ACCESS_CONTROL_REQUEST_HEADERS]);
response.addHttpProperty(N.ACCESS_CONTROL_MAX_AGE, req.cors.maxAgeInSeconds);
response.addHttpProperty(N.ACCESS_CONTROL_ALLOW_CREDENTIALS, true); // Refactor into response
res.set(response.httpProps);
res.status(200).send();

@@ -20,0 +21,0 @@ }

@@ -8,3 +8,3 @@ 'use strict';

class AzuriteResponse {
constructor({ proxy = undefined, payload = undefined, query = {}, cors = undefined }) {
constructor({ proxy = undefined, payload = undefined, query = {}, cors = undefined } = {}) {
this.httpProps = {};

@@ -38,2 +38,3 @@ this.proxy = proxy;

this.httpProps[N.ACCESS_CONTROL_ALLOW_CREDENTIALS] = true;
this.httpProps[N.ACCESS_CONTROL_ALLOW_HEADERS] = cors.exposedHeaders;
}

@@ -40,0 +41,0 @@ }

{
"name": "azurite",
"version": "2.6.1",
"version": "2.6.2",
"description": "A lightweight server clone of Azure Blob, Queue, and Table Storage that simulates most of the commands supported by it with minimal dependencies.",

@@ -5,0 +5,0 @@ "scripts": {

# 2.0
## 2.6.2
- merged PR https://github.com/arafato/azurite/pull/170 -> thanks to @julienr
## 2.6.1

@@ -3,0 +5,0 @@ - fixes [#169](https://github.com/arafato/azurite/issues/169)

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