diagnostic-channel-publishers
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -268,3 +268,3 @@ "use strict"; | ||
exports.postgres7 = { | ||
versionSpecifier: "7.*", | ||
versionSpecifier: ">=7.* <=8.*", | ||
patch: postgres7PatchFunction, | ||
@@ -271,0 +271,0 @@ }; |
@@ -37,3 +37,3 @@ "use strict"; | ||
exports.redis = { | ||
versionSpecifier: ">= 2.0.0 < 3.0.0", | ||
versionSpecifier: ">= 2.0.0 < 4.0.0", | ||
patch: redisPatchFunction, | ||
@@ -40,0 +40,0 @@ }; |
import { IModulePatcher } from "diagnostic-channel"; | ||
export interface IWinstonData { | ||
message: string; | ||
message: string | Error; | ||
meta: any; | ||
@@ -5,0 +5,0 @@ level: string; |
@@ -82,2 +82,3 @@ "use strict"; | ||
level = typeof Symbol["for"] === "function" ? info[Symbol["for"]("level")] : level; // Symbol(level) is uncolorized, so prefer getting it from here | ||
message = info instanceof Error ? info : message; // Winston places Errors at info, strings at info.message | ||
var levelKind = mapLevelToKind(this.winston, level); | ||
@@ -84,0 +85,0 @@ meta = meta || {}; // Winston _somtimes_ puts metadata inside meta, so start from here |
{ | ||
"name": "diagnostic-channel-publishers", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"main": "dist/src/index.js", | ||
@@ -33,5 +33,5 @@ "types": "dist/src/index.d.ts", | ||
"mysql": "^2.16.0", | ||
"pg": "^7.8.0", | ||
"pg": "^8.2.1", | ||
"q": "1.5.0", | ||
"redis": "^2.7.1", | ||
"redis": "^3.0.2", | ||
"rimraf": "^2.6.1", | ||
@@ -38,0 +38,0 @@ "tedious": "^8.0.1", |
@@ -6,6 +6,6 @@ # Diagnostic Channel Publishers | ||
## Currently-supported modules | ||
* [`redis`](https://github.com/NodeRedis/node_redis) v2.x | ||
* [`redis`](https://github.com/NodeRedis/node_redis) v2.x, v3.x | ||
* [`mysql`](https://github.com/mysqljs/mysql) v2.x | ||
* [`mongodb`](https://github.com/mongodb/node-mongodb-native) v2.x, v3.x | ||
* [`pg`](https://github.com/brianc/node-postgres) v6.x, v7.x | ||
* [`pg`](https://github.com/brianc/node-postgres) v6.x, v7.x, v8.x | ||
* [`pg-pool`](https://github.com/brianc/node-pg-pool) v1.x, v2.x | ||
@@ -16,2 +16,5 @@ * [`bunyan`](https://github.com/trentm/node-bunyan) v1.x | ||
## Release notes | ||
### 0.3.5 June 8, 2020 | ||
* Add support for `redis@3.x` and `pg@8.x` | ||
### 0.3.3 - August 15, 2019 | ||
@@ -18,0 +21,0 @@ * Fix patching issue with new [mongodb@3.3.0+](https://github.com/mongodb/node-mongodb-native/releases/tag/v3.3.0) driver |
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
55700
1201
38