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

icorm

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icorm - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

12

mongo.js

@@ -93,2 +93,14 @@ const MongoDB = require('mongodb');

function PipeLines(client, cmd) {
var builder = cmd.builder;
var opt = builder.options;
var filter = WHERE(builder, true);
var col = client.db(client.$database).collection(opt.table).aggregate([ filter, cmd.value ]).toArray(function(err, response) {
err && client.$opt.onerror && client.$opt.onerror(err, opt, builder);
client.close();
builder.$callback(err, response);
});
};
function list(client, cmd) {

@@ -95,0 +107,0 @@

2

package.json
{
"name": "icorm",
"version": "1.0.7",
"version": "1.0.8",
"description": "Database Management System",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,2 +12,6 @@ !global.F && require('total.js');

break;
case 'listCollections':
WHERE(db(cmd.builder.options.table).listCollections(), cmd.builder);
case 'PipeLines':
WHERE(db(cmd.builder.options.table).PipeLines(), cmd.builder);
case 'list':

@@ -14,0 +18,0 @@ WHERE(db(cmd.builder.options.table).listing(), cmd.builder);

Sorry, the diff of this file is too big to display

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