Comparing version 0.9.15 to 0.9.16
@@ -32,11 +32,12 @@ 'use strict'; | ||
throw new AError(ErrorCodes.ConditionNotMetWrite); // 412 | ||
} | ||
return; | ||
} | ||
// The operation should be executed as long as the resource has no Etag values at all (which is only possible if the resource does not exist). | ||
if (ifNoneMatchVal === '*') { | ||
// If wildcard character is specified, perform the operation only if the resource does not exist, and fail the operation if it does exist. | ||
// Resource does not exist if there is no proxy available or if there is a proxy available but the blob has not been committed yet. | ||
if (ifNoneMatchVal === '*' && (blobProxy === undefined || blobProxy.original.committed === true)) { | ||
throw new AError(ErrorCodes.BlobAlreadyExists); | ||
} | ||
const ETagVal = proxy.original.etag, | ||
@@ -43,0 +44,0 @@ lastModifiedVal = new Date(proxy.lastModified()), |
{ | ||
"name": "azurite", | ||
"version": "0.9.15", | ||
"version": "0.9.16", | ||
"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": { |
# 0.9 | ||
## 0.9.16 | ||
- fixes [#90](https://github.com/arafato/azurite/issues/90) | ||
## 0.9.15 | ||
- fixes [#86](https://github.com/arafato/azurite/issues/86) | ||
- fixes [#87](https://github.com/arafato/azurite/issues/87) | ||
- fixes [#88](https://github.com/arafato/azurite/issues/88) | ||
- fixes [#89](https://github.com/arafato/azurite/issues/89) | ||
## 0.9.14 | ||
@@ -3,0 +10,0 @@ - fixes [#85](https://github.com/arafato/azurite/issues/85): append block on non-existing blob does not crash anymore |
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
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
243098
4369