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

radweb-server

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radweb-server - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "radweb-server",
"version": "1.0.1",
"version": "1.0.2",
"main":"index.js",

@@ -5,0 +5,0 @@ "Dependencies": {

@@ -185,11 +185,22 @@ "use strict";

}
if (options) {
if (options.limit) {
var page = 1;
if (options.page)
page = options.page;
if (page < 1)
page = 1;
select += ' limit ' + options.limit + ' offset ' + (page - 1) * options.limit;
}
}
return r.query(select).then(function (r) {
return radweb_1.pageArray(r.rows, options).map(function (y) {
var result = {};
for (var x in y) {
var col = colKeys[r.getColumnIndex(x)];
result[col.jsonName] = col.__getStorage().fromDb(y[x]);
}
return result;
});
var y = r.rows;
//return pageArray(r.rows, options).map(y => {
var result = {};
for (var x in y) {
var col = colKeys[r.getColumnIndex(x)];
result[col.jsonName] = col.__getStorage().fromDb(y[x]);
}
return result;
// });
});

@@ -196,0 +207,0 @@ };

Sorry, the diff of this file is not supported yet

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