fast-azure-storage
Advanced tools
Comparing version 2.3.1 to 3.0.0
@@ -5,3 +5,2 @@ 'use strict'; | ||
var debug = require('debug')('azure:queue'); | ||
var Promise = require('promise'); | ||
var querystring = require('querystring'); | ||
@@ -8,0 +7,0 @@ var crypto = require('crypto'); |
@@ -5,3 +5,2 @@ 'use strict'; | ||
var debug = require('debug')('azure:table'); | ||
var Promise = require('promise'); | ||
var querystring = require('querystring'); | ||
@@ -401,4 +400,6 @@ var crypto = require('crypto'); | ||
// Construct error object | ||
var err = new Error(message); | ||
// Construct error object, capturing only the first line in the | ||
// error message, as subsequent lines from Azure are usually just | ||
// a requestId and timestamp. | ||
var err = new Error(message.split('\n')[0]); | ||
err.name = code + 'Error'; | ||
@@ -413,2 +414,3 @@ err.code = code; | ||
err.requestBody = json; | ||
err.message = message; | ||
@@ -415,0 +417,0 @@ debug("Error code: %s (%s) for %s %s on retry: %s", |
'use strict'; | ||
var Promise = require('promise'); | ||
var https = require('https'); | ||
@@ -5,0 +4,0 @@ var crypto = require('crypto'); |
{ | ||
"name": "fast-azure-storage", | ||
"version": "2.3.1", | ||
"version": "3.0.0", | ||
"author": "Jonas Finnemann Jensen <jopsen@gmail.com>, Elena Solomon <elenasolomon28@gmail.com>", | ||
@@ -21,16 +21,18 @@ "description": "Fast client library for azure storage services", | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=8" | ||
}, | ||
"dependencies": { | ||
"debug": "^3.1.0", | ||
"pixl-xml": "^1.0.13", | ||
"promise": "^8.0.1" | ||
"debug": "^4.1.1", | ||
"xml2js": "^0.4.19" | ||
}, | ||
"optionalDependencies": { | ||
"libxmljs": "^0.19.5" | ||
"resolutions": { | ||
"yuidocjs/**/request": "^2.88.0", | ||
"yuidocjs/**/fresh": "^0.5.2", | ||
"yuidocjs/**/forwarded": "^0.1.2", | ||
"yuidocjs/**/mime": "^1.4.1" | ||
}, | ||
"devDependencies": { | ||
"jsdoc": "^3.5.5", | ||
"mocha": "^4.0.1", | ||
"typed-env-config": "^1.1.1", | ||
"jsdoc": "^3.6.2", | ||
"mocha": "^6.1.4", | ||
"typed-env-config": "^3.0.0", | ||
"yuidoc-lucid-theme": "jonasfj/yuidoc-lucid-theme", | ||
@@ -37,0 +39,0 @@ "yuidocjs": "^0.10.2" |
@@ -137,6 +137,3 @@ Fast Azure Storage Client for Node.js | ||
-------------------------- | ||
The Azure Storage Queue client aims at interfacing Azure Queue Storage | ||
and handling all the XML parsing using `libxmljs` if available, if `libxmljs` | ||
isn't available it'll fall-back to use `pixl-xml` which is a pure Javascript, | ||
but also a tiny bit slower. | ||
The Azure Storage Queue client aims at interfacing Azure Queue Storage. | ||
@@ -237,2 +234,2 @@ Simple example of queue and message creation. | ||
* `Blob#appendBlock(container, blob, options, content)` | ||
* `Blob#sas(container, blob, options)` | ||
* `Blob#sas(container, blob, options)` |
Sorry, the diff of this file is too big to display
2
230254
11
4786
234
+ Addedxml2js@^0.4.19
+ Addedsax@1.4.1(transitive)
+ Addedxml2js@0.4.23(transitive)
+ Addedxmlbuilder@11.0.1(transitive)
- Removedpixl-xml@^1.0.13
- Removedpromise@^8.0.1
- Removed@mapbox/node-pre-gyp@1.0.11(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedaproba@2.0.0(transitive)
- Removedare-we-there-yet@2.0.0(transitive)
- Removedasap@2.0.6(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbindings@1.3.1(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedchownr@2.0.0(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removeddebug@3.2.7(transitive)
- Removeddelegates@1.0.0(transitive)
- Removeddetect-libc@2.0.3(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedfs-minipass@2.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedgauge@3.0.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedlibxmljs@0.19.10(transitive)
- Removedmake-dir@3.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminipass@3.3.65.0.0(transitive)
- Removedminizlib@2.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedms@2.1.3(transitive)
- Removednan@2.14.2(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednopt@5.0.0(transitive)
- Removednpmlog@5.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpixl-xml@1.0.13(transitive)
- Removedpromise@8.3.0(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsemver@6.3.17.6.2(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@4.2.3(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedtar@6.2.1(transitive)
- Removedtr46@0.0.3(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedwide-align@1.1.5(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyallist@4.0.0(transitive)
Updateddebug@^4.1.1