Snyk has created this PR to upgrade localforage from 1.7.3 to 1.10.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 5 versions ahead of your current version.
The recommended version was released on 3 years ago.
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.
This was shipped as a minor release as it has the potential to break TypeScript checks that weren't checking for a null return value from getItem. Note that this version otherwise introduces no new features, so you can upgrade later when you're ready to fix code to check for null return values for getItem calls.
Use openKeyCursor instead of openCursor for key() retrieval. Props to @ MeMark2 for the fix, and thanks to @ lincolnthree and @ f for additional testing!
Snyk has created this PR to upgrade localforage from 1.7.3 to 1.10.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 5 versions ahead of your current version.
The recommended version was released on 3 years ago.
Release notes
Package name: localforage
dropInstance
. You can now catch errors thrown bydropInstance
, see #807.getItem
. It now notes thatgetItem
can returnnull
, so this change may cause TypeScript code that didn't account fornull
values to fail. See #980.This was shipped as a minor release as it has the potential to break TypeScript checks that weren't checking for a
null
return value fromgetItem
. Note that this version otherwise introduces no new features, so you can upgrade later when you're ready to fix code to check fornull
return values forgetItem
calls.chore: Release 1.8.1
No changes to code, but added a
module
field inpackage.json
for better ESM support. See: #940.openKeyCursor
instead ofopenCursor
forkey()
retrieval. Props to @ MeMark2 for the fix, and thanks to @ lincolnthree and @ f for additional testing!This release adds an
.npmignore
file to reduce the package size of localForage when installed via NPM. That's it! πNote: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: