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

electrodb

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrodb - npm Package Versions

1
17

2.2.1

Diff

Changelog

Source

[2.2.1] - 2022-11-02

Fixed

  • Addressed GitHub issue #144, root map attributes would set an empty object regardless if the user supplied it.
tywalch
published 2.2.0 •

Changelog

Source

[2.2.0] - 2022-10-31

Added

  • A BIG addition to the library: Clustered Indexes. Clustered indexes allow for Collections to be composed of more similar, homogenous data.
  • The addition of new Entity and Service methods: setTableName, getTableName, setClient, getClient.
tywalch
published 2.1.2 •

Changelog

Source

[2.1.2] - 2022-10-16

Added

  • Now exporting ElectroValidationError and ElectroError as classes, so they can be more easily interrogated/triaged by user error handling.

Fixed

  • On update and patch operations, the data method did not properly apply mutation constraints for required and readOnly. Data will now correctly throw in a similar manner the to individual mutation methods.
tywalch
published 2.1.1 •

Changelog

Source

[2.1.1] - 2022-10-09

Fixed

  • Defect with sort key composition that would treat falsely values as absent attributes.
tywalch
published 2.1.0 •

Changelog

Source

[2.1.0] - 2022-10-02

Added

  • Added a new attribute property padding to aid with zero padding patterns. [read more]
tywalch
published 2.0.0 •

Changelog

Source

[2.0.0] - 2022-09-19 [read more]

Added

  • Additional exported types to match new response structures. [read more]

Changed

  • Changing response structure on all methods to be an object with query results on a data property. [read more]
  • Pagination is now performed via the .go() terminal method, and the LastEvaluatedKey is now returned a string cursor. [read more]
  • The go() terminal method now only queries one page by default. To auto-page (to match functionality prior to this change), pass the query option pages with a value of 'all'. [read more]

Deprecated

  • The boolean query option raw and returnKeys have been deprecated (still accepted for the time being) and replaced with the query option data, which accepts the values 'raw', 'includeKeys', 'attributes' or undefined.

Removed

  • .page() terminal method. All pagination is now done through the .go() method. Queries and scans now return a cursor property (of type "string") to be passed on subsequent pagination requests. [read more]
tywalch
published 1.12.1 •

tywalch
published 1.11.1 •

Changelog

Source

[1.11.1] - 2022-07-06

Fixed

  • Sort keys for queries will now match on equality when all sort key composite attributes are provided in full. Prior to this release, ElectroDB would use begins_with(...) which could potentially result in data leakages if a sort key's value was the starting prefix to another sort key value. [read more]
tywalch
published 1.11.0 •

Changelog

Source

[1.11.0] - 2022-07-04

Added

  • Adding support for "ProjectionExpressions" via the Query Option: attributes [read more]
tywalch
published 1.10.2 •

Changelog

Source

[1.10.2] - 2022-07-02

Fixed

  • Reorganizing type definition files into single file again to appease the frontend dependency overlords in https://electrodb.fun
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