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.3.0 to 0.3.1

7

adapters/sql.js

@@ -67,3 +67,3 @@ 'use strict';

function getPlainResult(result) {
return (typeof result.get === 'function') ?
return (result && typeof result.get === 'function') ?
result.get({ plain: true }) :

@@ -160,4 +160,3 @@ result;

documents: (this.jsonify_results) ?
getJSONResults(data) :
data,
getJSONResults(data) : data,
count: data.length,

@@ -560,3 +559,3 @@ };

this.docid = options.docid || 'id';
this.jsonify_results = (typeof options.jsonify_results) ? options.jsonify_results : true;
this.jsonify_results = (typeof options.jsonify_results === 'boolean') ? options.jsonify_results : true;
if (options.model && typeof options.model === 'object') {

@@ -563,0 +562,0 @@ if (Array.isArray(options.model)) this.model = this.db_connection.define(...options.model);

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

},
"version": "0.3.0",
"version": "0.3.1",
"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