fix(core): update

This commit is contained in:
Philipp Kunz 2020-09-09 02:50:27 +00:00
parent f799d3efa5
commit 635256f2f6
3 changed files with 48 additions and 120 deletions

152
package-lock.json generated
View File

@ -1646,9 +1646,9 @@
} }
}, },
"@pushrocks/smartlog": { "@pushrocks/smartlog": {
"version": "2.0.36", "version": "2.0.39",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartlog/-/smartlog-2.0.36.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartlog/-/smartlog-2.0.39.tgz",
"integrity": "sha512-guM03567UFZebx3urBQdiQecZwKvrR8c8fzt7EDPrI1ihArZc7ab6MQEu9yklPKqJMGLEz8t0oExgQ8804r73g==", "integrity": "sha512-fHCoBLwKM+F3jN5nZH6QEcEVWtgyESN+ysT9KLxmM/wrhIibG98yLxp6kwfZZbv6aKmHWbtKEvBmv+Vd4Hfwlg==",
"requires": { "requires": {
"@pushrocks/isounique": "^1.0.4", "@pushrocks/isounique": "^1.0.4",
"@pushrocks/smartlog-interfaces": "^2.0.20" "@pushrocks/smartlog-interfaces": "^2.0.20"
@ -2177,9 +2177,9 @@
} }
}, },
"@tsclass/tsclass": { "@tsclass/tsclass": {
"version": "3.0.24", "version": "3.0.25",
"resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-3.0.24.tgz", "resolved": "https://verdaccio.lossless.one/@tsclass%2ftsclass/-/tsclass-3.0.25.tgz",
"integrity": "sha512-fzmTQOkSqoUWhNSadbb5qxfjph3csZFiryBn24an1j+euFWYxEaaeSPBqPV3flxoHXzk68BTkho1ffmiypX5Kw==", "integrity": "sha512-CGfjdltByZYXyV+6WFOhBELjXDoes37Ww4w35D3MlCxT7MAKoxJn+PnIZ7Add4rJcJwziLuftYVKwKnY+FRRgA==",
"requires": { "requires": {
"@pushrocks/tapbundle": "^3.2.9", "@pushrocks/tapbundle": "^3.2.9",
"type-fest": "^0.16.0" "type-fest": "^0.16.0"
@ -2264,27 +2264,6 @@
"@types/express": "*" "@types/express": "*"
} }
}, },
"@types/cross-spawn": {
"version": "6.0.2",
"resolved": "https://verdaccio.lossless.one/@types%2fcross-spawn/-/cross-spawn-6.0.2.tgz",
"integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==",
"dev": true,
"requires": {
"@types/node": "*"
}
},
"@types/debug": {
"version": "4.1.5",
"resolved": "https://verdaccio.lossless.one/@types%2fdebug/-/debug-4.1.5.tgz",
"integrity": "sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ==",
"dev": true
},
"@types/dedent": {
"version": "0.7.0",
"resolved": "https://verdaccio.lossless.one/@types%2fdedent/-/dedent-0.7.0.tgz",
"integrity": "sha512-EGlKlgMhnLt/cM4DbUSafFdrkeJoC9Mvnj0PUCU7tFmTjMjNRT957kXCx0wYm3JuEq4o4ZsS5vG+NlkM2DMd2A==",
"dev": true
},
"@types/default-gateway": { "@types/default-gateway": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://verdaccio.lossless.one/@types%2fdefault-gateway/-/default-gateway-3.0.1.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fdefault-gateway/-/default-gateway-3.0.1.tgz",
@ -2344,21 +2323,6 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"@types/find-cache-dir": {
"version": "3.2.0",
"resolved": "https://verdaccio.lossless.one/@types%2ffind-cache-dir/-/find-cache-dir-3.2.0.tgz",
"integrity": "sha512-+JeT9qb2Jwzw72WdjU+TSvD5O1QRPWCeRpDJV+guiIq+2hwR0DFGw+nZNbTFjMIVe6Bf4GgAKeB/6Ytx6+MbeQ==",
"dev": true
},
"@types/find-package-json": {
"version": "1.1.1",
"resolved": "https://verdaccio.lossless.one/@types%2ffind-package-json/-/find-package-json-1.1.1.tgz",
"integrity": "sha512-XMCocYkg6VUpkbOQMKa3M5cgc3MvU/LJKQwd3VUJrWZbLr2ARUggupsCAF8DxjEEIuSO6HlnH+vl+XV4bgVeEQ==",
"dev": true,
"requires": {
"@types/node": "*"
}
},
"@types/form-data": { "@types/form-data": {
"version": "2.5.0", "version": "2.5.0",
"resolved": "https://verdaccio.lossless.one/@types%2fform-data/-/form-data-2.5.0.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fform-data/-/form-data-2.5.0.tgz",
@ -2397,22 +2361,10 @@
"@types/uglify-js": "*" "@types/uglify-js": "*"
} }
}, },
"@types/lockfile": {
"version": "1.0.1",
"resolved": "https://verdaccio.lossless.one/@types%2flockfile/-/lockfile-1.0.1.tgz",
"integrity": "sha512-65WZedEm4AnOsBDdsapJJG42MhROu3n4aSSiu87JXF/pSdlubxZxp3S1yz3kTfkJ2KBPud4CpjoHVAptOm9Zmw==",
"dev": true
},
"@types/lodash": { "@types/lodash": {
"version": "4.14.159", "version": "4.14.161",
"resolved": "https://verdaccio.lossless.one/@types%2flodash/-/lodash-4.14.159.tgz", "resolved": "https://verdaccio.lossless.one/@types%2flodash/-/lodash-4.14.161.tgz",
"integrity": "sha512-gF7A72f7WQN33DpqOWw9geApQPh4M3PxluMtaHxWHXEGSN12/WbcEk/eNSqWNQcQhF66VSZ06vCF94CrHwXJDg==" "integrity": "sha512-EP6O3Jkr7bXvZZSZYlsgt5DIjiGr0dXP1/jVEwVLTFgg0d+3lWVQkRavYVQszV7dYUwvg0B8R0MBDpcmXg7XIA=="
},
"@types/md5-file": {
"version": "4.0.2",
"resolved": "https://verdaccio.lossless.one/@types%2fmd5-file/-/md5-file-4.0.2.tgz",
"integrity": "sha512-8gacRfEqLrmZ6KofpFfxyjsm/LYepeWUWUJGaf5A9W9J5B2/dRZMdkDqFDL6YDa9IweH12IO76jO7mpsK2B3wg==",
"dev": true
}, },
"@types/mime": { "@types/mime": {
"version": "2.0.3", "version": "2.0.3",
@ -2431,19 +2383,10 @@
"resolved": "https://verdaccio.lossless.one/@types%2fminimatch/-/minimatch-3.0.3.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fminimatch/-/minimatch-3.0.3.tgz",
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
}, },
"@types/mkdirp": {
"version": "1.0.1",
"resolved": "https://verdaccio.lossless.one/@types%2fmkdirp/-/mkdirp-1.0.1.tgz",
"integrity": "sha512-HkGSK7CGAXncr8Qn/0VqNtExEE+PHMWb+qlR1faHMao7ng6P3tAaoWWBMdva0gL5h4zprjIO89GJOLXsMcDm1Q==",
"dev": true,
"requires": {
"@types/node": "*"
}
},
"@types/mongodb": { "@types/mongodb": {
"version": "3.5.26", "version": "3.5.27",
"resolved": "https://verdaccio.lossless.one/@types%2fmongodb/-/mongodb-3.5.26.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fmongodb/-/mongodb-3.5.27.tgz",
"integrity": "sha512-p0X2VJgIBNHfNBdZdzzG8eQ/3bf6mQoXDT0UhVyVEdSzXEa1+2pFcwGvEZp72sjztyBwfRKlgrXMjCVavLcuGg==", "integrity": "sha512-1jxKDgdfJEOO9zp+lv43p8jOqRs02xPrdUTzAZIVK9tVEySfCEmktL2jEu9A3wOBEOs18yKzpVIKUh8b8ALk3w==",
"requires": { "requires": {
"@types/bson": "*", "@types/bson": "*",
"@types/node": "*" "@types/node": "*"
@ -2459,9 +2402,9 @@
} }
}, },
"@types/node": { "@types/node": {
"version": "14.6.0", "version": "14.6.4",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.6.0.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.6.4.tgz",
"integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==" "integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="
}, },
"@types/parcel-bundler": { "@types/parcel-bundler": {
"version": "1.12.1", "version": "1.12.1",
@ -3049,9 +2992,9 @@
} }
}, },
"bl": { "bl": {
"version": "2.2.0", "version": "2.2.1",
"resolved": "https://verdaccio.lossless.one/bl/-/bl-2.2.0.tgz", "resolved": "https://verdaccio.lossless.one/bl/-/bl-2.2.1.tgz",
"integrity": "sha512-wbgvOpqopSr7uq6fJrLH8EsvYMJf9gzfo2jCsL2eTy75qXPukA4pCgHamOQkZtY5vmfVtjB+P3LNlMHW5CEZXA==", "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==",
"requires": { "requires": {
"readable-stream": "^2.3.5", "readable-stream": "^2.3.5",
"safe-buffer": "^5.1.1" "safe-buffer": "^5.1.1"
@ -4388,12 +4331,6 @@
"mimic-response": "^1.0.0" "mimic-response": "^1.0.0"
} }
}, },
"dedent": {
"version": "0.7.0",
"resolved": "https://verdaccio.lossless.one/dedent/-/dedent-0.7.0.tgz",
"integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=",
"dev": true
},
"deep-eql": { "deep-eql": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://verdaccio.lossless.one/deep-eql/-/deep-eql-3.0.1.tgz", "resolved": "https://verdaccio.lossless.one/deep-eql/-/deep-eql-3.0.1.tgz",
@ -7736,9 +7673,9 @@
} }
}, },
"mongodb": { "mongodb": {
"version": "3.6.0", "version": "3.6.1",
"resolved": "https://verdaccio.lossless.one/mongodb/-/mongodb-3.6.0.tgz", "resolved": "https://verdaccio.lossless.one/mongodb/-/mongodb-3.6.1.tgz",
"integrity": "sha512-/XWWub1mHZVoqEsUppE0GV7u9kanLvHxho6EvBxQbShXTKYF9trhZC2NzbulRGeG7xMJHD8IOWRcdKx5LPjAjQ==", "integrity": "sha512-uH76Zzr5wPptnjEKJRQnwTsomtFOU/kQEU8a9hKHr2M7y9qVk7Q4Pkv0EQVp88742z9+RwvsdTw6dRjDZCNu1g==",
"requires": { "requires": {
"bl": "^2.2.0", "bl": "^2.2.0",
"bson": "^1.1.4", "bson": "^1.1.4",
@ -7749,34 +7686,24 @@
} }
}, },
"mongodb-memory-server": { "mongodb-memory-server": {
"version": "6.6.4", "version": "6.7.0",
"resolved": "https://verdaccio.lossless.one/mongodb-memory-server/-/mongodb-memory-server-6.6.4.tgz", "resolved": "https://verdaccio.lossless.one/mongodb-memory-server/-/mongodb-memory-server-6.7.0.tgz",
"integrity": "sha512-GCtrlUDpq6oPkdlkmIgh0Q6vJYf7njzw8AJnbg/gime2NxuUtqcOK2n+9L3qeDzt6EZxdtP/+1u/80wfjwc5mA==", "integrity": "sha512-vCXvDfi2Sbvg6/Ww0LBRbp5FZtqeFA1zLJeF4wlwU7IBwcop3zI75nq+dm6hlMzLGVIsLhN5fb1Ps8hztz3TFw==",
"dev": true, "dev": true,
"requires": { "requires": {
"mongodb-memory-server-core": "6.6.4" "mongodb-memory-server-core": "6.7.0"
} }
}, },
"mongodb-memory-server-core": { "mongodb-memory-server-core": {
"version": "6.6.4", "version": "6.7.0",
"resolved": "https://verdaccio.lossless.one/mongodb-memory-server-core/-/mongodb-memory-server-core-6.6.4.tgz", "resolved": "https://verdaccio.lossless.one/mongodb-memory-server-core/-/mongodb-memory-server-core-6.7.0.tgz",
"integrity": "sha512-g4WMmXp2Gg305eKETaE9Nnp2eR3mTMKSTZJsxpXhsx+Mhl2IQoMLa78ny7eFPN7FORnLxQsmLMANv4b0bP+RDA==", "integrity": "sha512-N6pQqS6KjOGcfdydDgJ0ddaaifM8Ee6BtP+nFQIDjon76pvOtPuR8PddXM/tWeSv5fNhPx00/ILZCmpE8IiwLw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/cross-spawn": "^6.0.2",
"@types/debug": "^4.1.5",
"@types/dedent": "^0.7.0",
"@types/find-cache-dir": "^3.2.0",
"@types/find-package-json": "^1.1.1",
"@types/lockfile": "^1.0.1",
"@types/md5-file": "^4.0.2",
"@types/mkdirp": "^1.0.1",
"@types/tmp": "^0.2.0", "@types/tmp": "^0.2.0",
"@types/uuid": "^8.0.0",
"camelcase": "^6.0.0", "camelcase": "^6.0.0",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"debug": "^4.1.1", "debug": "^4.1.1",
"dedent": "^0.7.0",
"find-cache-dir": "^3.3.1", "find-cache-dir": "^3.3.1",
"find-package-json": "^1.2.0", "find-package-json": "^1.2.0",
"get-port": "^5.1.1", "get-port": "^5.1.1",
@ -7784,19 +7711,14 @@
"lockfile": "^1.0.4", "lockfile": "^1.0.4",
"md5-file": "^5.0.0", "md5-file": "^5.0.0",
"mkdirp": "^1.0.4", "mkdirp": "^1.0.4",
"mongodb": "^3.5.9", "mongodb": "3.6.1",
"semver": "^7.3.2",
"tar-stream": "^2.1.3", "tar-stream": "^2.1.3",
"tmp": "^0.2.1", "tmp": "^0.2.1",
"uuid": "^8.2.0", "uuid": "8.3.0",
"yauzl": "^2.10.0" "yauzl": "^2.10.0"
}, },
"dependencies": { "dependencies": {
"@types/uuid": {
"version": "8.3.0",
"resolved": "https://verdaccio.lossless.one/@types%2fuuid/-/uuid-8.3.0.tgz",
"integrity": "sha512-eQ9qFW/fhfGJF8WKHGEHZEyVWfZxrT+6CLIJGBcZPfxUh/+BnEj+UCGYMlr9qZuX/2AltsvwrGqp0LhEW8D0zQ==",
"dev": true
},
"agent-base": { "agent-base": {
"version": "6.0.1", "version": "6.0.1",
"resolved": "https://verdaccio.lossless.one/agent-base/-/agent-base-6.0.1.tgz", "resolved": "https://verdaccio.lossless.one/agent-base/-/agent-base-6.0.1.tgz",
@ -7851,6 +7773,12 @@
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
"dev": true "dev": true
}, },
"semver": {
"version": "7.3.2",
"resolved": "https://verdaccio.lossless.one/semver/-/semver-7.3.2.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
"dev": true
},
"shebang-command": { "shebang-command": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://verdaccio.lossless.one/shebang-command/-/shebang-command-2.0.0.tgz", "resolved": "https://verdaccio.lossless.one/shebang-command/-/shebang-command-2.0.0.tgz",
@ -10519,9 +10447,9 @@
}, },
"dependencies": { "dependencies": {
"bl": { "bl": {
"version": "4.0.2", "version": "4.0.3",
"resolved": "https://verdaccio.lossless.one/bl/-/bl-4.0.2.tgz", "resolved": "https://verdaccio.lossless.one/bl/-/bl-4.0.3.tgz",
"integrity": "sha512-j4OH8f6Qg2bGuWfRiltT2HYGx0e1QcBTrK9KAHNMwMZdQnDZFk0ZSYIpADjYCB3U12nicC5tVJwSIhwOWjb4RQ==", "integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
"dev": true, "dev": true,
"requires": { "requires": {
"buffer": "^5.5.0", "buffer": "^5.5.0",

View File

@ -22,14 +22,14 @@
"homepage": "https://gitlab.com/pushrocks/smartdata#README", "homepage": "https://gitlab.com/pushrocks/smartdata#README",
"dependencies": { "dependencies": {
"@pushrocks/lik": "^4.0.17", "@pushrocks/lik": "^4.0.17",
"@pushrocks/smartlog": "^2.0.36", "@pushrocks/smartlog": "^2.0.39",
"@pushrocks/smartpromise": "^3.0.6", "@pushrocks/smartpromise": "^3.0.6",
"@pushrocks/smartstring": "^3.0.18", "@pushrocks/smartstring": "^3.0.18",
"@tsclass/tsclass": "^3.0.24", "@tsclass/tsclass": "^3.0.25",
"@types/lodash": "^4.14.159", "@types/lodash": "^4.14.161",
"@types/mongodb": "^3.5.26", "@types/mongodb": "^3.5.27",
"lodash": "^4.17.20", "lodash": "^4.17.20",
"mongodb": "^3.6.0", "mongodb": "^3.6.1",
"runtime-type-checks": "0.0.4" "runtime-type-checks": "0.0.4"
}, },
"devDependencies": { "devDependencies": {
@ -39,9 +39,9 @@
"@pushrocks/smartunique": "^3.0.3", "@pushrocks/smartunique": "^3.0.3",
"@pushrocks/tapbundle": "^3.2.9", "@pushrocks/tapbundle": "^3.2.9",
"@types/mongodb-memory-server": "^2.3.0", "@types/mongodb-memory-server": "^2.3.0",
"@types/node": "^14.6.0", "@types/node": "^14.6.4",
"@types/shortid": "0.0.29", "@types/shortid": "0.0.29",
"mongodb-memory-server": "^6.6.4", "mongodb-memory-server": "^6.7.0",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0" "tslint-config-prettier": "^1.18.0"
}, },

View File

@ -41,7 +41,7 @@ export class SmartdataDb {
useNewUrlParser: true, useNewUrlParser: true,
useUnifiedTopology: true, useUnifiedTopology: true,
maxPoolSize: 100, maxPoolSize: 100,
maxIdleTimeMS: 10 maxIdleTimeMS: 10,
}); });
this.mongoDb = this.mongoDbClient.db(this.smartdataOptions.mongoDbName); this.mongoDb = this.mongoDbClient.db(this.smartdataOptions.mongoDbName);
this.status = 'connected'; this.status = 'connected';