Skip to content

Commit 42e503f

Browse files
author
diego Dupin
committed
bump 2.5.6
1 parent f0cd822 commit 42e503f

File tree

3 files changed

+30
-21
lines changed

3 files changed

+30
-21
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [2.5.6](https://github.com/mariadb-corporation/mariadb-connector-nodejs/tree/2.5.6) (Jan 2022)
4+
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-nodejs/compare/2.5.5...2.5.6)
5+
6+
* [CONJS-181] Local infile file validation doesn't take in account escaped value
7+
* [CONJS-183] change default connection timeout value 1 second to permit pools to send correct error
8+
* update documentation with for-await-of use #189
9+
* correct character_set_client unexpect error parsing OK_Packet #177
10+
311
## [2.5.5](https://github.com/mariadb-corporation/mariadb-connector-nodejs/tree/2.5.5) (19 Oct 2021)
412
[Full Changelog](https://github.com/mariadb-corporation/mariadb-connector-nodejs/compare/2.5.4...2.5.5)
513

benchmarks/common_benchmarks.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
const Benchmark = require('benchmark');
44
const conf = require('../test/conf');
5+
const chalk = require('chalk');
56

6-
const colors = require('colors');
77
const mariadb = require('../promise');
88
const callbackMariadb = require('../callback');
99

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

288288
console.log('');
289289
console.log('');
290-
console.log('--- BENCHMARK RESULTS ---'.yellow);
290+
console.log(chalk.yellow('--- BENCHMARK RESULTS ---'));
291291
console.log(
292-
'/* travis bench are not to take as is, because VM might run some other testing script that can change results */'
293-
.gray
292+
chalk.gray(
293+
'/* travis bench are not to take as is, because VM might run some other testing script that can change results */'
294+
)
294295
);
295296

296297
const keys = Object.keys(this.reportData);
@@ -328,9 +329,9 @@ Bench.prototype.displayReport = function () {
328329
: ' ( ' + this.fill((val > 0 ? '+' : '') + perc, 6, false) + '% )');
329330
if (o.drvType.includes('mariadb')) {
330331
if (o.iteration < best) {
331-
console.log(tt.red);
332+
console.log(chalk.red(tt));
332333
} else {
333-
console.log(tt.green);
334+
console.log(chalk.green(tt));
334335
}
335336
} else {
336337
console.log(tt);

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mariadb",
3-
"version": "2.5.5",
3+
"version": "2.5.6",
44
"description": "fast mariadb/mysql connector.",
55
"main": "promise.js",
66
"types": "types/index.d.ts",
@@ -45,32 +45,32 @@
4545
"author": "Diego Dupin <[email protected]>",
4646
"license": "LGPL-2.1-or-later",
4747
"dependencies": {
48-
"@types/geojson": "^7946.0.7",
49-
"@types/node": "^14.14.28",
50-
"denque": "^1.5.0",
48+
"@types/geojson": "^7946.0.8",
49+
"@types/node": "^17.0.10",
50+
"denque": "^2.0.1",
5151
"iconv-lite": "^0.6.3",
52-
"long": "^4.0.0",
53-
"moment-timezone": "^0.5.33",
52+
"long": "^5.2.0",
53+
"moment-timezone": "^0.5.34",
5454
"please-upgrade-node": "^3.2.0"
5555
},
5656
"devDependencies": {
57-
"@typescript-eslint/eslint-plugin": "^4.15.1",
58-
"@typescript-eslint/parser": "^4.15.1",
57+
"@typescript-eslint/eslint-plugin": "^5.10.0",
58+
"@typescript-eslint/parser": "^5.10.0",
5959
"benchmark": "^2.1.4",
6060
"chai": "^4.3.4",
6161
"codecov": "^3.8.2",
62-
"colors": "^1.4.0",
62+
"chalk": "^4.1.2",
6363
"dom-parser": "^0.1.6",
6464
"error-stack-parser": "^2.0.6",
65-
"eslint": "^7.28.0",
65+
"eslint": "^8.7.0",
6666
"eslint-config-prettier": "^8.3.0",
67-
"eslint-plugin-markdown": "^2.2.0",
68-
"eslint-plugin-prettier": "^3.4.0",
69-
"mocha": "^8.3.0",
67+
"eslint-plugin-markdown": "^2.2.1",
68+
"eslint-plugin-prettier": "^4.0.0",
69+
"mocha": "^9.2.0",
7070
"mocha-lcov-reporter": "^1.3.0",
7171
"nyc": "^15.1.0",
72-
"prettier": "^2.3.1",
73-
"typescript": "^4.1.5"
72+
"prettier": "^2.5.1",
73+
"typescript": "^4.5.5"
7474
},
7575
"bugs": {
7676
"url": "https://jira.mariadb.org/projects/CONJS/"

0 commit comments

Comments
 (0)