You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-json-db

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-json-db - npm Package Versions

13456

2.0.0

Diff
b
belphemur
published 2.0.0 •

Changelog

Source

2.0.0 (2022-08-01)

Bug Fixes

  • Array: Fix array not properly async (26355b0)
  • HumanReadable: Fix missing humanreadable (13e51d9)
  • JsonAdapter: Don't override the data property (817c581)

Features

  • Adapter: Add concept of adapter to read and write data (fcea4bb)
  • Adapter: Let the user decide what adapter to use if they want to tweak the inner working (c8f264b), closes #448
  • Async: All the method are now async/await (ab63e82), closes #171
  • Async: Make the whole library async (764cdf4), closes #444
  • AtomicFileAdapter: Add support for fsync (4a51239)
  • Configuration: Force giving a config object to the constructor (002a72a)

BREAKING CHANGES

  • Async: Every method of the library is now async and returns a promise.
  • Configuration: We now need to receive the JsonDBConfig object in the constructor
b
belphemur
published 1.6.0 •

Changelog

Source

1.6.0 (2022-06-30)

Features

b
belphemur
published 1.5.0 •

Changelog

Source

1.5.0 (2022-03-11)

Features

  • FSYNC: Optional fsync when saving the database (d1c67fd), closes #372
b
belphemur
published 1.4.1 •

Changelog

Source

1.4.1 (2021-09-22)

Bug Fixes

  • Docs: Be sure the doc contains Config (d626568)
b
belphemur
published 1.4.0 •

Changelog

Source

1.4.0 (2021-09-13)

Features

  • GetIndexValue: Get index of a value in an array (d56de61), closes #191
b
belphemur
published 1.3.0 •

Changelog

Source

1.3.0 (2021-03-07)

Features

  • typing: Add basic typing to the lib for TS (5309e9e)
b
belphemur
published 1.2.1 •

Changelog

Source

1.2.1 (2021-03-07)

Bug Fixes

  • getIndex: Improve documentation (9951c6d)
b
belphemur
published 1.2.0 •

Changelog

Source

1.2.0 (2021-03-07)

Bug Fixes

  • Convention: Fixed quotes (dd4494c)
  • README: Update documentation (b0f8ad4)

Features

  • filename: Support non json file extensions (e219124)
  • getIndex: Support Numerical id (6a8ee73)
b
belphemur
published 1.1.0 •

Changelog

Source

1.1.0 (2020-04-23)

Features

b
belphemur
published 1.0.3 •

Changelog

Source

1.0.3 (2019-12-11)

Bug Fixes

  • Array: Support dot and number in name (d4ce40a), closes #95