Socket
Socket
Sign inDemoInstall

@shelf/jest-mongodb

Package Overview
Dependencies
117
Maintainers
54
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

14

package.json
{
"name": "@shelf/jest-mongodb",
"version": "3.0.1",
"version": "3.0.2",
"private": false,

@@ -47,9 +47,9 @@ "description": "Run your tests using Jest & MongoDB in Memory server",

"@shelf/prettier-config": "1.0.0",
"eslint": "8.16.0",
"eslint": "8.18.0",
"husky": "8.0.1",
"jest": "28.1.0",
"lint-staged": "12.4.3",
"mongodb": "4.6.0",
"prettier": "2.6.2",
"typescript": "4.7.2"
"jest": "28.1.1",
"lint-staged": "13.0.2",
"mongodb": "4.7.0",
"prettier": "2.7.1",
"typescript": "4.7.4"
},

@@ -56,0 +56,0 @@ "peerDependencies": {

const debug = require('debug')('jest-mongodb:teardown');
const {join} = require('path');
const fs = require('fs');
const cwd = process.cwd();
const globalConfigPath = join(cwd, 'globalConfig.json');
module.exports = async function () {

@@ -8,2 +13,10 @@ debug('Teardown mongod');

}
fs.unlink(globalConfigPath, err => {
if (err) {
debug('Config could not be deleted');
return;
}
debug('Config is deleted');
});
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc