New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

electrodb

Package Overview
Dependencies
Maintainers
0
Versions
169
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.1.0

Diff

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
tywalch
published 1.10.1 •

Changelog

Source

[1.10.1] - 2022-06-30

Fixed

  • Exported additional types
tywalch
published 1.10.0 •

Changelog

Source

[1.10.0] - 2022-06-29

Fixed

  • TypeScript 4.7 introduced changes that caused type inference issues with the Entity, Service, and exposed types. A re-vamp of some typing was done to rectify these issues, new tests and existing tests were made work with the latest versions of TypeScript and tsd.

Changed

  • Project now is more deliberate about the types exposed via the package. This is because I have moved away from a single type definition file (which by default exports all types). If you had a dependency on a type that used to be exposed, open a ticket and I can expose it. In the future exposed types will be the only types officially supported by semver.
tywalch
published 1.9.0 •

Changelog

Source

[1.9.0] - 2022-06-18

Added

  • Add new batchGet query option, preserveBatchOrder, which will ensure the order returned by a batchGet will be the same as the order provided. [read more]
tywalch
published 1.8.4 •

Changelog

Source

[1.8.4] - 2022-05-18

Changed

  • Removing validation that an attribute used for one index cannot be used by another. ElectroDB will now simply validate that all composite attributes associated with an indexed field are identical, and that a field is not used as both a PK and SK in separate indexes. This change allows for LSIs to be used with ElectroDB
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