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

@janiscommerce/database-dispatcher

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@janiscommerce/database-dispatcher - npm Package Versions

2.0.1

Diff

Changelog

Source

[2.0.1] - 2020-04-03

Added

  • Original error message when can't create the DB Driver instance
janiscommerce
published 2.0.0 •

Changelog

Source

[2.0.0] - 2019-09-11

Added

  • getDatabaseByClient() method to return database instance from a client object

Changed

  • Settings to map aliases from client object
  • Settings to have a default database, databaseWriteType
  • Cache now stores by config properties

Deprecated

  • ENV vars configs

Removed

  • Database Validation for host, port, database
  • DBDrivers support limitation
janiscommerce
published 1.4.0 •

Changelog

Source

[1.4.0] - 2019-08-21

Added

  • elasticsearch DBDriver support

Changed

  • Database is now required or optional per DB Type
janiscommerce
published 1.3.3 •

Changelog

Source

[1.3.3] - 2019-07-17

Fixed

  • Updated Settings package to use correct settings path
janiscommerce
published 1.3.2 •

Changelog

Source

[1.3.2] - 2019-07-15

Fixed

  • Fixed cacheKey for database connections
janiscommerce
published 1.3.1 •

Changelog

Source

[1.3.1] - 2019-07-05

Fixed

  • DBDriver instance
janiscommerce
published 1.3.0 •

Changelog

Source

[1.3.0] - 2019-07-05

Added

  • Settings package for key 'database'
janiscommerce
published 1.2.0 •

Changelog

Source

[1.2.0] - 2019-07-04

Added

  • ENV vars for configs

Changed

  • tests big refactor
janiscommerce
published 1.1.0 •

Changelog

Source

[1.1.0] - 2019-06-18

  • lib folder into package.json files

Changed

  • Changed modules files folder into lib
janiscommerce
published 1.0.0 •

Changelog

Source

[1.0.0] - 2019-06-13

Added

  • Database dispatcher package
  • Unit tests
  • Docs
  • badges in Readme
  • Error handling - Invalid config error
  • Error handling - Invalid db type in config error
  • Config validation methods
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