@azure/storage-blob
Advanced tools
Comparing version 12.1.1 to 12.2.0-dev.20200402.4
# Release History | ||
## 12.1.2 (Unreleased) | ||
## 12.1.1 (2020.03) | ||
@@ -4,0 +7,0 @@ |
@@ -62,3 +62,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
if (!blobSASSignatureValues.identifier && | ||
(!blobSASSignatureValues.permissions && !blobSASSignatureValues.expiresOn)) { | ||
!blobSASSignatureValues.permissions && !blobSASSignatureValues.expiresOn) { | ||
throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided."); | ||
@@ -126,3 +126,3 @@ } | ||
if (!blobSASSignatureValues.identifier && | ||
(!blobSASSignatureValues.permissions && !blobSASSignatureValues.expiresOn)) { | ||
!blobSASSignatureValues.permissions && !blobSASSignatureValues.expiresOn) { | ||
throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided."); | ||
@@ -129,0 +129,0 @@ } |
@@ -13,3 +13,3 @@ /* | ||
var packageName = "azure-storage-blob"; | ||
var packageVersion = "12.1.1"; | ||
var packageVersion = "12.2.0"; | ||
var StorageClientContext = /** @class */ (function (_super) { | ||
@@ -16,0 +16,0 @@ __extends(StorageClientContext, _super); |
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { __assign } from "tslib"; | ||
import { BaseRequestPolicy, deserializationPolicy, HttpHeaders, RequestPolicyOptions, WebResource, proxyPolicy, isNode, isTokenCredential, bearerTokenAuthenticationPolicy, tracingPolicy, logPolicy, keepAlivePolicy, generateClientRequestIdPolicy } from "@azure/core-http"; | ||
import { BaseRequestPolicy, deserializationPolicy, disableResponseDecompressionPolicy, HttpHeaders, RequestPolicyOptions, WebResource, proxyPolicy, isNode, isTokenCredential, bearerTokenAuthenticationPolicy, tracingPolicy, logPolicy, keepAlivePolicy, generateClientRequestIdPolicy } from "@azure/core-http"; | ||
import { logger } from "./log"; | ||
@@ -85,4 +85,5 @@ import { StorageBrowserPolicyFactory } from "./StorageBrowserPolicyFactory"; | ||
if (isNode) { | ||
// ProxyPolicy is only avaiable in Node.js runtime, not in browsers | ||
// policies only avaiable in Node.js runtime, not in browsers | ||
factories.push(proxyPolicy(pipelineOptions.proxyOptions)); | ||
factories.push(disableResponseDecompressionPolicy()); | ||
} | ||
@@ -89,0 +90,0 @@ factories.push(isTokenCredential(credential) |
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
export var SDK_VERSION = "12.1.1"; | ||
export var SDK_VERSION = "12.2.0"; | ||
export var SERVICE_VERSION = "2019-07-07"; | ||
@@ -5,0 +5,0 @@ export var BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES = 256 * 1024 * 1024; // 256MB |
{ | ||
"name": "@azure/storage-blob", | ||
"sdk-type": "client", | ||
"version": "12.1.1", | ||
"version": "12.2.0-dev.20200402.4", | ||
"description": "Microsoft Azure Storage SDK for JavaScript - Blob", | ||
@@ -19,7 +19,7 @@ "main": "./dist/index.js", | ||
}, | ||
"types": "./typings/latest/src/index.d.ts", | ||
"types": "./typings/latest/storage-blob.d.ts", | ||
"typesVersions": { | ||
"<3.6": { | ||
"*": [ | ||
"./typings/3.1/src/index.d.ts" | ||
"./typings/3.1/storage-blob.d.ts" | ||
] | ||
@@ -33,4 +33,4 @@ } | ||
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", | ||
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.1.1 --use=@microsoft.azure/autorest.typescript@5.0.1", | ||
"build:es6": "tsc -p tsconfig.json && npm run build:types", | ||
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.2.0 --use=@microsoft.azure/autorest.typescript@5.0.1", | ||
"build:es6": "tsc -p tsconfig.json", | ||
"build:nodebrowser": "rollup -c 2>&1", | ||
@@ -41,3 +41,3 @@ "build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples", | ||
"build:types": "downlevel-dts typings/latest typings/3.1", | ||
"build": "npm run build:es6 && npm run build:nodebrowser && api-extractor run --local", | ||
"build": "npm run build:es6 && npm run build:nodebrowser && api-extractor run --local && npm run build:types", | ||
"check-format": "prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", | ||
@@ -52,3 +52,3 @@ "clean": "rimraf dist dist-esm dist-test typings temp dist-browser/*.js* dist-browser/*.zip statistics.html coverage coverage-browser .nyc_output *.tgz *.log test*.xml TEST*.xml", | ||
"integration-test:browser": "karma start --single-run", | ||
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --full-trace -t 300000 dist-esm/test/*.spec.js dist-esm/test/node/*.spec.js", | ||
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace -t 300000 dist-esm/test/*.spec.js dist-esm/test/node/*.spec.js", | ||
"integration-test": "npm run integration-test:node && npm run integration-test:browser", | ||
@@ -63,3 +63,3 @@ "lint:fix": "eslint -c ../../.eslintrc.old.json src test samples --ext .ts --fix", | ||
"unit-test:browser": "karma start --single-run", | ||
"unit-test:node": "mocha --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --full-trace -t 120000 dist-test/index.node.js", | ||
"unit-test:node": "mocha --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace -t 120000 dist-test/index.node.js", | ||
"unit-test": "npm run unit-test:node && npm run unit-test:browser", | ||
@@ -72,7 +72,6 @@ "emulator-tests": "cross-env STORAGE_CONNECTION_STRING=UseDevelopmentStorage=true && npm run test:node" | ||
"dist-esm/src/", | ||
"LICENSE", | ||
"src/", | ||
"typings/latest/src", | ||
"typings/3.1/src", | ||
"tsconfig.json" | ||
"typings/latest/storage-blob.d.ts", | ||
"typings/3.1/storage-blob.d.ts", | ||
"README.md", | ||
"LICENSE" | ||
], | ||
@@ -109,6 +108,6 @@ "repository": { | ||
"@azure/abort-controller": "^1.0.0", | ||
"@azure/core-http": "^1.0.3", | ||
"@azure/core-http": "^1.1.0", | ||
"@azure/core-lro": "^1.0.0", | ||
"@azure/core-paging": "^1.1.0", | ||
"@azure/core-tracing": "1.0.0-preview.7", | ||
"@azure/core-tracing": "^1.0.0-dev", | ||
"@azure/logger": "^1.0.0", | ||
@@ -120,8 +119,8 @@ "@opentelemetry/types": "^0.2.0", | ||
"devDependencies": { | ||
"@azure/identity": "^1.1.0-preview1", | ||
"@azure/test-utils-recorder": "^1.0.0", | ||
"@azure/identity": "^1.1.0-dev", | ||
"@azure/test-utils-recorder": "^1.0.0-dev", | ||
"@microsoft/api-extractor": "^7.5.4", | ||
"@rollup/plugin-multi-entry": "^3.0.0", | ||
"@rollup/plugin-replace": "^2.2.0", | ||
"@types/mocha": "^5.2.5", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^8.0.0", | ||
@@ -155,5 +154,4 @@ "@typescript-eslint/eslint-plugin": "^2.0.0", | ||
"karma-remap-istanbul": "^0.6.0", | ||
"mocha": "^6.2.2", | ||
"mocha": "^7.1.1", | ||
"mocha-junit-reporter": "^1.18.0", | ||
"mocha-multi": "^1.1.3", | ||
"nyc": "^14.0.0", | ||
@@ -160,0 +158,0 @@ "prettier": "^1.16.4", |
@@ -70,2 +70,4 @@ # Azure Storage Blob client library for JavaScript | ||
- If a blob holds compressed data in `gzip` or `deflate` format and its content encoding is set accordingly, downloading behavior is different between Node.js and browsers. In Node.js storage clients will download the blob in its compressed format, while in browsers the data will be downloaded in de-compressed format. | ||
##### Features, interfaces, classes or functions only available in Node.js | ||
@@ -72,0 +74,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51
518
4969915
154
60492
1
1
+ Added@azure/core-tracing@1.0.0-preview.111.2.0(transitive)
+ Added@opentelemetry/api@1.0.0-rc.0(transitive)
- Removed@azure/core-tracing@1.0.0-preview.7(transitive)
Updated@azure/core-http@^1.1.0