balena-settings-storage
Advanced tools
Comparing version 8.0.1 to 8.0.2-build-virtual-store-own-property-fix-285e9cf751dff296392c0bc2fd2de9e445efd79a-1
@@ -8,3 +8,3 @@ "use strict"; | ||
getItem(key) { | ||
if (_store.hasOwnProperty(key)) { | ||
if (Object.prototype.hasOwnProperty.call(_store, key)) { | ||
return _store[key]; | ||
@@ -11,0 +11,0 @@ } |
@@ -7,2 +7,7 @@ # Change Log | ||
# v8.0.2 | ||
## (2023-07-28) | ||
* virtual-storage: Fix own property check [Thodoris Greasidis] | ||
# v8.0.1 | ||
@@ -9,0 +14,0 @@ ## (2023-07-26) |
@@ -8,3 +8,3 @@ import type { StorageFactory } from '../types'; | ||
getItem(key: string) { | ||
if (_store.hasOwnProperty(key)) { | ||
if (Object.prototype.hasOwnProperty.call(_store, key)) { | ||
return _store[key]; | ||
@@ -11,0 +11,0 @@ } else { |
{ | ||
"name": "balena-settings-storage", | ||
"version": "8.0.1", | ||
"version": "8.0.2-build-virtual-store-own-property-fix-285e9cf751dff296392c0bc2fd2de9e445efd79a-1", | ||
"description": "Balena settings storage utilities", | ||
@@ -63,4 +63,4 @@ "main": "build/index.js", | ||
"versionist": { | ||
"publishedAt": "2023-07-26T14:05:37.485Z" | ||
"publishedAt": "2023-07-28T14:06:46.425Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
71910
1