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 0.6.15 to 0.6.16

5

lib/api/ListBlobs.js

@@ -18,4 +18,5 @@ 'use strict';

const transformedModel = this._transformBlobList(result, req.query, includeMetadata === true);
const xmlDoc = js2xmlparser.parse('EnumerationResults', transformedModel);
res.set(new ResponseHeader({'Content-Type':'application/xml'}));
let xmlDoc = js2xmlparser.parse('EnumerationResults', transformedModel);
xmlDoc = xmlDoc.replace(`<EnumerationResults>`, `<EnumerationResults ServiceEndpoint="https://azurite.blob.core.windows.net" ContainerName="${container}">`);
res.set(new ResponseHeader({ 'Content-Type': 'application/xml' }));
res.status(200).send(xmlDoc);

@@ -22,0 +23,0 @@ })

3

lib/api/ListContainers.js

@@ -22,2 +22,3 @@ 'use strict';

let xmlDoc = js2xmlparser.parse('EnumerationResults', transformedModel);
xmlDoc = xmlDoc.replace(`<EnumerationResults>`, `<EnumerationResults ServiceEndpoint="https://azurite.blob.core.windows.net">`)
xmlDoc = xmlDoc.replace(`<?xml version='1.0'?>`, `<?xml version="1.0" encoding="utf-8"?>`)

@@ -47,3 +48,3 @@ res.status(200).send(xmlDoc);

}
modelContainer.Properties['Last-Modified'] = container.httpProps.lastModified;
modelContainer.Properties['Last-Modified'] = container.httpProps["Last-Modified"];
modelContainer.Properties.ETag = container.httpProps.ETag;

@@ -50,0 +51,0 @@ }

@@ -24,3 +24,4 @@ 'use strict';

this.Name = name;
this.Snapshot = '';
// Snapshot feature has not been implemented yet
// this.Snapshot = '';
this.Properties = new Properties();

@@ -27,0 +28,0 @@ this.Metadata = {};

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

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

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