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

irondb-persister

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

irondb-persister - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

LICENSE

15

.eslintrc.js
'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' ],

4

lib/client.js

@@ -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": {

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