From a898213d9760c76a0012e0cf6004d9b004e62dda Mon Sep 17 00:00:00 2001 From: rusher Date: Thu, 21 Nov 2019 12:38:04 +0100 Subject: [PATCH] [misc] bump dependencies --- lib/misc/parse.js | 6 ++++-- package.json | 18 +++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/misc/parse.js b/lib/misc/parse.js index f22526a3..6bbf1acd 100644 --- a/lib/misc/parse.js +++ b/lib/misc/parse.js @@ -413,7 +413,8 @@ module.exports.splitRewritableQuery = function(sql) { //field/table name might contain 'select' if ( idx > 1 && - sql.charAt(idx - 2) > ' ' && '();><=-+,'.indexOf(sql.charAt(idx - 2)) === -1 + sql.charAt(idx - 2) > ' ' && + '();><=-+,'.indexOf(sql.charAt(idx - 2)) === -1 ) { break; } @@ -859,7 +860,8 @@ module.exports.splitRewritableNamedParameterQuery = function(sql, initialValues) //field/table name might contain 'select' if ( idx > 1 && - sql.charAt(idx - 2) > ' ' && '();><=-+,'.indexOf(sql.charAt(idx - 2)) === -1 + sql.charAt(idx - 2) > ' ' && + '();><=-+,'.indexOf(sql.charAt(idx - 2)) === -1 ) { break; } diff --git a/package.json b/package.json index ceac7a27..9fcab4f8 100644 --- a/package.json +++ b/package.json @@ -46,30 +46,30 @@ "license": "LGPL-2.1+", "dependencies": { "@types/geojson": "^7946.0.7", - "@types/node": "^12.12.9", + "@types/node": "^12.12.11", "denque": "^1.4.1", "iconv-lite": "^0.5.0", "long": "^4.0.0", "moment-timezone": "^0.5.27" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^2.1.0", - "@typescript-eslint/parser": "^2.1.0", + "@typescript-eslint/eslint-plugin": "^2.8.0", + "@typescript-eslint/parser": "^2.8.0", "benchmark": "^2.1.4", "chai": "^4.2.0", "codecov": "^3.5.0", "colors": "^1.4.0", "dom-parser": "^0.1.6", "error-stack-parser": "^2.0.3", - "eslint": "^6.3.0", - "eslint-config-prettier": "^6.2.0", - "eslint-plugin-markdown": "^1.0.0", + "eslint": "^6.6.0", + "eslint-config-prettier": "^6.7.0", + "eslint-plugin-markdown": "^1.0.1", "eslint-plugin-prettier": "^3.1.0", - "mocha": "^6.2.0", + "mocha": "^6.2.2", "mocha-lcov-reporter": "^1.3.0", "nyc": "^14.1.1", - "prettier": "^1.18.2", - "typescript": "^3.5.3" + "prettier": "^1.19.1", + "typescript": "^3.7.2" }, "bugs": { "url": "https://jira.mariadb.org/projects/CONJS/"