Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@neo4j/cypher-builder

Package Overview
Dependencies
Maintainers
7
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j/cypher-builder - npm Package Compare versions

Comparing version 1.7.3 to 1.7.4

4

dist/clauses/Merge.d.ts

@@ -23,3 +23,7 @@ import type { CypherEnvironment } from "../Environment";

constructor(pattern: NodeRef | Pattern);
/**
* @deprecated Use {@link onCreateSet} instead
*/
onCreate(...onCreateParams: OnCreateParam[]): this;
onCreateSet(...onCreateParams: OnCreateParam[]): this;
/** Add a {@link Merge} clause

@@ -26,0 +30,0 @@ * @see [Cypher Documentation](https://neo4j.com/docs/cypher-manual/current/clauses/merge/)

@@ -56,2 +56,5 @@ "use strict";

}
/**
* @deprecated Use {@link onCreateSet} instead
*/
onCreate(...onCreateParams) {

@@ -61,2 +64,6 @@ this.onCreateClause.addParams(...onCreateParams);

}
onCreateSet(...onCreateParams) {
this.onCreateClause.addParams(...onCreateParams);
return this;
}
merge(clauseOrPattern) {

@@ -80,3 +87,3 @@ if (clauseOrPattern instanceof Merge_1) {

const nextClause = this.compileNextClause(env);
return `${mergeStr}${setCypher}${onCreateCypher}${removeCypher}${deleteCypher}${nextClause}`;
return `${mergeStr}${onCreateCypher}${setCypher}${removeCypher}${deleteCypher}${nextClause}`;
}

@@ -83,0 +90,0 @@ };

2

dist/clauses/Raw.d.ts

@@ -15,3 +15,3 @@ import type { CypherEnvironment } from "../Environment";

* @group Other
* @deprecated use {@link Raw} instead
* @deprecated Use {@link Raw} instead
*/

@@ -18,0 +18,0 @@ export declare class RawCypher extends Raw {

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

* @group Other
* @deprecated use {@link Raw} instead
* @deprecated Use {@link Raw} instead
*/

@@ -61,0 +61,0 @@ class RawCypher extends Raw {

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

return new CypherFunctions_1.CypherFunction("apoc.date.convertFormat", [
__1.default.toString(temporalParam),
__1.default.toString(temporalParam), // NOTE: should this be `toString` by default?
new __1.default.Literal(currentFormat),

@@ -44,0 +44,0 @@ new __1.default.Literal(convertTo),

{
"name": "@neo4j/cypher-builder",
"version": "1.7.3",
"version": "1.7.4",
"description": "A programmatic API for building Cypher queries for Neo4j",

@@ -60,4 +60,4 @@ "exports": "./dist/index.js",

"typedoc": "^0.25.2",
"typescript": "^5.1.6"
"typescript": "^5.3.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