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.6.1 to 0.6.2

4

adapters/loki.js

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

return new Promisie((resolve, reject) => {
_QUERY.call(this, { query: {}, limit: false }, (err, total) => {
_QUERY.call(this, { query, limit: false }, (err, total) => {
if (err) reject(err);

@@ -176,3 +176,3 @@ else resolve(total.length);

collection_count: result.count,
collection_pages: Math.ceil(result.count / pagelength)
collection_pages: Math.ceil(result.count / ((pagelength <= limit) ? pagelength : limit))
}));

@@ -179,0 +179,0 @@ })

@@ -107,5 +107,5 @@ 'use strict';

return new Promisie((resolve, reject) => {
_QUERY.call(this, { query: {}, limit: false }, (err, total) => {
Model.count(query, (err, count) => {
if (err) reject(err);
else resolve(total.length);
else resolve(count);
});

@@ -140,3 +140,3 @@ });

collection_count: result.count,
collection_pages: Math.ceil(result.count / pagelength)
collection_pages: Math.ceil(result.count / ((pagelength <= limit) ? pagelength : limit))
}));

@@ -143,0 +143,0 @@ })

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

return new Promisie((resolve, reject) => {
_QUERY.call(this, { query: {}, limit: false }, (err, total) => {
_QUERY.call(this, { query, limit: false }, (err, total) => {
if (err) reject(err);

@@ -223,3 +223,3 @@ else resolve(total.length);

collection_count: result.count,
collection_pages: Math.ceil(result.count / pagelength)
collection_pages: Math.ceil(result.count / ((pagelength <= limit) ? pagelength : limit))
}));

@@ -226,0 +226,0 @@ })

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

},
"version": "0.6.1",
"version": "0.6.2",
"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