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

periodicjs.core.data

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

periodicjs.core.data - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

2

adapters/index.js

@@ -7,2 +7,2 @@ 'use strict';

module.exports = { mongo, sql, loki };
module.exports = { mongo, sql, loki, };

@@ -607,2 +607,3 @@ 'use strict';

constructor(options = {}) {
this.adapter_type = 'loki';
this.db_connection = options.db_connection || lowkie;

@@ -609,0 +610,0 @@ this.docid = options.docid; //previously docnamelookup

@@ -556,2 +556,3 @@ 'use strict';

constructor(options = {}) {
this.adapter_type = 'mongo';
this.db_connection = options.db_connection || mongoose;

@@ -558,0 +559,0 @@ this.docid = options.docid; //previously docnamelookup

@@ -729,3 +729,4 @@ 'use strict';

// console.log("INITIAL typeof options.db_connection", typeof options.db_connection,{options});
this.adapter_type = 'sql';
if (options.db_connection && typeof options.db_connection === 'object') {

@@ -732,0 +733,0 @@ if (options.db_connection.models && options.db_connection.config) this.db_connection = options.db_connection;

@@ -97,4 +97,4 @@ {

},
"version": "0.8.6",
"version": "0.8.7",
"license": "MIT"
}
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