Socket
Socket
Sign inDemoInstall

neo4j-driver-bolt-connection

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neo4j-driver-bolt-connection - npm Package Compare versions

Comparing version 4.3.4 to 4.3.5

7

lib/bolt/bolt-protocol-v1.js

@@ -73,2 +73,9 @@ "use strict";

});
Object.defineProperty(BoltProtocol.prototype, "currentFailure", {
get: function () {
return this._responseHandler.currentFailure;
},
enumerable: false,
configurable: true
});
/**

@@ -75,0 +82,0 @@ * Get the packer.

@@ -139,2 +139,9 @@ "use strict";

};
Object.defineProperty(ResponseHandler.prototype, "currentFailure", {
get: function () {
return this._currentFailure;
},
enumerable: false,
configurable: true
});
/*

@@ -141,0 +148,0 @@ * Pop next pending observer form the list of observers and make it current observer.

9

lib/connection-provider/connection-provider-routing.js

@@ -484,3 +484,4 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var connection, connectionProvider, protocolVersion, error_4;
var connection, databaseSpecificErrorHandler, connectionProvider, protocolVersion, error_4;
var _this = this;
return __generator(this, function (_a) {

@@ -493,3 +494,7 @@ switch (_a.label) {

connection = _a.sent();
connectionProvider = new connection_provider_single_1.default(connection);
databaseSpecificErrorHandler = connection_1.ConnectionErrorHandler.create({
errorCode: SESSION_EXPIRED,
handleAuthorizationExpired: function (error, address) { return _this._handleAuthorizationExpired(error, address); }
});
connectionProvider = new connection_provider_single_1.default(new connection_1.DelegateConnection(connection, databaseSpecificErrorHandler));
protocolVersion = connection.protocol().version;

@@ -496,0 +501,0 @@ if (protocolVersion < 4.0) {

@@ -301,3 +301,3 @@ "use strict";

this._isBroken = true;
this._error = this.handleAndTransformError(error, this._address);
this._error = this.handleAndTransformError(this._protocol.currentFailure || error, this._address);
if (this._log.isErrorEnabled()) {

@@ -304,0 +304,0 @@ this._log.error("experienced a fatal error " + neo4j_driver_core_1.json.stringify(this._error));

{
"name": "neo4j-driver-bolt-connection",
"version": "4.3.4",
"version": "4.3.5",
"description": "Implements the connection with the Neo4j Database using the Bolt Protocol",

@@ -38,5 +38,5 @@ "main": "lib/index.js",

"dependencies": {
"neo4j-driver-core": "^4.3.4",
"neo4j-driver-core": "^4.3.5",
"text-encoding-utf-8": "^1.0.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc