Socket
Socket
Sign inDemoInstall

snap-db

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

1.1.6

Diff

clicksimply
published 1.1.5 •

Changelog

Source

[1.1.5] 08-16-2019

  • Readme tweaks.
  • Added exists method.
  • Added any key type support.
clicksimply
published 1.1.4 •

clicksimply
published 1.1.3 •

Changelog

Source

[1.1.3] 08-16-2019

  • Resolved issue #8, ready is called right away if the database is already ready.
  • Resolved issue #10, close does not do a promise reject on subsequent calls.
  • Merged PR #11, added travis CI support to project.
  • Conditionally removed Buffer() calls to suppress warnings in new nodeJS versions.
  • Added Travis CI badge to README.
clicksimply
published 1.1.2 •

Changelog

Source

[1.1.2] 08-14-2019

  • Resolved issue #2, .ready no longer needs to be called to start using the database.
  • Resolved issue #1, added async iterable versions of all looping functions.
  • Resolved issue #3, keys that don't exist will now return undefined on get queries.
  • Resolved issue #5, node will always exit after the database is closed.
  • Cleaned up API to make it more consistent. Old methods are kept around to prevent breaking changes.
  • Major refactoring.
  • Improved documentation and code comments.
  • Added stream api.
  • Added LevelDB methods to make SnapDB API compatible with LevelDB/RocksDB.
clicksimply
published 1.1.1 •

Changelog

Source

[1.1.1] 07-17-2019

  • BREAKING CHANGE Removed old WASM code entirely. If you're migrating from SQLite based install you'll have to install an older version first to migrate.
  • Compaction will now loop until all levels are within the desired limits.
  • More complete handling of different states of manifest.json files.
  • Added optional single threaded mode for improved performance at the cost of blocking behavior.
clicksimply
published 1.1.0 •

Changelog

Source

[1.1.0] 06-24-2019

  • Compaction now takes significantly less memory.
  • Fixed a few issues with level 0 compaction.
  • Memtable now references logfile for reads, reducing memory cost of transactions significantly.
  • Logfile is no longer loaded entirely into memory on database open, reducing memory usage significantly.
clicksimply
published 1.0.9 •

Changelog

Source

[1.0.9] 06-24-2019

  • Fixed issue with manifest delete.
  • Fixed issue with opening existing databases.
  • Fixed issue with log restoring.
  • Fixed issue with memtable updating.
clicksimply
published 1.0.8 •

Changelog

Source

[1.0.8] 06-21-2019

  • Readme tweaks.
  • Added backwards compatibility for breaking change in 1.0.7.
clicksimply
published 1.0.7 •

Changelog

Source

[1.0.7] 06-19-2019

  • BREAKING CHANGE the arguments for the class is now an object.
  • Small performance optimizations.
  • Fixed key type casting in compaction function.
  • Added flushLog method.
  • Added ability to control the databse flushing.
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc