fix(deps): update dependency lowdb to v6 - autoclosed #192
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.0
->^6.0.0
Release Notes
typicode/lowdb (lowdb)
v6.1.1
Compare Source
JSONPreset
andJSONSyncPreset
v6.1.0
Compare Source
New presets
Before
Now
This will also use the
Memory
adapter automatically whenNODE_ENV=test
making tests faster.TypeScript
Lowdb now supports the broader
fs.PathLike
type which lets you useURL
type in addition tostring
. This is useful for ESM.v6.0.1
Compare Source
What's Changed
New Contributors
Full Changelog: typicode/lowdb@v6.0.0...v6.0.1
v6.0.0
Compare Source
What's Changed
defaultData
parameter forLow
andLowSync
constructors to improve TypeScript experienceHow to upgrade:
If you like lowdb, please sponsor my work. If you cannot, a star or tweet is always appreciated.
Thank you!
v5.1.0
Compare Source
What's Changed
New Contributors
Full Changelog: typicode/lowdb@v5.0.4...v5.1.0
v5.0.5
Compare Source
v5.0.3
Compare Source
v5.0.2
Compare Source
v5.0.1
Compare Source
v5.0.0
Compare Source
Better support for front-end tools like Vite, CodeSandbox, ...
To achieve this, Node and Browser (localStorage) adapters are now split in two.
Besides that, there are no other breaking changes.
Node
lowdb/node
exportsJSONFile
,JSONFileSync
,TextFile
andTextFileSync
.Browser
lowdb/browser
exportsLocalStorage
.v4.0.1
Compare Source
v4.0.0
Compare Source
v3.0.0
Compare Source
#
instead of TypeScriptprivate
keyword for adaptersMany thanks to Mockend and everyone on GitHub Sponsors for supporting this project ❤️ 🦉
v2.1.0
Compare Source
TextFile
andTextFileSync
adapters to simplify writing to different formats (YAML, XML, ...) and make encryption easier.v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
db.data
To help with OSS funding, lowdb v2 is released under Parity license for a limited time. It'll be released under MIT license once the goal of 100 sponsors is reached (currently at 55) or in five months. See README for complete explanation.
You can sponsor me on GitHub Sponsors.
Thank you!
Migrate
Lowdb v1
Lowdb v2
If you're using TypeScript, data can now be typed:
To continue using lodash with lowdb:
Breaking changes
The following methods and properties have been removed:
db.getState
(usedb.data
instead)db.setState
(usedb.data = ...
instead)db._
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.