Socket
Socket
Sign inDemoInstall

stork-odm

Package Overview
Dependencies
100
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.5 to 0.1.6

26

lib/entity_from.js

@@ -59,2 +59,4 @@ /*jslint node: true, nomen: true, white: true */

, i
, j
, key
;

@@ -66,13 +68,17 @@

if (result.rows !== undefined && result.rows.length > 0) {
composed = [];
for (i = 1; i < result.rows.length; i += 1) {
state = result.rows[i].doc;
isoStringPropertiesToDates(state);
composed.push(kidBuilder.new(state));
for (i = 0; i < result.rows.length; i += 1) {
state = result.rows[i].doc
key = result.rows[i].key;
if (key[1] === 0) {
composed = [];
isoStringPropertiesToDates(state);
state[propertyName] = composed;
entity = builder(state);
entities.push(entity);
} else {
state = result.rows[i].doc;
isoStringPropertiesToDates(state);
composed.push(kidBuilder.new(state));
}
}
state = result.rows[0].doc;
state[propertyName] = composed;
isoStringPropertiesToDates(state);
entity = builder(state);
entities.push(entity);
}

@@ -79,0 +85,0 @@

{
"name": "stork-odm",
"version": "0.1.5",
"version": "0.1.6",
"description": "Stork provides a layer of document management over the CouchDB.",

@@ -5,0 +5,0 @@ "main": "./lib/stork.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc