@storyous/mongodb 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +134 -134
- package/lib/appData/index.d.ts +12 -12
- package/lib/appData/index.js +39 -39
- package/lib/appData/index.ts +48 -48
- package/lib/concurrentTask.d.ts +9 -9
- package/lib/concurrentTask.js +19 -19
- package/lib/concurrentTask.ts +30 -30
- package/lib/fixtures.d.ts +5 -5
- package/lib/fixtures.js +27 -27
- package/lib/fixtures.ts +36 -36
- package/lib/getCollection.d.ts +3 -3
- package/lib/getCollection.js +8 -8
- package/lib/getCollection.ts +5 -5
- package/lib/getMongoConfig.d.ts +6 -6
- package/lib/getMongoConfig.js +86 -85
- package/lib/getMongoConfig.ts +78 -78
- package/lib/getMongoLocker.d.ts +10 -10
- package/lib/getMongoLocker.js +52 -52
- package/lib/getMongoLocker.ts +71 -71
- package/lib/global-bundle.pem +2876 -2876
- package/lib/index.d.ts +14 -13
- package/lib/index.js +34 -31
- package/lib/index.ts +32 -29
- package/lib/migrations/Migration.d.ts +6 -6
- package/lib/migrations/Migration.js +21 -21
- package/lib/migrations/Migration.ts +29 -29
- package/lib/migrations/MigrationsStore.d.ts +13 -13
- package/lib/migrations/MigrationsStore.js +64 -64
- package/lib/migrations/MigrationsStore.ts +81 -81
- package/lib/migrations/runMigrations.d.ts +12 -12
- package/lib/migrations/runMigrations.js +49 -49
- package/lib/migrations/runMigrations.ts +57 -57
- package/lib/migrations/template.d.ts +3 -3
- package/lib/migrations/template.js +10 -10
- package/lib/migrations/template.ts +7 -7
- package/lib/mongoClient.d.ts +8 -8
- package/lib/mongoClient.js +17 -17
- package/lib/mongoClient.ts +25 -25
- package/lib/mongoErrorCodes.d.ts +6 -6
- package/lib/mongoErrorCodes.js +10 -10
- package/lib/mongoErrorCodes.ts +10 -10
- package/lib/mongoLocker.d.ts +3 -3
- package/lib/mongoLocker.js +16 -16
- package/lib/mongoLocker.ts +15 -15
- package/lib/withTransaction.d.ts +3 -3
- package/lib/withTransaction.js +20 -20
- package/lib/withTransaction.ts +24 -24
- package/package.json +50 -49
package/package.json
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@storyous/mongodb",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "",
|
|
5
|
-
"homepage": "https://github.com/Storyous/mono-utils#readme",
|
|
6
|
-
"license": "ISC",
|
|
7
|
-
"main": "lib/index.js",
|
|
8
|
-
"types": "lib/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"lib"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"start": "tsc"
|
|
14
|
-
},
|
|
15
|
-
"mocha": {
|
|
16
|
-
"recursive": true,
|
|
17
|
-
"timeout": 15000,
|
|
18
|
-
"extension": [
|
|
19
|
-
"ts"
|
|
20
|
-
],
|
|
21
|
-
"exit": true,
|
|
22
|
-
"require": "ts-node/register"
|
|
23
|
-
},
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "git+https://github.com/Storyous/mono-utils.git"
|
|
27
|
-
},
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/Storyous/mono-utils/issues"
|
|
30
|
-
},
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"access": "public",
|
|
33
|
-
"registry": "https://registry.npmjs.org/"
|
|
34
|
-
},
|
|
35
|
-
"dependencies": {
|
|
36
|
-
"@storyous/errors": "^1.0.6",
|
|
37
|
-
"@types/lodash": "^4.14.182",
|
|
38
|
-
"lodash": "^4.17.21",
|
|
39
|
-
"migrate": "^1.8.0",
|
|
40
|
-
"winston": "^3.7.2"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@types/sinon": "^10.0.11",
|
|
44
|
-
"mongodb": "^4.9.0"
|
|
45
|
-
},
|
|
46
|
-
"peerDependencies": {
|
|
47
|
-
"mongodb": ">=4 <5"
|
|
48
|
-
}
|
|
49
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@storyous/mongodb",
|
|
3
|
+
"version": "1.7.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"homepage": "https://github.com/Storyous/mono-utils#readme",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"types": "lib/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"lib"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start": "tsc"
|
|
14
|
+
},
|
|
15
|
+
"mocha": {
|
|
16
|
+
"recursive": true,
|
|
17
|
+
"timeout": 15000,
|
|
18
|
+
"extension": [
|
|
19
|
+
"ts"
|
|
20
|
+
],
|
|
21
|
+
"exit": true,
|
|
22
|
+
"require": "ts-node/register"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/Storyous/mono-utils.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/Storyous/mono-utils/issues"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"registry": "https://registry.npmjs.org/"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@storyous/errors": "^1.0.6",
|
|
37
|
+
"@types/lodash": "^4.14.182",
|
|
38
|
+
"lodash": "^4.17.21",
|
|
39
|
+
"migrate": "^1.8.0",
|
|
40
|
+
"winston": "^3.7.2"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/sinon": "^10.0.11",
|
|
44
|
+
"mongodb": "^4.9.0"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"mongodb": ">=4 <5"
|
|
48
|
+
},
|
|
49
|
+
"gitHead": "2bf9844f1310d9c0a64dcea6047d55b0cbcb359b"
|
|
50
|
+
}
|