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

mongo-express

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-express - npm Package Compare versions

Comparing version 0.17.2 to 0.17.3

12

app.js

@@ -270,8 +270,8 @@ /**

app.param('document', function(req, res, next, id) {
//Convert id string to mongodb object ID
try {
var id = new mongodb.ObjectID.createFromHexString(id);
} catch (err) {
req.session.error = "Document not found!";
return res.redirect('/db/' + req.dbName + '/' + req.collectionName);
if (id.length == 24) {
//Convert id string to mongodb object ID
try {
id = new mongodb.ObjectID.createFromHexString(id);
} catch (err) {
}
}

@@ -278,0 +278,0 @@

@@ -0,1 +1,6 @@

0.17.3
------
* Removed requirement for doc IDs to be ObjectID type
0.17.2

@@ -2,0 +7,0 @@ ------

@@ -5,3 +5,3 @@ {

"description": "Web-based admin interface for MongoDB",
"version": "0.17.2",
"version": "0.17.3",
"repository": {

@@ -20,3 +20,2 @@ "type": "git",

"mocha": "1.0.x",
"zombie": "0.13.x",
"chai": "0.5.x",

@@ -23,0 +22,0 @@ "coffee-script": "1.3.x"

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