localforage
Advanced tools
Comparing version 1.8.1 to 1.9.0
@@ -26,3 +26,3 @@ { | ||
}, | ||
"version": "1.8.1" | ||
"version": "1.9.0" | ||
} |
@@ -6,2 +6,6 @@ # About this CHANGELOG | ||
### [1.9.0](https://github.com/mozilla/localForage/releases/tag/1.9.0) | ||
* Fixed TypeScript definition for `getItem`. It now notes that `getItem` can return `null`, so this change may cause TypeScript code that didn't account for `null` values to fail. See #980. | ||
### [1.8.1](https://github.com/mozilla/localForage/releases/tag/1.8.1) | ||
@@ -8,0 +12,0 @@ |
{ | ||
"name": "localforage", | ||
"version": "1.8.1", | ||
"version": "1.9.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "then/promise": "5.0.0" |
/*! | ||
localForage -- Offline Storage, Improved | ||
Version 1.8.1 | ||
Version 1.9.0 | ||
https://localforage.github.io/localForage | ||
@@ -5,0 +5,0 @@ (c) 2013-2017 Mozilla, Apache License 2.0 |
/*! | ||
localForage -- Offline Storage, Improved | ||
Version 1.8.1 | ||
Version 1.9.0 | ||
https://localforage.github.io/localForage | ||
@@ -5,0 +5,0 @@ (c) 2013-2017 Mozilla, Apache License 2.0 |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "1.8.1", | ||
"version": "1.9.0", | ||
"homepage": "https://github.com/localForage/localForage", | ||
@@ -15,0 +15,0 @@ "repository": { |
@@ -7,3 +7,3 @@ # localForage | ||
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/localforage/badge?style=rounded)](https://www.jsdelivr.com/package/npm/localforage) | ||
[![minzipped size](https://badgen.net/bundlephobia/minzip/localforage)](https://bundlephobia.com/result?p=localforage@1.8.1) | ||
[![minzipped size](https://badgen.net/bundlephobia/minzip/localforage)](https://bundlephobia.com/result?p=localforage@1.9.0) | ||
@@ -10,0 +10,0 @@ localForage is a fast and simple storage library for JavaScript. localForage |
@@ -18,3 +18,3 @@ interface LocalForageDbInstanceOptions { | ||
interface LocalForageDbMethodsCore { | ||
getItem<T>(key: string, callback?: (err: any, value: T) => void): Promise<T>; | ||
getItem<T>(key: string, callback?: (err: any, value: T | null) => void): Promise<T | null>; | ||
@@ -21,0 +21,0 @@ setItem<T>(key: string, value: T, callback?: (err: any, value: T) => void): Promise<T>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1775993