Socket
Socket
Sign inDemoInstall

neo4j-driver

Package Overview
Dependencies
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neo4j-driver - npm Package Compare versions

Comparing version 5.6.0 to 5.7.0

6

examples/node.js

@@ -23,5 +23,5 @@ /**

var query = [
'MERGE (alice:Person {name:{name_a},age:{age_a}})',
'MERGE (bob:Person {name:{name_b},age:{age_b}})',
'CREATE UNIQUE (alice)-[alice_knows_bob:KNOWS]->(bob)',
'MERGE (alice:Person {name:$name_a}) ON CREATE SET alice.age = $age_a',
'MERGE (bob:Person {name:$name_b}) ON CREATE SET bob.age = $age_b',
'MERGE (alice)-[alice_knows_bob:KNOWS]->(bob)',
'RETURN alice, bob, alice_knows_bob'

@@ -28,0 +28,0 @@ ]

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

* configured in the database using `dbms.transaction.timeout` setting. Value should not represent a duration of zero or negative duration.
* @property {Object} metadata - the transaction metadata. Specified metadata will be attached to the executing transaction and visible in the output of
* `dbms.listQueries` and `dbms.listTransactions` procedures. It will also get logged to the `query.log`. This functionality makes it easier to tag
* transactions and is equivalent to `dbms.setTXMetaData` procedure.
* @property {Object} metadata - the transaction metadata. Specified metadata will be attached to the executing transaction and visible in the output
* of `SHOW TRANSACTIONS YIELD *`. It will also get logged to the `query.log` file. This functionality makes it easier to tag transactions and is
* equivalent to the `dbms.setTXMetaData` procedure, see https://neo4j.com/docs/cypher-manual/current/clauses/transaction-clauses/#query-listing-transactions
* and https://neo4j.com/docs/operations-manual/current/reference/procedures/ for reference.
*/

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

Driver.prototype.rxSession = function (_a) {
var _b = _a === void 0 ? {} : _a, _c = _b.defaultAccessMode, defaultAccessMode = _c === void 0 ? WRITE : _c, bookmarks = _b.bookmarks, _d = _b.database, database = _d === void 0 ? '' : _d, fetchSize = _b.fetchSize, impersonatedUser = _b.impersonatedUser, bookmarkManager = _b.bookmarkManager;
var _b = _a === void 0 ? {} : _a, _c = _b.defaultAccessMode, defaultAccessMode = _c === void 0 ? WRITE : _c, bookmarks = _b.bookmarks, _d = _b.database, database = _d === void 0 ? '' : _d, fetchSize = _b.fetchSize, impersonatedUser = _b.impersonatedUser, bookmarkManager = _b.bookmarkManager, notificationFilter = _b.notificationFilter;
return new session_rx_1.default({

@@ -87,3 +87,4 @@ session: this._newSession({

fetchSize: validateFetchSizeValue(fetchSize, this._config.fetchSize),
bookmarkManager: bookmarkManager
bookmarkManager: bookmarkManager,
notificationFilter: notificationFilter
}),

@@ -90,0 +91,0 @@ config: this._config

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

exports.PathSegment = exports.Path = exports.UnboundRelationship = exports.Relationship = exports.Node = exports.Record = exports.ServerInfo = exports.Notification = exports.QueryStatistics = exports.ProfiledPlan = exports.Plan = exports.ResultSummary = exports.RxResult = exports.RxManagedTransaction = exports.RxTransaction = exports.RxSession = exports.EagerResult = exports.Result = exports.ManagedTransaction = exports.Transaction = exports.Session = exports.Driver = exports.temporal = exports.spatial = exports.graph = exports.error = exports.routing = exports.session = exports.types = exports.logging = exports.auth = exports.isRetryableError = exports.Neo4jError = exports.integer = exports.isUnboundRelationship = exports.isRelationship = exports.isPathSegment = exports.isPath = exports.isNode = exports.isDateTime = exports.isLocalDateTime = exports.isDate = exports.isTime = exports.isLocalTime = exports.isDuration = exports.isPoint = exports.isInt = exports.int = exports.hasReachableServer = exports.driver = void 0;
exports.resultTransformers = exports.bookmarkManager = exports.DateTime = exports.LocalDateTime = exports.Date = exports.Time = exports.LocalTime = exports.Duration = exports.Integer = exports.Point = void 0;
exports.notificationFilterMinimumSeverityLevel = exports.notificationFilterDisabledCategory = exports.notificationSeverityLevel = exports.notificationCategory = exports.resultTransformers = exports.bookmarkManager = exports.DateTime = exports.LocalDateTime = exports.Date = exports.Time = exports.LocalTime = exports.Duration = exports.Integer = exports.Point = void 0;
/**

@@ -113,2 +113,6 @@ * Copyright (c) "Neo4j"

Object.defineProperty(exports, "resultTransformers", { enumerable: true, get: function () { return neo4j_driver_core_1.resultTransformers; } });
Object.defineProperty(exports, "notificationCategory", { enumerable: true, get: function () { return neo4j_driver_core_1.notificationCategory; } });
Object.defineProperty(exports, "notificationSeverityLevel", { enumerable: true, get: function () { return neo4j_driver_core_1.notificationSeverityLevel; } });
Object.defineProperty(exports, "notificationFilterDisabledCategory", { enumerable: true, get: function () { return neo4j_driver_core_1.notificationFilterDisabledCategory; } });
Object.defineProperty(exports, "notificationFilterMinimumSeverityLevel", { enumerable: true, get: function () { return neo4j_driver_core_1.notificationFilterMinimumSeverityLevel; } });
var neo4j_driver_bolt_connection_1 = require("neo4j-driver-bolt-connection");

@@ -245,3 +249,7 @@ var session_rx_1 = __importDefault(require("./session-rx"));

*
* // Optionally override the default user agent name.
* // Configure filter for Notification objects returned in ResultSummary#notifications.
* // See SessionConfig#notificationFilter for usage instructions.
* notificationFilter: undefined,
*
* // Optionally override the default user agent name.
* userAgent: USER_AGENT

@@ -528,4 +536,8 @@ * }

bookmarkManager: neo4j_driver_core_1.bookmarkManager,
resultTransformers: neo4j_driver_core_1.resultTransformers
resultTransformers: neo4j_driver_core_1.resultTransformers,
notificationCategory: neo4j_driver_core_1.notificationCategory,
notificationSeverityLevel: neo4j_driver_core_1.notificationSeverityLevel,
notificationFilterDisabledCategory: neo4j_driver_core_1.notificationFilterDisabledCategory,
notificationFilterMinimumSeverityLevel: neo4j_driver_core_1.notificationFilterMinimumSeverityLevel
};
exports.default = forExport;

@@ -29,2 +29,2 @@ "use strict";

// system to control version names at packaging time.
exports.default = '5.6.0';
exports.default = '5.7.0';
{
"name": "neo4j-driver",
"version": "5.6.0",
"version": "5.7.0",
"description": "The official Neo4j driver for Javascript",

@@ -77,3 +77,3 @@ "author": "Neo4j",

"tmp": "0.2.1",
"typescript": "^4.9.4",
"typescript": "^4.9.5",
"vinyl-buffer": "^1.0.1",

@@ -83,7 +83,7 @@ "webpack": "^5.75.0"

"dependencies": {
"neo4j-driver-bolt-connection": "^5.6.0",
"neo4j-driver-core": "^5.6.0",
"neo4j-driver-bolt-connection": "^5.7.0",
"neo4j-driver-core": "^5.7.0",
"rxjs": "^7.8.0"
},
"gitHead": "d6a6cf797a071485dd95015f689f396837a007c5"
"gitHead": "dd93e78d7b189c59765fe6bc0104c5d4a5fbd15d"
}

@@ -77,3 +77,12 @@ /**

resultTransformers,
ResultTransformer
ResultTransformer,
notificationCategory,
notificationSeverityLevel,
NotificationCategory,
NotificationSeverityLevel,
NotificationFilter,
NotificationFilterDisabledCategory,
NotificationFilterMinimumSeverityLevel,
notificationFilterDisabledCategory,
notificationFilterMinimumSeverityLevel
} from 'neo4j-driver-core'

@@ -256,2 +265,6 @@ import {

resultTransformers: typeof resultTransformers
notificationCategory: typeof notificationCategory
notificationSeverityLevel: typeof notificationSeverityLevel
notificationFilterDisabledCategory: typeof notificationFilterDisabledCategory
notificationFilterMinimumSeverityLevel: typeof notificationFilterMinimumSeverityLevel
}

@@ -326,3 +339,7 @@

bookmarkManager,
resultTransformers
resultTransformers,
notificationCategory,
notificationSeverityLevel,
notificationFilterDisabledCategory,
notificationFilterMinimumSeverityLevel
}

@@ -336,5 +353,10 @@

RoutingControl,
ResultTransformer
ResultTransformer,
NotificationCategory,
NotificationSeverityLevel,
NotificationFilter,
NotificationFilterDisabledCategory,
NotificationFilterMinimumSeverityLevel
}
export default forExport

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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