You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{createStorage}from"unstorage";importlocalStorageDriverfrom"unstorage/drivers/localstorage";conststorage=createStorage({driver: localStorageDriver({base: "app:"}),});console.log(storage.getKeys())// return all the items of the localstorage
Describe the bug
When localstorage is mounted with a base, the returned keys should be only the keys starting from the base.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
v1.10.1
Reproduction
Describe the bug
When localstorage is mounted with a base, the returned keys should be only the keys starting from the base.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: