mysql2 3.7.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/connection.js CHANGED
@@ -362,6 +362,9 @@ class Connection extends EventEmitter {
362
362
  const secureSocket = Tls.connect({
363
363
  rejectUnauthorized,
364
364
  requestCert: rejectUnauthorized,
365
+ checkServerIdentity: verifyIdentity
366
+ ? Tls.checkServerIdentity
367
+ : function() { return undefined; },
365
368
  secureContext,
366
369
  isServer: false,
367
370
  socket: this.stream,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql2",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
5
5
  "main": "index.js",
6
6
  "typings": "typings/mysql/index",
@@ -70,7 +70,7 @@
70
70
  "@typescript-eslint/parser": "^5.42.1",
71
71
  "assert-diff": "^3.0.2",
72
72
  "benchmark": "^2.1.4",
73
- "c8": "^8.0.0",
73
+ "c8": "^9.0.0",
74
74
  "error-stack-parser": "^2.0.3",
75
75
  "eslint": "^8.27.0",
76
76
  "eslint-config-prettier": "^9.0.0",