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

@turbasen/db-mongo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turbasen/db-mongo - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

10

index.js

@@ -19,3 +19,11 @@ 'use strict';

['turer', 'steder', 'områder', 'bilder', 'grupper'].forEach((type) => {
[
'arrangementer',
'bilder',
'grupper',
'lister',
'områder',
'steder',
'turer',
].forEach((type) => {
this[type] = database.collection(type);

@@ -22,0 +30,0 @@ });

8

package.json
{
"name": "@turbasen/db-mongo",
"version": "1.0.0",
"version": "1.1.0",
"description": "Internal mongoDB wrapper for Nasjonal Turbase API",

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

"codacy-coverage": "^1.1.3",
"eslint": "^2.13.1",
"eslint-config-airbnb-base": "^3.0.1",
"eslint-plugin-import": "^1.10.0",
"eslint": "^3.1.1",
"eslint-config-airbnb-base": "^4.0.2",
"eslint-plugin-import": "^1.11.0",
"greenkeeper-postpublish": "^1.0.0",

@@ -47,0 +47,0 @@ "istanbul": "^0.4.4",

@@ -27,6 +27,8 @@ # @turbasen/db-mongo

Connects automatically using `MONGO_URI`, or `MONGO_PORT_27017_TCP_ADDR` +
`MONGO_PORT_27017_TCP_PORT` environment variables, or default to `mongo` +
`27017`.
Connects automatically to mongoDB using the following configurations:
* `MONGO_URI`
* `MONGO_PORT_27017_TCP_ADDR` and `MONGO_PORT_27017_TCP_PORT`
* Defaults to `mongo` and `27017`
```js

@@ -40,2 +42,2 @@ const mongo = require('mongo');

## [MIT lisenced](https://github.com/Turbasen/Auth/blob/master/LICENSE)
## [MIT lisenced](https://github.com/Turbasen/db-mongo/blob/master/LICENSE)
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