mysql2
Advanced tools
Comparing version 3.10.0 to 3.10.1
@@ -5,3 +5,3 @@ 'use strict'; | ||
const parserCache = new LRU({ | ||
let parserCache = new LRU({ | ||
max: 15000, | ||
@@ -55,3 +55,3 @@ }); | ||
function setMaxCache(max) { | ||
parserCache.max = max; | ||
parserCache = new LRU({ max }); | ||
} | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "mysql2", | ||
"version": "3.10.0", | ||
"version": "3.10.1", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -76,3 +76,3 @@ "main": "index.js", | ||
"benchmark": "^2.1.4", | ||
"c8": "^9.0.0", | ||
"c8": "^10.1.1", | ||
"error-stack-parser": "^2.0.3", | ||
@@ -79,0 +79,0 @@ "eslint": "^8.27.0", |
710311