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.7.0 to 0.7.1

lib/api/GetContainerAcl.js

6

lib/routes/ContainerRoute.js

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

setContainerAclHandler = require('./../api/SetContainerAcl'),
getContainerAclHandler = require('./../api/GetContainerAcl'),
env = require('./../env');

@@ -27,2 +28,4 @@

getContainerMetadataHandler.process(req, res, req.params.container);
} else if (restype === 'container' && comp === 'acl') {
getContainerAclHandler.process(req, res, req.params.container);
} else if (restype === 'container') {

@@ -37,2 +40,5 @@ getContainerPropertiesHandler.process(req, res, req.params.container);

getContainerMetadataHandler.process(req, res, req.params.container);
}
else if (restype === 'container' && comp === 'acl') {
getContainerAclHandler.process(req, res, req.params.container);
} else if (restype === 'container') {

@@ -39,0 +45,0 @@ getContainerPropertiesHandler.process(req, res, req.params.container);

@@ -746,2 +746,26 @@ 'use strict';

getContainerAcl(containerName) {
return BbPromise.try(() => {
new RootValidator({
containerName: containerName,
collection: this.db.getCollection(StorageTables.Containers)
})
.run(ContainerExistsVal);
const res = this._getCollectionAndContainer(containerName),
container = res.container;
const props = {
ETag: container.meta.revision,
'Last-Modified': container.httpProps['Last-Modified'],
}
if (container.access !== 'private') {
props['x-ms-blob-public-access'] = container.access;
}
return {
props: props,
signedIdentifiers: container.signedIdentifiers,
}
});
}
_updatePageRanges(collPages, pageRanges, startByte, endByte, name) {

@@ -748,0 +772,0 @@ const startAlignment = startByte / 512,

2

package.json
{
"name": "azurite",
"version": "0.7.0",
"version": "0.7.1",
"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