Socket
Socket
Sign inDemoInstall

neo4j-driver-core

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-core - npm Package Compare versions

Comparing version 5.8.1 to 5.9.0

lib/internal/bolt-agent/browser/bolt-agent.js

7

jest.config.ts

@@ -155,5 +155,6 @@ /*

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
// "/node_modules/"
// ],
testPathIgnorePatterns: [
"/node_modules/",
"/test/deno/"
],

@@ -160,0 +161,0 @@ // The regexp pattern or array of patterns that Jest uses to detect test files

@@ -106,6 +106,8 @@ "use strict";

* @param {string} userAgent the user agent for this driver.
* @param {string} boltAgent the bolt agent for this driver.
* @param {Object} authToken the object containing auth information.
* @param {Object} waitReAuth whether to connect method should wait until re-Authorised
* @return {Promise<Connection>} promise resolved with the current connection if connection is successful. Rejected promise otherwise.
*/
Connection.prototype.connect = function (userAgent, authToken) {
Connection.prototype.connect = function (userAgent, boltAgent, authToken, waitReAuth) {
throw Error('Not implemented');

@@ -112,0 +114,0 @@ };

@@ -218,4 +218,8 @@ "use strict";

* Disabling notifications can be done by defining the minimum severity level to 'OFF'.
* Default values can be use by omitting the configuration.
* At driver level, when omitted, uses the server's default.
* At session level, when omitted, defaults to what filters have been configured at driver level.
*
* Disabling categories or severities allows the server to skip analysis for those, which can speed up query
* execution.
*
* @example

@@ -222,0 +226,0 @@ * // enabling warning notification, but disabling `HINT` and `DEPRECATION` notifications.

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.BOLT_PROTOCOL_V5_2 = exports.BOLT_PROTOCOL_V5_1 = exports.BOLT_PROTOCOL_V5_0 = exports.BOLT_PROTOCOL_V4_4 = exports.BOLT_PROTOCOL_V4_3 = exports.BOLT_PROTOCOL_V4_2 = exports.BOLT_PROTOCOL_V4_1 = exports.BOLT_PROTOCOL_V4_0 = exports.BOLT_PROTOCOL_V3 = exports.BOLT_PROTOCOL_V2 = exports.BOLT_PROTOCOL_V1 = exports.DEFAULT_POOL_MAX_SIZE = exports.DEFAULT_POOL_ACQUISITION_TIMEOUT = exports.DEFAULT_CONNECTION_TIMEOUT_MILLIS = exports.ACCESS_MODE_WRITE = exports.ACCESS_MODE_READ = exports.FETCH_ALL = void 0;
exports.BOLT_PROTOCOL_V5_3 = exports.BOLT_PROTOCOL_V5_2 = exports.BOLT_PROTOCOL_V5_1 = exports.BOLT_PROTOCOL_V5_0 = exports.BOLT_PROTOCOL_V4_4 = exports.BOLT_PROTOCOL_V4_3 = exports.BOLT_PROTOCOL_V4_2 = exports.BOLT_PROTOCOL_V4_1 = exports.BOLT_PROTOCOL_V4_0 = exports.BOLT_PROTOCOL_V3 = exports.BOLT_PROTOCOL_V2 = exports.BOLT_PROTOCOL_V1 = exports.DEFAULT_POOL_MAX_SIZE = exports.DEFAULT_POOL_ACQUISITION_TIMEOUT = exports.DEFAULT_CONNECTION_TIMEOUT_MILLIS = exports.ACCESS_MODE_WRITE = exports.ACCESS_MODE_READ = exports.FETCH_ALL = void 0;
var FETCH_ALL = -1;

@@ -57,1 +57,3 @@ exports.FETCH_ALL = FETCH_ALL;

exports.BOLT_PROTOCOL_V5_2 = BOLT_PROTOCOL_V5_2;
var BOLT_PROTOCOL_V5_3 = 5.3;
exports.BOLT_PROTOCOL_V5_3 = BOLT_PROTOCOL_V5_3;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.objectUtil = exports.resolver = exports.serverAddress = exports.urlUtil = exports.logger = exports.transactionExecutor = exports.txConfig = exports.connectionHolder = exports.constants = exports.bookmarks = exports.observer = exports.temporalUtil = exports.util = void 0;
exports.boltAgent = exports.objectUtil = exports.resolver = exports.serverAddress = exports.urlUtil = exports.logger = exports.transactionExecutor = exports.txConfig = exports.connectionHolder = exports.constants = exports.bookmarks = exports.observer = exports.temporalUtil = exports.util = void 0;
var util = __importStar(require("./util"));

@@ -72,1 +72,3 @@ exports.util = util;

exports.objectUtil = objectUtil;
var boltAgent = __importStar(require("./bolt-agent/index"));
exports.boltAgent = boltAgent;
{
"name": "neo4j-driver-core",
"version": "5.8.1",
"version": "5.9.0",
"description": "Internals of neo4j-driver",

@@ -13,2 +13,3 @@ "main": "lib/index.js",

"test::unit": "npm run test",
"test::deno": "deno test --allow-all ./test/deno/",
"predocs": "npm run build && npm run build::es6",

@@ -27,2 +28,5 @@ "docs": "esdoc -c esdoc.json",

],
"browser": {
"./lib/internal/bolt-agent/index.js": "./lib/internal/bolt-agent/browser/index.js"
},
"author": "Neo4j",

@@ -41,2 +45,3 @@ "license": "Apache-2.0",

"jest": "^27.5.1",
"source-map": "0.7.4",
"ts-jest": "^27.1.4",

@@ -46,3 +51,3 @@ "ts-node": "^10.9.1",

},
"gitHead": "6307f27309468d9327aafe6ca759c60ef76346fe"
"gitHead": "a4393a415ed28a3818effe5a9d320f78f91dc10c"
}

@@ -5,3 +5,6 @@ {

"src/**/*.ts",
],
"exclude": [
"src/internal/bolt-agent/deno/*.ts"
]
}

@@ -19,3 +19,3 @@ {

"test/**/*.ts"
]
],
}

@@ -56,6 +56,8 @@ /**

* @param {string} userAgent the user agent for this driver.
* @param {string} boltAgent the bolt agent for this driver.
* @param {Object} authToken the object containing auth information.
* @param {Object} waitReAuth whether to connect method should wait until re-Authorised
* @return {Promise<Connection>} promise resolved with the current connection if connection is successful. Rejected promise otherwise.
*/
connect(userAgent: string, authToken: any): Promise<Connection>;
connect(userAgent: string, boltAgent: string, authToken: any, waitReAuth: false): Promise<Connection>;
/**

@@ -62,0 +64,0 @@ * Write a message to the network channel.

@@ -36,2 +36,3 @@ /**

declare const BOLT_PROTOCOL_V5_2: number;
export { FETCH_ALL, ACCESS_MODE_READ, ACCESS_MODE_WRITE, DEFAULT_CONNECTION_TIMEOUT_MILLIS, DEFAULT_POOL_ACQUISITION_TIMEOUT, DEFAULT_POOL_MAX_SIZE, BOLT_PROTOCOL_V1, BOLT_PROTOCOL_V2, BOLT_PROTOCOL_V3, BOLT_PROTOCOL_V4_0, BOLT_PROTOCOL_V4_1, BOLT_PROTOCOL_V4_2, BOLT_PROTOCOL_V4_3, BOLT_PROTOCOL_V4_4, BOLT_PROTOCOL_V5_0, BOLT_PROTOCOL_V5_1, BOLT_PROTOCOL_V5_2 };
declare const BOLT_PROTOCOL_V5_3: number;
export { FETCH_ALL, ACCESS_MODE_READ, ACCESS_MODE_WRITE, DEFAULT_CONNECTION_TIMEOUT_MILLIS, DEFAULT_POOL_ACQUISITION_TIMEOUT, DEFAULT_POOL_MAX_SIZE, BOLT_PROTOCOL_V1, BOLT_PROTOCOL_V2, BOLT_PROTOCOL_V3, BOLT_PROTOCOL_V4_0, BOLT_PROTOCOL_V4_1, BOLT_PROTOCOL_V4_2, BOLT_PROTOCOL_V4_3, BOLT_PROTOCOL_V4_4, BOLT_PROTOCOL_V5_0, BOLT_PROTOCOL_V5_1, BOLT_PROTOCOL_V5_2, BOLT_PROTOCOL_V5_3 };

@@ -32,2 +32,3 @@ /**

import * as objectUtil from './object-util';
export { util, temporalUtil, observer, bookmarks, constants, connectionHolder, txConfig, transactionExecutor, logger, urlUtil, serverAddress, resolver, objectUtil };
import * as boltAgent from './bolt-agent/index';
export { util, temporalUtil, observer, bookmarks, constants, connectionHolder, txConfig, transactionExecutor, logger, urlUtil, serverAddress, resolver, objectUtil, boltAgent };

@@ -45,2 +45,8 @@ /**

}
export interface BoltAgent {
product?: string;
platform?: string;
language?: string;
languageDetails?: string;
}
export interface Config {

@@ -63,2 +69,5 @@ encrypted?: boolean | EncryptionLevel;

}
export interface InternalConfig extends Config {
boltAgent?: BoltAgent;
}
/**

@@ -65,0 +74,0 @@ * Extension interface for {@link AsyncIterator} with peek capabilities.

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