Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lokijs

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lokijs - npm Package Versions

13
10

1.5.2

Diff

Changelog

Source

1.5.2

  • fixed error when transform steps have non-serializable parameters (#624)
  • addCollection will return existing collection when collection named already exists (#635)
  • batch updates when not cloning no longer risk invalidating adaptive binary indices (#639)
  • fixed autosave race condition when using async adapter (#643)
  • collection option added to disableMeta if not using changes api or ttl (#644)
techfort
published 1.5.1 •

Changelog

Source

1.5.1

  • added disableDeltaChangesApi (default:true) collection option to store only differences. (#582)
  • loki indexed adapter deleteDatabase method will now wait until complete before callback (#584)
  • fixed clone methods correctly assigning object prototypes (#586)
  • partitioning adapter and memory adapter no longer throw error when database doesn't exist (yet)
  • simplesort and compoundsort now support sorting on nested properties via dot-notation (#574)
  • added support for binary indices on nested properties (#574)
  • fixed jsdoc syntax error causing vscode to crash (#614)
  • fixed error when using partitioning adapter with nativescript adapter (#615)
  • added optional 'dataOptions' to eqJoin and map (chain/transform) (see #618)
techfort
published 1.5.0 •

Changelog

Source

1.5.0

  • refactored binary indices sorting order
  • date values in properties with binary index will be converted to epoch time
  • fix to LokiFsStructuredAdapter first time autoload error where file doesn't exist yet
  • fixed simplesort descending with binary indices and no filters
  • with 'clone' option collection 'insert' events no longer emit internal obj reference
  • fix to clone method 'shallow'
  • added 'removeMeta' option to chained data calls to shallow clone and remove $loki and meta
  • added quickstart examples for node and updated loki sandbox with online web quickstarts
  • fixes to async unit tests
  • npm release trimmed from 5 megs to 500k (no examples, jsdocs, tests)
techfort
published 1.4.3 •

Changelog

Source

1.4.3

  • added throttled saves and loads (enabled by default) to ensure no overlapping calls
  • unfiltered simplesorts can leverage binary index
  • collection.clear now clears indices correctly
  • fix to LokiPartitioning adapter resetting maxId across saves
  • meta set correctly on batch inserts
  • LokiMemoryAdapter now configurable to simulate async
  • fix changesApi not enabled after loading database
techfort
published 1.4.2 •

Changelog

Source

1.4.2

  • added 'adaptiveBinaryIndices' option to collections (default true) to avoid rebuilds on inserts/updates/removes
  • added higher performance LokiFsStructuredAdapter for node
  • added destructured serialization methods for partitioning and exporting
  • added 'addListener' method alias of 'on' method
  • LokiFsAdapter doesn't throw exception when file doesn't exist (yet)
  • fix for circular structure error when setting ttl
  • fix unit testing on windows
  • experimental implementation of an incremental adapter
techfort
published 1.4.1 •

Changelog

Source

1.4.1

  • minor fixes
  • updated jsdoc coverage
techfort
published 1.4.0 •

Changelog

Source

1.4.0

  • fixes to loki indexed adapter
  • added nativescript adapter
  • added $aeq, $contains, $containsAny, $ne
  • fix unique index update with new object
  • expose persistence adapters to module export
  • fix to loki-crypted-file-adapter
techfort
published 1.3.19 •

techfort
published 1.3.18 •

techfort
published 1.3.17 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc