@shelf/jest-mongodb
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "@shelf/jest-mongodb", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"private": false, | ||
"description": "Run your tests using Jest & MongoDB in Memory server", | ||
@@ -30,8 +31,8 @@ "keywords": [ | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix", | ||
"*.{html,md,yml}": [ | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.{html,json,md,yml}": [ | ||
"prettier --write", | ||
"*.{js,json}": [ | ||
"eslint --fix", | ||
"git add" | ||
@@ -46,13 +47,13 @@ ] | ||
"debug": "4.1.1", | ||
"mongodb-memory-server": "6.6.1", | ||
"uuid": "8.1.0" | ||
"mongodb-memory-server": "6.6.3", | ||
"uuid": "8.3.0" | ||
}, | ||
"devDependencies": { | ||
"@shelf/eslint-config": "0.18.0", | ||
"@shelf/eslint-config": "0.19.0", | ||
"@shelf/prettier-config": "0.0.7", | ||
"eslint": "7.4.0", | ||
"eslint": "7.6.0", | ||
"husky": "4.2.5", | ||
"jest": "26.1.0", | ||
"jest": "26.2.2", | ||
"lint-staged": "10.2.11", | ||
"mongodb": "3.5.9", | ||
"mongodb": "3.6.0", | ||
"prettier": "2.0.5" | ||
@@ -59,0 +60,0 @@ }, |
@@ -36,3 +36,3 @@ # jest-mongodb [![CircleCI](https://circleci.com/gh/shelfio/jest-mongodb/tree/master.svg?style=svg)](https://circleci.com/gh/shelfio/jest-mongodb/tree/master) ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg) [![npm (scoped)](https://img.shields.io/npm/v/@shelf/jest-mongodb.svg)](https://www.npmjs.com/package/@shelf/jest-mongodb) | ||
}, | ||
autoStart: false | ||
autoStart: false, | ||
instance: {} | ||
@@ -48,5 +48,2 @@ } | ||
mongodbMemoryServerOptions: { | ||
instance: { | ||
dbName: 'jest' | ||
}, | ||
binary: { | ||
@@ -58,3 +55,3 @@ version: '4.0.3', | ||
dbName: 'jest' | ||
} | ||
}, | ||
autoStart: false | ||
@@ -70,5 +67,2 @@ } | ||
mongodbMemoryServerOptions: { | ||
instance: { | ||
dbName: 'jest' | ||
}, | ||
binary: { | ||
@@ -78,3 +72,3 @@ version: '4.0.3', | ||
}, | ||
instance: {} | ||
instance: {}, | ||
autoStart: false | ||
@@ -142,4 +136,13 @@ } | ||
## Publish | ||
```sh | ||
$ git checkout master | ||
$ yarn version | ||
$ yarn publish | ||
$ git push origin master --tags | ||
``` | ||
## License | ||
MIT © [Shelf](https://shelf.io) |
const fs = require('fs'); | ||
const {resolve, join} = require('path'); | ||
const MongodbMemoryServer = require('mongodb-memory-server'); | ||
const cwd = process.cwd(); | ||
@@ -8,3 +9,2 @@ const debug = require('debug')('jest-mongodb:setup'); | ||
const cwd = process.cwd(); | ||
const globalConfigPath = join(cwd, 'globalConfig.json'); | ||
@@ -11,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11223
143
+ Added@types/tmp@0.2.6(transitive)
+ Added@types/uuid@8.3.4(transitive)
+ Addedcamelcase@6.3.0(transitive)
+ Addedfind-cache-dir@3.3.2(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedmd5-file@5.0.0(transitive)
+ Addedmongodb-memory-server@6.6.3(transitive)
+ Addedmongodb-memory-server-core@6.6.3(transitive)
+ Addedtmp@0.2.3(transitive)
+ Addeduuid@8.3.0(transitive)
- Removed@types/get-port@4.2.0(transitive)
- Removed@types/tmp@0.1.0(transitive)
- Removed@types/uuid@7.0.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfind-cache-dir@3.3.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedhttps-proxy-agent@5.0.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedmd5-file@4.0.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedmongodb-memory-server@6.6.1(transitive)
- Removedmongodb-memory-server-core@6.6.1(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedtmp@0.1.0(transitive)
- Removeduuid@7.0.38.1.0(transitive)
Updatedmongodb-memory-server@6.6.3
Updateduuid@8.3.0