Comparing version 1.0.1 to 1.0.2
@@ -186,2 +186,4 @@ var mongodb = require('mongodb-core'); | ||
if (typeof opts === 'undefined') return this.createIndex(index, {}, noop); | ||
if (typeof cb === 'undefined') return this.createIndex(index, opts, noop); | ||
opts.name = indexName(index); | ||
@@ -188,0 +190,0 @@ opts.key = index; |
@@ -169,4 +169,3 @@ var util = require('util'); | ||
if (err) return self.emit('error', err); | ||
if (!cursor.close) return; | ||
cursor.close(); | ||
if (cursor.kill) cursor.kill(); | ||
}); | ||
@@ -173,0 +172,0 @@ }; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"repository": "git://github.com/mafintosh/mongojs.git", | ||
@@ -31,3 +31,3 @@ "author": "Mathias Buus Madsen <mathiasbuus@gmail.com>", | ||
"each-series": "^0.2.0", | ||
"mongodb-core": "1.1.33", | ||
"mongodb-core": "^1.2.2", | ||
"once": "^1.3.1", | ||
@@ -47,3 +47,7 @@ "parse-mongo-url": "^1.1.0", | ||
"concat-stream": "^1.4.6" | ||
} | ||
}, | ||
"coordinates": [ | ||
18.4786198, | ||
-69.9549019 | ||
] | ||
} |
@@ -8,3 +8,3 @@ # mongojs | ||
[![build status](https://secure.travis-ci.org/mafintosh/mongojs.png)](http://travis-ci.org/mafintosh/mongojs) | ||
[![Build Status](https://travis-ci.org/mafintosh/mongojs.svg?branch=master)](https://travis-ci.org/mafintosh/mongojs) | ||
[![Tips](https://img.shields.io/gratipay/mafintosh.svg)](https://gratipay.com/mafintosh) | ||
@@ -11,0 +11,0 @@ |
@@ -17,3 +17,3 @@ var test = require('./tape'); | ||
awaitData: true, | ||
numberOfRetries: -1 | ||
numberOfRetries: Number.MAX_VALUE | ||
}); | ||
@@ -20,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58736
55
1598
2
+ Addedbson@0.4.23(transitive)
+ Addedmongodb-core@1.3.21(transitive)
+ Addedrequire_optional@1.0.1(transitive)
+ Addedresolve-from@2.0.0(transitive)
+ Addedsemver@5.7.2(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbson@0.3.2(transitive)
- Removedbson-ext@0.1.13(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedkerberos@0.0.24(transitive)
- Removedmongodb-core@1.1.33(transitive)
- Removednan@2.0.92.10.0(transitive)
Updatedmongodb-core@^1.2.2