Socket
Socket
Sign inDemoInstall

cosa

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosa - npm Package Compare versions

Comparing version 2.4.3 to 2.5.0

11

lib/cursor.js

@@ -68,2 +68,13 @@ var q = require('q');

Cursor.prototype.serialForEach = function (iterator) {
var iterWrapper = function () {
return this.next().then(function (item) {
if(!item){ return; }
return q(iterator(item)).then(iterWrapper);
}.bind(this));
}.bind(this);
return iterWrapper();
};
Cursor.prototype.skip = function (value) {

@@ -70,0 +81,0 @@ this._cursor.skip(value);

2

package.json
{
"name": "cosa",
"version": "2.4.3",
"version": "2.5.0",
"description": "Cosa Models for MongoDB",

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

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