neo4j-driver-core
Advanced tools
Comparing version 4.4.0-beta02 to 4.4.0
@@ -133,6 +133,9 @@ "use strict"; | ||
if (connection) { | ||
return connection | ||
.resetAndFlush() | ||
.catch(ignoreError) | ||
.then(function () { return connection._release(); }); | ||
if (connection.isOpen()) { | ||
return connection | ||
.resetAndFlush() | ||
.catch(ignoreError) | ||
.then(function () { return connection._release(); }); | ||
} | ||
return connection._release(); | ||
} | ||
@@ -139,0 +142,0 @@ else { |
@@ -318,4 +318,6 @@ "use strict"; | ||
/** | ||
* Sets the resolved database name in the session context. | ||
* @private | ||
* @param {string|undefined} database The resolved database name | ||
* @returns {void} | ||
*/ | ||
@@ -322,0 +324,0 @@ Session.prototype._onDatabaseNameResolved = function (database) { |
{ | ||
"name": "neo4j-driver-core", | ||
"version": "4.4.0-beta02", | ||
"version": "4.4.0", | ||
"description": "Internals of neo4j-driver", | ||
@@ -42,3 +42,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "cf2272c39d5038f42391a09646ac8241f00b81e5" | ||
"gitHead": "473235e64579ecd32e46510de9a8d9b8b83c63e6" | ||
} |
@@ -133,4 +133,6 @@ import Result from './result'; | ||
/** | ||
* Sets the resolved database name in the session context. | ||
* @private | ||
* @param {string|undefined} database The resolved database name | ||
* @returns {void} | ||
*/ | ||
@@ -137,0 +139,0 @@ _onDatabaseNameResolved(database?: string): void; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
426488
10578
0