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
{{ message }}
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.
I was using the jfs v0.2.6 from npm and everything was going well until I updated to v0.3.0
Now I can no longer do the following:
const Store = require('jfs');
const store = new Store('config.json', { type: 'single', pretty: true });
store.save('stringItem', 'asdf');
store.get('stringItem', console.log); // Error: could not load data
It appears that between the two versions items in the store have started to be checked for whether they are objects or not, where they used to be checked for null only.
The text was updated successfully, but these errors were encountered:
I was using the jfs v0.2.6 from npm and everything was going well until I updated to v0.3.0
Now I can no longer do the following:
It appears that between the two versions items in the store have started to be checked for whether they are objects or not, where they used to be checked for null only.
The text was updated successfully, but these errors were encountered: