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

mariadb

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mariadb - npm Package Versions

1235

2.1.4

Diff

Changelog

Source

2.1.4 (02 Dec. 2019)

Full Changelog

  • CONJS-112 use pool reset only for corrected COM_RESET_CONNECTION
  • CONJS-111 missing pool event definition
  • dependencies update
rusher
published 2.1.3 •

Changelog

Source

2.1.3 (14 Nov. 2019)

Full Changelog

  • CONJS-109 Missing mysql only collation definition
  • CONJS-108 typescript escape/escapeId definition
  • CONJS-107 Change user callback function not called when no option is set and changing collation only if collation option is correct
  • CONJS-106 properly escape boolean parameter false
  • CONJS-105 Typecast provided date function erroneous parsing
  • CONJS-104 Pam authentication must permit to provide multiple passwords

misc:

  • better cluster error when pool is full
  • adding test coverage
rusher
published 2.1.2 •

Changelog

Source

2.1.2 (17 Oct. 2019)

Full Changelog

Implemented enhancements:

  • CONJS-101 Escape functions API
  • CONJS-100 Improve performance using reusable Object type for column definition result
  • CONJS-102 Expose library version to API

Use milestone to specify in which version bug was fixed #22 Fixed bugs:

  • CONJS-96 TypeScript definition typecast correction
  • CONJS-95 Pool idle maintainer error
  • CONJS-98 Missing collation option in typescript definition
  • CONJS-99 Improve documentation for best practice concerning credential
  • CONJS-97 Remove coverage comment on github pull request
rusher
published 2.1.1 •

Changelog

Source

2.1.1 (06 Sep. 2019)

Full Changelog

  • node.je v12 CI testing
  • cluster ordered selector bug fix on failover (thanks to @kkx)
  • bump dependencies
  • documentation update with node.js v12 minimum TLSv1.2 default support
  • connection.reset() error message improvement (and documentation)
  • small performance improvement when debug not enable
rusher
published 2.1.0 •

Changelog

Source

2.1.0 (11 Jul. 2019)

Full Changelog

  • [CONJS-19] implement Ed25519 plugin
  • [CONJS-57] Multiple alternative authentication methods for the same user
  • [CONJS-61] Permit handling expired password
  • [CONJS-85] Implement pool events according to mysql/mysql2 API
  • [CONJS-87] Array parameter automatic conversion
  • [CONJS-88] Charset collation option mismatch
  • [CONJS-89] Performance improvement on decoding string
  • [CONJS-74] Types definition must be string, not byte
  • [CONJS-75] Missing import dependencies for typeScript
  • [CONJS-79] Read errors while processing LOCAL INFILE causes process crash
  • [CONJS-83] Add poolCluster 'remove' event
  • [CONJS-84] option restoreNodeTimeout is not respected when removeNodeErrorCount is set
  • [CONJS-73] Setting timezone to current IANA might provoque server automatic retrieval

New Options

|option|description|type|default| |---:|---|:---:|:---:| | collation | (used in replacement of charset) Permit to defined collation used for connection. This will defined the charset encoding used for exchanges with database and defines the order used when comparing strings. It's mainly used for micro-optimizations|string |UTF8MB4_UNICODE_CI| | permitConnectionWhenExpired | Permit a user with expired password to connect. Only possible operation in this case will be to change password ('SET PASSWORD=PASSWORD('XXX')')|boolean |false|

rusher
published 2.0.5 •

Changelog

Source

2.0.5 (10 May 2019)

Full Changelog

  • [CONJS-71] TypeScript definition is not exported
rusher
published 2.0.4 •

Changelog

Source

2.0.4 (07 May 2019)

Full Changelog

  • [CONJS-69] permit set numeric parameter bigger than javascript 2^53-1 limitation
  • [CONJS-68] error when reading datetime data and timezone option is set
  • [CONJS-58] parse Query when receiving LOAD LOCAL INFILE, to prevent man in the middle attack
  • [CONJS-62] support named timezones and daylight savings time
  • [CONJS-63] add type definitions for typescript
  • [CONJS-64] handle Error packet during resultset to permit query timeout with SET STATEMENT max_statement_time=<val> FOR <query>
  • [CONJS-66] SET datatype handling (returning array)
  • [CONJS-67] Changing user does not takes in account connector internal state (transaction status)
Pool improvement

New Options

|option|description|type|default| |---:|---|:---:|:---:| | idleTimeout | Indicate idle time after which a pool connection is released. Value must be lower than @@wait_timeout. In seconds (0 means never release) |integer | 1800 | | minimumIdle | Permit to set a minimum number of connection in pool. Recommendation is to use fixed pool, so not setting this value.|integer | set to connectionLimit value |

This permits to set a minimum pool size, meaning that after a period of inactivity, pool will decrease inner number of connection to a minimum number of connection (defined with minimumIdle). By default, connections not used after idleTimeout (default to 30 minutes) will be discarded, avoiding reaching server @@wait_timeout.

Pool handle connection creation automatically, with now some delayed after failing to establish a connection, to avoid using CPU unnecessary. Authentication error in pool have now a better handling.

rusher
published 2.0.3 •

Changelog

Source

2.0.3 (30 Jan. 2019)

Full Changelog

  • [CONJS-56] TypeError: Cannot read property 'totalConnections' of undefined
  • [CONJS-59] pool now throw ER_ACCESS_DENIED_ERROR in place of basic timeout error
  • [CONJS-60] handling pipe error for stream, avoiding hang in case of pipe error.
  • [CONJS-55] Connector throw an error when using incompatible options
rusher
published 2.0.2-rc •

Changelog

Source

2.0.2-rc - 11-12-2018

rusher
published 2.0.1-beta •

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