Skip to content

Commit

Permalink
bump 2.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
diego Dupin committed Jan 25, 2022
1 parent f0cd822 commit 42e503f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 21 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [2.5.6](https://github.com/mariadb-corporation/mariadb-connector-nodejs/tree/2.5.6) (Jan 2022)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-nodejs/compare/2.5.5...2.5.6)

* [CONJS-181] Local infile file validation doesn't take in account escaped value
* [CONJS-183] change default connection timeout value 1 second to permit pools to send correct error
* update documentation with for-await-of use #189
* correct character_set_client unexpect error parsing OK_Packet #177

## [2.5.5](https://github.com/mariadb-corporation/mariadb-connector-nodejs/tree/2.5.5) (19 Oct 2021)
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-nodejs/compare/2.5.4...2.5.5)

Expand Down
13 changes: 7 additions & 6 deletions benchmarks/common_benchmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

const Benchmark = require('benchmark');
const conf = require('../test/conf');
const chalk = require('chalk');

const colors = require('colors');
const mariadb = require('../promise');
const callbackMariadb = require('../callback');

Expand Down Expand Up @@ -287,10 +287,11 @@ Bench.prototype.displayReport = function () {

console.log('');
console.log('');
console.log('--- BENCHMARK RESULTS ---'.yellow);
console.log(chalk.yellow('--- BENCHMARK RESULTS ---'));
console.log(
'/* travis bench are not to take as is, because VM might run some other testing script that can change results */'
.gray
chalk.gray(
'/* travis bench are not to take as is, because VM might run some other testing script that can change results */'
)
);

const keys = Object.keys(this.reportData);
Expand Down Expand Up @@ -328,9 +329,9 @@ Bench.prototype.displayReport = function () {
: ' ( ' + this.fill((val > 0 ? '+' : '') + perc, 6, false) + '% )');
if (o.drvType.includes('mariadb')) {
if (o.iteration < best) {
console.log(tt.red);
console.log(chalk.red(tt));
} else {
console.log(tt.green);
console.log(chalk.green(tt));
}
} else {
console.log(tt);
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mariadb",
"version": "2.5.5",
"version": "2.5.6",
"description": "fast mariadb/mysql connector.",
"main": "promise.js",
"types": "types/index.d.ts",
Expand Down Expand Up @@ -45,32 +45,32 @@
"author": "Diego Dupin <diego.dupin@mariadb.com>",
"license": "LGPL-2.1-or-later",
"dependencies": {
"@types/geojson": "^7946.0.7",
"@types/node": "^14.14.28",
"denque": "^1.5.0",
"@types/geojson": "^7946.0.8",
"@types/node": "^17.0.10",
"denque": "^2.0.1",
"iconv-lite": "^0.6.3",
"long": "^4.0.0",
"moment-timezone": "^0.5.33",
"long": "^5.2.0",
"moment-timezone": "^0.5.34",
"please-upgrade-node": "^3.2.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"benchmark": "^2.1.4",
"chai": "^4.3.4",
"codecov": "^3.8.2",
"colors": "^1.4.0",
"chalk": "^4.1.2",
"dom-parser": "^0.1.6",
"error-stack-parser": "^2.0.6",
"eslint": "^7.28.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-markdown": "^2.2.0",
"eslint-plugin-prettier": "^3.4.0",
"mocha": "^8.3.0",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"prettier": "^2.3.1",
"typescript": "^4.1.5"
"prettier": "^2.5.1",
"typescript": "^4.5.5"
},
"bugs": {
"url": "https://jira.mariadb.org/projects/CONJS/"
Expand Down

0 comments on commit 42e503f

Please sign in to comment.