azure-storage
Advanced tools
Comparing version 2.10.3 to 2.10.4
@@ -46,3 +46,3 @@ // | ||
function build(exportFilePath, outputFilePath, moduleName, isMinify) { | ||
browserify(exportFilePath, {standalone: moduleName}).bundle(function (err, src) { | ||
browserify(exportFilePath, {standalone: moduleName, browserField: "browserify"}).bundle(function (err, src) { | ||
if (err) { | ||
@@ -49,0 +49,0 @@ console.error('Failed when parsing', exportFilePath, err); |
Note: This is the change log file for Azure Storage JavaScript Client Library. | ||
2019.08 Version 3.0.100 | ||
* [Breaking] SharedKey based authentication and SAS generation will not be supported in browser bundles. | ||
2019.04 Version 2.10.103 | ||
@@ -4,0 +8,0 @@ |
@@ -33,3 +33,3 @@ // | ||
before(function (done) { | ||
blobService = azure.createBlobService(process.env['AZURE_STORAGE_CONNECTION_STRING']); | ||
blobService = testUtil.getBlobService(azure); | ||
assert.notEqual(null, blobService, 'blobService should not be null'); | ||
@@ -36,0 +36,0 @@ |
@@ -42,9 +42,3 @@ // | ||
path.resolve(__dirname, '../../test/services/file/fileservice-uploaddownload-tests.js'), | ||
path.resolve(__dirname, '../../test/common/connectionstringparsertests.js'), | ||
path.resolve(__dirname, '../../test/common/secondarytests.js'), | ||
path.resolve(__dirname, '../../test/common/servicesettingstests.js'), | ||
path.resolve(__dirname, '../../test/common/servicestatstests.js'), | ||
path.resolve(__dirname, '../../test/common/sharedkey-tests.js'), | ||
path.resolve(__dirname, '../../test/common/storageserviceclienttests.js'), | ||
path.resolve(__dirname, '../../test/common/storageservicesettingstests.js'), | ||
path.resolve(__dirname, '../../test/common/filters/exponentialretrypolicyfilter-tests.js'), | ||
@@ -56,3 +50,2 @@ path.resolve(__dirname, '../../test/common/filters/linearretrypolicyfilter-tests.js'), | ||
path.resolve(__dirname, '../../test/azure-tests.js'), | ||
path.resolve(__dirname, '../../test/accountsas-tests.js'), | ||
path.resolve(__dirname, './file/fileservice-upload.js'), | ||
@@ -59,0 +52,0 @@ path.resolve(__dirname, './blob/blobservice-upload.js') |
@@ -33,3 +33,3 @@ // | ||
before(function (done) { | ||
fileService = azure.createFileService(process.env['AZURE_STORAGE_CONNECTION_STRING']); | ||
fileService = testUtil.getFileService(azure); | ||
assert.notEqual(null, fileService, 'FileService should not be null'); | ||
@@ -36,0 +36,0 @@ |
Note: This is an Azure Storage only package. The all up Azure node sdk still has the old storage bits in there. In a future release, those storage bits will be removed and an npm dependency to this storage node sdk will | ||
be taken. This is a GA release and the changes described below indicate the changes from the Azure node SDK 0.9.8 available here - https://github.com/Azure/azure-sdk-for-node. | ||
2020.05 Version 2.10.4 | ||
* Upgraded `underscore` to 1.12.1. | ||
* Added `host` property to `StorageServiceClient`. | ||
2019.04 Version 2.10.3 | ||
@@ -5,0 +10,0 @@ |
@@ -75,3 +75,3 @@ # Contribute Code or Provide Feedback | ||
### Branching Policy | ||
Changes should be based on the **dev** branch, not master as master is considered publicly released code. Each breaking change should be recorded in [BreakingChanges.md](BreakingChanges.md). | ||
Changes should be based on the **master** branch. Each breaking change should be recorded in [BreakingChanges.md](BreakingChanges.md). | ||
@@ -78,0 +78,0 @@ ### Adding Features for All Platforms |
@@ -0,1 +1,3 @@ | ||
> For latest features support, please switch to [Azure Storage JavaScript SDK V10](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage). | ||
### Which service(blob, file, queue, table) does this issue concern? | ||
@@ -2,0 +4,0 @@ |
@@ -43,6 +43,4 @@ module.exports = function (config) { | ||
envPreprocessor: [ | ||
'AZURE_STORAGE_CONNECTION_STRING', | ||
'AZURE_STORAGE_CONNECTION_STRING_SSE_ENABLED_ACCOUNT', | ||
'AZURE_STORAGE_CONNECTION_STRING_BLOB_ACCOUNT', | ||
'AZURE_STORAGE_CONNECTION_STRING_PREMIUM_ACCOUNT' | ||
'AZURE_ACCOUNT', | ||
'AZURE_SAS' | ||
], | ||
@@ -49,0 +47,0 @@ |
@@ -16,3 +16,2 @@ // | ||
// | ||
var HmacSha256Sign = require('./hmacsha256sign'); | ||
var Constants = require('./../util/constants'); | ||
@@ -29,3 +28,2 @@ var SR = require('./../util/sr'); | ||
this.sasToken = sasToken; | ||
this.signer = new HmacSha256Sign(sasToken); | ||
} | ||
@@ -32,0 +30,0 @@ |
@@ -40,3 +40,3 @@ // | ||
*/ | ||
USER_AGENT_PRODUCT_VERSION: '2.10.3', | ||
USER_AGENT_PRODUCT_VERSION: '2.10.4', | ||
@@ -43,0 +43,0 @@ /** |
{ | ||
"name": "azure-storage", | ||
"author": "Microsoft Corporation", | ||
"version": "2.10.3", | ||
"version": "2.10.4", | ||
"description": "Microsoft Azure Storage Client Library for Node.js", | ||
@@ -18,2 +18,5 @@ "typings": "typings/azure-storage/azure-storage.d.ts", | ||
"main": "./lib/azure-storage.js", | ||
"browserify": { | ||
"./lib/common/signing/sharedkey.js": "./lib/common/signing/sharedkey.browser.js" | ||
}, | ||
"engines": { | ||
@@ -30,3 +33,3 @@ "node": ">= 0.8.26" | ||
"request": "^2.86.0", | ||
"underscore": "~1.8.3", | ||
"underscore": "^1.12.1", | ||
"uuid": "^3.0.0", | ||
@@ -55,3 +58,3 @@ "validator": "~9.4.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"mocha": ">= 1.18.0", | ||
"mocha": "^6.2.0", | ||
"mocha-lcov-reporter": "^1.0.0", | ||
@@ -58,0 +61,0 @@ "nock": "0.16", |
@@ -6,11 +6,10 @@ # Microsoft Azure Storage SDK for Node.js and JavaScript for Browsers | ||
* Master [![Build Status](https://travis-ci.org/Azure/azure-storage-node.svg?branch=master)](https://travis-ci.org/Azure/azure-storage-node/branches) [![Coverage Status](https://coveralls.io/repos/Azure/azure-storage-node/badge.svg?branch=master&service=github)](https://coveralls.io/github/Azure/azure-storage-node?branch=master) | ||
* Dev [![Build Status](https://travis-ci.org/Azure/azure-storage-node.svg?branch=dev)](https://travis-ci.org/Azure/azure-storage-node/branches) [![Coverage Status](https://coveralls.io/repos/Azure/azure-storage-node/badge.svg?branch=dev&service=github)](https://coveralls.io/github/Azure/azure-storage-node?branch=dev) | ||
This project provides a Node.js package and a browser compatible [JavaScript Client Library](https://github.com/Azure/azure-storage-node#azure-storage-javascript-client-library-for-browsers) that makes it easy to consume and manage Microsoft Azure Storage Services. | ||
> This README page is a reference to the SDK v2. For the new SDK v10, go to [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js). | ||
## If you would like to access our latest JS SDK, please refer to the Storage SDK v12 for JS link in the table below. If you would like more information on Azure's burgeoning effort to coordinate the development of the SDKs across services, of which this change is a part, please refer to [this article](https://azure.microsoft.com/en-us/blog/previewing-azure-sdks-following-new-azure-sdk-api-standards/). | ||
| SDK Name | Version | Description | NPM/API Reference Links | | ||
|------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js) | v10 | The next generation Storage SDK (Blob/Queue/File, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) - [Reference](https://docs.microsoft.com/en-us/javascript/api/overview/azure/storage/client?view=azure-node-preview) | | ||
| [Storage SDK v12 for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage) | v12 | The next generation Storage SDK (Blob/Queue/File, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) - [Reference](https://docs.microsoft.com/en-us/javascript/api/overview/azure/storage/client?view=azure-node-latest) | | ||
| [Storage SDK v2 for JavaScript](https://github.com/Azure/azure-storage-node) | v2 | Legacy Storage SDK in this repository (Blob/Queue/File/Table, callback style) | [NPM](https://www.npmjs.com/package/azure-storage) - [Reference](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) | | ||
@@ -41,3 +40,3 @@ | [Azure Management SDKs for JavaScript](https://github.com/Azure/azure-sdk-for-node) | v2 | Management SDKs including Storage Resource Provider APIs | [NPM](https://www.npmjs.com/package/azure) - [Reference](https://github.com/Azure/azure-sdk-for-node#documentation) | | ||
* [Microsoft official API document on docs.microsoft.com](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) | ||
* [Microsoft official API document on docs.microsoft.com](https://docs.microsoft.com/javascript/api/azure-storage/?view=azure-node-legacy) | ||
* [Generated API references on GitHub pages](http://azure.github.io/azure-storage-node) | ||
@@ -44,0 +43,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2690285
124
38162
26
560
+ Addedunderscore@1.13.7(transitive)
- Removedunderscore@1.8.3(transitive)
Updatedunderscore@^1.12.1