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

simple-odata-server

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-odata-server - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

0

lib/collections.js

@@ -0,0 +0,0 @@ /*!

2

lib/odataServer.js

@@ -74,3 +74,3 @@ /*!

})
this.router.get('/:collection/\$count/', function (req, res) {
this.router.get('/:collection/\$count', function (req, res) {
req.params.$count = true

@@ -77,0 +77,0 @@ query(self.cfg, req, res)

{
"name": "simple-odata-server",
"version": "1.0.0",
"version": "1.0.1",
"description": "OData server with adapter for mongodb and nedb",

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

@@ -64,3 +64,5 @@

MongoClient.connect(url, function(err, db) {
odataServer.adapter(Adapter(function(cb) { cb(err, db); }));
odataServer.adapter(Adapter(function(cb) {
cb(err, db.db('myodatadb'));
}));
});

@@ -67,0 +69,0 @@ ```

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