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
importConfigfrom"conf"constconfig=newConfig({migrations: {"2.0.0": store=>store.set("lastSeenVersion","2.0.0")}})config.store={newData: "blabla"}// this will destroy marked migration in __internal__
The text was updated successfully, but these errors were encountered:
The internal key causes some problems, both during write (sindresorhus#114) and at read (can't trust MyStore.keys() or MyStore.values() without omitting __internal__). We should at least export the variable so the client can manually omit it (and at best, provide a more ergonomic pattern—perhaps a WeakMap?)
package.json
"conf": "^7.0.1",
Example:
The text was updated successfully, but these errors were encountered: