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.3.0

Diff

Changelog

Source

[2.3.0] - 2022-11-22

Added

  • Adding new update method: upsert. Upsert is similar to put in that it will create a record if one does not exist, except upsert perform an update if that record already exists.
tywalch
published 2.2.6 •

Changelog

Source

[2.2.6] - 2022-11-10

Fixed

  • Addressed issue where scans would incorrectly accumulate filters across usages
tywalch
published 2.2.5 •

Changelog

Source

[2.2.5] - 2022-11-09

Fixed

  • Addressed issue#172, where clause mishandling of nested attribute references
tywalch
published 2.2.4 •

Changelog

Source

[2.2.4] - 2022-11-06

Fixed

  • Addressed issue#162: attribute validation functions were not invoked when updating through the data method.
  • Conditional filters can now be added to get operations. DynamoDB get does not allow for filtering but the TransactWrite/TransactGet methods allow for ConditionCheck which is essentially get + conditions.
tywalch
published 2.2.3 •

Changelog

Source

[2.2.3] - 2022-11-05

Remove

  • Backed out the response typing change added in 2.2.2. The type of record coming back from an update is more complex than one might expect. Because update operations can result in a record insert, the response type is not necessarily a TableItem. I am backing out this change for now until I can be more sure of an appropriate typing.

Added

  • New function to help with Custom Types: CustomAttributeType. This replaces createCustomAttribute (now depreciated) because of the unfortunate widening caused by the initial implementation. [read more)]

Deprecated

  • The function createCustomAttribute is now deprecated. The function still operates as it did, though any changes related to Custom Attribute types will see development focused on CustomAttributeType rather than this function.
tywalch
published 2.2.2 •

Changelog

Source

[2.2.2] - 2022-11-04

Added

  • (since rolled back) ~The return type from an update/patch call now returns an Entity item when all_new or all_old response options are passed~
tywalch
published 2.2.1 •

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.
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