Socket
Socket
Sign inDemoInstall

ormneo

Package Overview
Dependencies
7
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.14 to 0.1.15

2

__test__/query-tests.js

@@ -26,2 +26,4 @@ 'use strict';

assert.equal(query, '');
query = builder._conditionToQuery({ 'age': { $eq: null } });
assert.equal(query, 'n.age = null');
query = builder._conditionToQuery({'name' : {$regex: '.*[tes]'} });

@@ -28,0 +30,0 @@ assert.equal(query, 'n.name =~ \'.*[tes]\'');

4

lib/ormneo-query.js

@@ -184,3 +184,5 @@ 'use strict';

_valueOnQuery(value) {
if (_.isString(value)) {
if (_.isNull(value)) {
return 'null';
} else if (_.isString(value)) {
return `'${value}'`;

@@ -187,0 +189,0 @@ } if (_.isDate(value)) {

{
"name": "ormneo",
"version": "0.1.14",
"version": "0.1.15",
"description": "ORM abstraction layer for neo4j",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc