irondb-persister
Advanced tools
Comparing version 0.0.2 to 0.0.3
'use strict' | ||
module.exports = { | ||
'env': { | ||
'es6': true, | ||
'node': true, | ||
'mocha': true, | ||
}, | ||
'extends': 'google', | ||
'parserOptions': { | ||
'ecmaVersion': 2017, | ||
'ecmaVersion': 2017, | ||
'sourceType': 'script', | ||
}, | ||
'rules': { | ||
'array-bracket-spacing': [ 'error', 'always' ], | ||
'camelcase': [ 'off' ], | ||
'guard-for-in': [ 'off' ], | ||
'camelcase': 'off', | ||
'eol-last': [ 'error', 'always' ], | ||
'guard-for-in': 'off', | ||
'max-len': 'off', | ||
'no-multiple-empty-lines': [ 'error', { 'max': 2, 'maxBOF': 0, 'maxEOF': 1 } ], | ||
'no-undef': 'error', | ||
'object-curly-spacing': [ 'error', 'always' ], | ||
@@ -14,0 +23,0 @@ 'one-var': [ 'off' ], |
@@ -8,3 +8,3 @@ 'use strict' | ||
let db_host, db_port, initialized = false | ||
const timeout = parseInt(process.env.IRONDB_TIMEOUT) || 1000 | ||
const timeout = parseInt(process.env.IRONDB_TIMEOUT) || 60000 | ||
@@ -15,3 +15,3 @@ function init(host, port) { | ||
if (! db_host) throw new Error('Missing IRONDB_HOST environment variable') | ||
console.log(`IRONdb initialized with host=${db_host}, port=${db_port}`) | ||
console.log(`IRONdb initialized with host=${db_host}, port=${db_port}, timeout=${timeout}`) | ||
initialized = true | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "irondb-persister", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "IronDB RAW Persister", | ||
"main": "index.js", | ||
"dependencies": { | ||
"flatbuffers": "^1.9.0", | ||
"flatbuffers": "^1.11.0", | ||
"jsonschema": "^1.2.4" | ||
}, | ||
"devDependencies": { | ||
"body-parser": "^1.18.3", | ||
"chai": "^4.1.2", | ||
"eslint": "^5.3.0", | ||
"eslint-config-google": "^0.9.1", | ||
"express": "^4.16.3", | ||
"mocha": "^5.2.0" | ||
"body-parser": "^1.19.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-google": "^0.12.0", | ||
"express": "^4.16.4", | ||
"mocha": "^6.1.4" | ||
}, | ||
@@ -18,0 +18,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88951
26
2436
Updatedflatbuffers@^1.11.0