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.13 to 0.6.14

15

lib/Azurite.js

@@ -28,6 +28,19 @@ 'use strict';

}
// body-parser does not support any other content encodings as specified below
// we ignore any encoding that is different (see https://github.com/expressjs/body-parser/issues/100)
app.use(function (req, res, next) {
let encoding = (req.headers['content-encoding'] || 'identity').toLowerCase();
if (encoding !== 'deflate' ||
encoding !== 'gzip' ||
encoding !== 'identity') {
delete req.headers['content-encoding'];
}
next();
})
app.use(bodyParser.raw({
inflate: true,
limit: '268435kb', // Maximum size of a single PUT Blob operation as per spec.
type: function(type) { return true; }
type: function (type) {
return true;
}
}));

@@ -34,0 +47,0 @@ app.use(express.static(env.localStoragePath));

2

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