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 1.0.0 to 1.1.0

.vscode/launch.json

3

lib/core/Constants.js

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

Queue: {
CREATE_QUEUE: 'CreateQueue'
CREATE_QUEUE: 'CreateQueue',
DELETE_QUEUE: 'DeleteQueue'
}

@@ -88,0 +89,0 @@ }

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

OutOfRangeInput: new ErrorCode('OutOfRangeInput', 400, 'One of the request inputs is out of range.'),
QueueAlreadyExists: new ErrorCode('QueueAlreadyExists', 409, 'The specified queue already exists.')
QueueAlreadyExists: new ErrorCode('QueueAlreadyExists', 409, 'The specified queue already exists.'),
QueueNotFound: new ErrorCode('QueueNotFound', 404, 'The specified queue does not exist.')
}

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

delete(name) {
delete this.queue[name];
delete this.queues[name];
}

@@ -23,0 +23,0 @@

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

// Actions
deleteQueue = require('./../../actions/queue/DeleteQueue'),
createQueue = require('./../../actions/queue/CreateQueue');

@@ -21,2 +22,6 @@

createQueue.process(request, res);
}
actions[Operations.Queue.DELETE_QUEUE] = (request, res) => {
deleteQueue.process(request, res);
}

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

QueueCreationValidation = require('./../../validation/queue/QueueCreation'),
QueueExistsValidation = require('./../../validation/queue/QueueExists'),
QueueNameValidation = require('./../../validation/queue/QueueName');

@@ -26,3 +27,3 @@

})
validations[req.azuriteOperation](request, validationContext);
validations[req.azuriteOperation](validationContext);
next();

@@ -37,6 +38,12 @@ }).catch((e) => {

validations[Operations.Queue.CREATE_QUEUE] = (request, valContext) => {
validations[Operations.Queue.CREATE_QUEUE] = (valContext) => {
valContext
.run(QueueNameValidation)
.run(QueueCreationValidation);
}
}
validations[Operations.Queue.DELETE_QUEUE] = (valContext) => {
valContext
.run(QueueExistsValidation);
}

@@ -26,4 +26,6 @@ 'use strict';

.delete((req, res, next) => {
req.azuriteOperation = Operations.Queue.DELETE_QUEUE;
req.azuriteRequest = new AzuriteQueueRequest({ req: req });
next();
});
}
{
"name": "azurite",
"version": "1.0.0",
"version": "1.1.0",
"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": {

@@ -20,4 +20,13 @@ # Azurite

This tells Azurite to store all data in a particular directory. If the `-l` option is ommitted it will use the current working directory.
This tells Azurite to store all data in a particular directory. If the `-l` option is ommitted it will use the current working directory. This also will start both blob storage and queue storage emulation in two different processes.
You can also selectively start the different storage emulators.
For Blob Storage Emulator only:
`$ azurite-blob -l path/to/localfolder`
For Queue Storage Emulator only:
`$ azurite-queue`
## Nuget

@@ -24,0 +33,0 @@ Azurite is also available as Nuget package at [https://www.nuget.org/packages/Azurite/](https://www.nuget.org/packages/Azurite/).

# 1.0
## 1.1.0
- fixes [#96](https://github.com/arafato/azurite/issues/96): Added support for DeleteQueue
## 1.0.0

@@ -3,0 +5,0 @@ - architectural changes to support different storage services such as queues, files, tables

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