@dynamico/azure-blob-storage
Advanced tools
Comparing version 0.0.1-alpha.6 to 0.0.1-alpha.7
import { ContainerURL } from '@azure/storage-blob'; | ||
import { Storage, Component, File, Index, ComponentTree, ComponentGetter, Maybe } from '@dynamico/driver'; | ||
import { Storage, Component, File, Index, ComponentTree, ComponentGetter, Maybe } from '@dynamico/common-types'; | ||
interface AzureBlobStorageOptions { | ||
@@ -4,0 +4,0 @@ container: ContainerURL; |
@@ -0,5 +1,9 @@ | ||
const path = require('path'); | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
coverageDirectory: '../../coverage/azure-blob-storage/' | ||
coverageDirectory: `../../coverage/${path | ||
.normalize(__dirname) | ||
.split('/') | ||
.pop()}/` | ||
}; |
import { ContainerURL, Aborter, BlockBlobURL, uploadStreamToBlockBlob } from '@azure/storage-blob'; | ||
import { Storage, Component, File, Index, ComponentTree, ComponentGetter, Maybe } from '@dynamico/driver'; | ||
import { Storage, Component, File, Index, ComponentTree, ComponentGetter, Maybe } from '@dynamico/common-types'; | ||
import intoStream from 'into-stream'; | ||
@@ -4,0 +4,0 @@ import { Readable } from 'stream'; |
{ | ||
"name": "@dynamico/azure-blob-storage", | ||
"version": "0.0.1-alpha.6", | ||
"version": "0.0.1-alpha.7", | ||
"description": "Azure blob storage implementation as Dynamico storage provider", | ||
@@ -29,3 +29,2 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@dynamico/driver": "^0.0.1-alpha.6", | ||
"into-stream": "^5.1.0" | ||
@@ -36,4 +35,8 @@ }, | ||
}, | ||
"bundledDependencies": [ | ||
"@dynamico/common-types" | ||
], | ||
"devDependencies": { | ||
"@azure/storage-blob": "^10.3.0", | ||
"@dynamico/common-types": "^0.0.1-alpha.7", | ||
"@types/node": "^12.0.10", | ||
@@ -45,3 +48,3 @@ "jest": "^24.8.0", | ||
}, | ||
"gitHead": "77dfcdde97f38a8c89ddff61ee3d3111cf803a95" | ||
"gitHead": "ba26ac7e566b08a02ab7483072c80dd5ed0c4f07" | ||
} |
@@ -11,4 +11,6 @@ # Azure Blob Storage | ||
Let's setup an Azure blob storage provider, it'll take only a few minutes! In this guide we'll initialize the connection to Azure Blob storage via a SAS key. We think that this is the most secure way to handle storage access on Azure Blobs. It doesn't actually matter to the provider as long as you provide a valid `ContainerURL` instance. Check the [docs](https://docs.microsoft.com/en-us/javascript/api/@azure/storage-blob/containerurl?view=azure-node-preview) for `ContainerURL` for more. | ||
Let's setup an Azure blob storage provider, it'll take only a few minutes! | ||
In this guide we'll initialize the connection to Azure Blob storage via a SAS key. We think that this is the most secure way to handle storage access on Azure Blobs. It doesn't actually matter to the provider as long as you provide a valid `ContainerURL` instance. Check the [docs](https://docs.microsoft.com/en-us/javascript/api/@azure/storage-blob/containerurl?view=azure-node-preview) for `ContainerURL` for more. | ||
Start by installing the required dependencies: | ||
@@ -15,0 +17,0 @@ ```bash |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
58927
2
975
123
7
1
- Removed@dynamico/driver@^0.0.1-alpha.6
- Removed@dynamico/common-types@0.0.1-alpha.10(transitive)
- Removed@dynamico/driver@0.0.1-alpha.10(transitive)
- Removedcompare-versions@3.6.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedsemver@6.3.1(transitive)