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

mongodb-memory-server-core

Package Overview
Dependencies
Maintainers
1
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-memory-server-core - npm Package Compare versions

Comparing version 6.3.2 to 6.3.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [6.3.3](https://github.com/nodkz/mongodb-memory-server/compare/v6.3.2...v6.3.3) (2020-03-11)
### Bug Fixes
* update Dependencies ([#281](https://github.com/nodkz/mongodb-memory-server/issues/281)) ([054cbe5](https://github.com/nodkz/mongodb-memory-server/commit/054cbe5)), closes [#280](https://github.com/nodkz/mongodb-memory-server/issues/280)
## [6.3.2](https://github.com/nodkz/mongodb-memory-server/compare/v6.3.1...v6.3.2) (2020-03-03)

@@ -8,0 +19,0 @@

7

lib/util/db_util.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var v4_1 = __importDefault(require("uuid/v4"));
var uuid_1 = require("uuid");
/**

@@ -12,3 +9,3 @@ * Returns a database name string.

function generateDbName(dbName) {
return dbName || v4_1.default();
return dbName || uuid_1.v4();
}

@@ -15,0 +12,0 @@ exports.generateDbName = generateDbName;

@@ -117,10 +117,3 @@ "use strict";

// create downloadDir if not exists
return [4 /*yield*/, new Promise(function (resolve, reject) {
mkdirp_1.default(downloadDir, function (err) {
if (err)
reject(err);
else
resolve();
});
})];
return [4 /*yield*/, mkdirp_1.default(downloadDir)];
case 1:

@@ -127,0 +120,0 @@ // create downloadDir if not exists

import { DownloadProgressT } from '../types';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
export interface MongoBinaryDownloadOpts {

@@ -4,0 +4,0 @@ version?: string;

@@ -58,3 +58,3 @@ "use strict";

var MongoBinary_1 = require("./MongoBinary");
var https_proxy_agent_1 = __importDefault(require("https-proxy-agent"));
var https_proxy_agent_1 = require("https-proxy-agent");
var util_1 = require("util");

@@ -206,3 +206,3 @@ var resolve_config_1 = __importStar(require("./resolve-config"));

method: 'GET',
agent: proxy ? new https_proxy_agent_1.default(proxy) : undefined,
agent: proxy ? new https_proxy_agent_1.HttpsProxyAgent(proxy) : undefined,
};

@@ -209,0 +209,0 @@ filename = (urlObject.pathname || '').split('/').pop();

{
"name": "mongodb-memory-server-core",
"version": "6.3.2",
"version": "6.3.3",
"description": "MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.",

@@ -34,3 +34,15 @@ "main": "lib/index",

"devDependencies": {
"rimraf": "^3.0.0"
"@types/jest": "25.1.4",
"@types/mongodb": "3.5.2",
"@typescript-eslint/eslint-plugin": "2.23.0",
"@typescript-eslint/parser": "2.23.0",
"cross-env": "^7.0.2",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"jest": "^25.1.0",
"lerna": "3.20.2",
"mongodb": "3.5.4",
"rimraf": "^3.0.2",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"
},

@@ -42,10 +54,10 @@ "dependencies": {

"@types/dedent": "^0.7.0",
"@types/find-cache-dir": "^2.0.0",
"@types/find-package-json": "^1.1.0",
"@types/find-cache-dir": "^3.2.0",
"@types/find-package-json": "^1.1.1",
"@types/get-port": "^4.0.1",
"@types/lockfile": "^1.0.1",
"@types/md5-file": "^4.0.0",
"@types/mkdirp": "^0.5.2",
"@types/md5-file": "^4.0.1",
"@types/mkdirp": "^1.0.0",
"@types/tmp": "0.1.0",
"@types/uuid": "3.4.6",
"@types/uuid": "7.0.0",
"camelcase": "^5.3.1",

@@ -56,14 +68,14 @@ "cross-spawn": "^7.0.1",

"dedent": "^0.7.0",
"find-cache-dir": "3.2.0",
"find-cache-dir": "3.3.1",
"find-package-json": "^1.2.0",
"get-port": "5.0.0",
"https-proxy-agent": "4.0.0",
"get-port": "5.1.1",
"https-proxy-agent": "5.0.0",
"lockfile": "^1.0.4",
"md5-file": "^4.0.0",
"mkdirp": "^0.5.1",
"mkdirp": "^1.0.3",
"tmp": "^0.1.0",
"uuid": "^3.3.3"
"uuid": "^7.0.2"
},
"optionalDependencies": {
"mongodb": "^3.2.7"
"mongodb": "^3.5.4"
},

@@ -82,3 +94,3 @@ "scripts": {

},
"gitHead": "a498bef1ab18d6bc229c76551ebc7ce4289af1b9"
"gitHead": "52289e85710ac0b552ba50e9c9db32d4aef26547"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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