Apply dependencies update
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 5 Mar 2022 11:01:31 +0000 (12:01 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 5 Mar 2022 11:01:31 +0000 (12:01 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.prettierignore
README.md
package-lock.json
package.json
src/performance/storage/Storage.ts

index 63253dddc85429a4b3d0ceb7b5445243ab6b38cc..f4197d3bb644f593ef144a2d224ed32608132b55 100644 (file)
@@ -5,4 +5,5 @@ outputs
 tsconfig.json
 package-lock.json
 performanceRecords.json
+*.clinic-*
 *-audit.json
index fb393f9b1d0c91af4f01f456eb229d1962553263..c30d44b9e0f547531961b22bd10f09a9f99a6c31 100644 (file)
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ choco install -y nodejs-lts
 - [Homebrew](https://brew.sh/):
 
 ```shell
-brew install node@14
+brew install node@16
 ```
 
 ### GNU/Linux:
index 172acea2bd0a2fc3eeba95e68853856abb55113e..48353c2a9320172f42c37499db260466cec6924b 100644 (file)
@@ -56,7 +56,7 @@
         "prettier": "^2.5.1",
         "release-it": "^14.12.5",
         "robohydra": "^0.6.9",
-        "rollup": "^2.69.0",
+        "rollup": "^2.69.1",
         "rollup-plugin-analyzer": "^4.0.0",
         "rollup-plugin-copy": "^3.4.0",
         "rollup-plugin-delete": "^2.0.0",
       }
     },
     "node_modules/rollup": {
-      "version": "2.69.0",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.69.0.tgz",
-      "integrity": "sha512-kjER91tHyek8gAkuz7+558vSnTQ+pITEok1P0aNOS45ZXyngaqPsXJmSel4QPQnJo7EJMjXUU1/GErWkWiKORg==",
+      "version": "2.69.1",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.69.1.tgz",
+      "integrity": "sha512-xaQKTomUVZBopk38EIshM/kOoPFkKWisgBV7Emy80coP9MOSLUDrba1jKZhqH0iS5DoGcRbbcuyl/BzblV8w5w==",
       "dev": true,
       "bin": {
         "rollup": "dist/bin/rollup"
       }
     },
     "rollup": {
-      "version": "2.69.0",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.69.0.tgz",
-      "integrity": "sha512-kjER91tHyek8gAkuz7+558vSnTQ+pITEok1P0aNOS45ZXyngaqPsXJmSel4QPQnJo7EJMjXUU1/GErWkWiKORg==",
+      "version": "2.69.1",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.69.1.tgz",
+      "integrity": "sha512-xaQKTomUVZBopk38EIshM/kOoPFkKWisgBV7Emy80coP9MOSLUDrba1jKZhqH0iS5DoGcRbbcuyl/BzblV8w5w==",
       "dev": true,
       "requires": {
         "fsevents": "~2.3.2"
index 5fd483ae4c4d9107e5f9e6aac932c167b00f74e5..e9847a319d6dfa863f758f555f3ab68cb2f8bc59 100644 (file)
     "prettier": "^2.5.1",
     "release-it": "^14.12.5",
     "robohydra": "^0.6.9",
-    "rollup": "^2.69.0",
+    "rollup": "^2.69.1",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-copy": "^3.4.0",
     "rollup-plugin-delete": "^2.0.0",
index 266d934177886eec06ca97b19a8ba07db11a5c42..4770fb7520737cf1da7b3c4833761fd9ba9b7344 100644 (file)
@@ -25,10 +25,12 @@ export abstract class Storage {
     table?: string,
     params: HandleErrorParams<EmptyObject> = { throwError: false }
   ): void {
+    const inTableOrCollectionStr =
+      (!Utils.isNullOrUndefined(table) || !table) && ` in table or collection '${table}'`;
     logger.error(
-      `${this.logPrefix} ${this.getDBNameFromStorageType(type)} error '${error.message}'${
-        (!Utils.isNullOrUndefined(table) || !table) && ` in table or collection '${table}'`
-      }: %j`,
+      `${this.logPrefix} ${this.getDBNameFromStorageType(type)} error '${
+        error.message
+      }'${inTableOrCollectionStr}: %j`,
       error
     );
     if (params?.throwError) {