slonik-interceptor-query-logging
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -28,2 +28,5 @@ "use strict"; | ||
for (const notice of result.notices) { | ||
if (!notice.message) { | ||
continue; | ||
} | ||
if ((0, utilities_1.isAutoExplainJsonMessage)(notice.message)) { | ||
@@ -30,0 +33,0 @@ context.log.info({ |
@@ -25,3 +25,3 @@ { | ||
"devDependencies": { | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.2", | ||
"ava": "^3.15.0", | ||
@@ -33,4 +33,4 @@ "babel-plugin-istanbul": "^6.1.1", | ||
"del-cli": "^4.0.1", | ||
"eslint": "^8.3.0", | ||
"eslint-config-canonical": "^32.43.0", | ||
"eslint": "^8.4.1", | ||
"eslint-config-canonical": "^32.46.0", | ||
"husky": "^7.0.4", | ||
@@ -41,5 +41,5 @@ "inline-loops.macro": "^1.2.2", | ||
"sinon": "^12.0.1", | ||
"slonik": "^22.4.0", | ||
"slonik": "^26.0.0", | ||
"ts-node": "^10.4.0", | ||
"typescript": "^4.5.2" | ||
"typescript": "^4.5.3" | ||
}, | ||
@@ -75,3 +75,3 @@ "engines": { | ||
"typings": "./dist/src/index.d.ts", | ||
"version": "1.4.3" | ||
"version": "1.4.4" | ||
} |
@@ -43,2 +43,6 @@ import prettyMs from 'pretty-ms'; | ||
for (const notice of result.notices) { | ||
if (!notice.message) { | ||
continue; | ||
} | ||
if (isAutoExplainJsonMessage(notice.message)) { | ||
@@ -45,0 +49,0 @@ context.log.info({ |
20783
278