New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

neo4j-func

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neo4j-func - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

dist/config/neo4j-default.d.ts

10

dist/neo4j.js

@@ -17,2 +17,3 @@ "use strict";

const lodash_1 = __importDefault(require("lodash"));
const neo4j_default_1 = __importDefault(require("./config/neo4j-default"));
const neo4j = neo4jModule;

@@ -23,3 +24,2 @@ class Neo4jService {

let configCustom;
let configDefault;
try {

@@ -31,9 +31,3 @@ configCustom = js_yaml_1.default.safeLoad(fs_1.default.readFileSync(process.cwd() + '/neo4j.yaml', 'utf8'));

}
try {
configDefault = js_yaml_1.default.safeLoad(fs_1.default.readFileSync(__dirname + '/config/neo4j-default.yaml', 'utf8'));
}
catch (e) {
throw new Error(e);
}
this.config = lodash_1.default.merge(configDefault, configCustom);
this.config = lodash_1.default.merge(neo4j_default_1.default, configCustom);
this.driver = neo4j.driver(`bolt://${this.config.host}:${this.config.port}`, neo4j.auth.basic(this.config.credentials.user, this.config.credentials.password));

@@ -40,0 +34,0 @@ }

2

package.json

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

"homepage": "https://github.com/Milihhard/neo4j-func#readme",
"version": "1.2.3",
"version": "1.2.4",
"keywords": [

@@ -8,0 +8,0 @@ "neo4j",

@@ -7,2 +7,3 @@ import * as neo4jModule from 'neo4j-driver';

import _ from 'lodash';
import configDefault from './config/neo4j-default';

@@ -19,3 +20,2 @@ const neo4j = neo4jModule;

let configCustom: Neo4jConfig;
let configDefault: Neo4jConfig;
try {

@@ -28,9 +28,2 @@ configCustom = yaml.safeLoad(

}
try {
configDefault = yaml.safeLoad(
fs.readFileSync(__dirname + '/config/neo4j-default.yaml', 'utf8')
);
} catch (e) {
throw new Error(e);
}
this.config = _.merge(configDefault, configCustom);

@@ -37,0 +30,0 @@ this.driver = neo4j.driver(

Sorry, the diff of this file is not supported yet

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