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

agenda

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agenda - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

lib/agenda/has-mongo-protocol.js

5

History.md

@@ -6,2 +6,7 @@ Next

2.0.2 / 2018-09-15
==================
* Fixes a MongoDB connection string issue with Atlas ([#674](
https://github.com/agenda/agenda/pull/674)
2.0.1 / 2018-08-30

@@ -8,0 +13,0 @@ ==================

3

lib/agenda/database.js
'use strict';
const {MongoClient} = require('mongodb');
const debug = require('debug')('agenda:database');
const hasMongoProtocol = require('./has-mongo-protocol');

@@ -23,3 +24,3 @@ /**

const self = this;
if (!url.match(/^mongodb:\/\/.*/)) {
if (!hasMongoProtocol(url)) {
url = 'mongodb://' + url;

@@ -26,0 +27,0 @@ }

{
"name": "agenda",
"version": "2.0.1",
"version": "2.0.2",
"description": "Light weight job scheduler for Node.js",

@@ -9,2 +9,5 @@ "main": "index.js",

],
"engines": {
"node": ">=8.0.0"
},
"scripts": {

@@ -11,0 +14,0 @@ "test": "npm run lint && npm run mocha",

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