nestjs-pino 4.3.0 → 4.3.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/LoggerModule.js CHANGED
@@ -14,7 +14,6 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  var LoggerModule_1;
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.LoggerModule = void 0;
17
- /* eslint-disable @typescript-eslint/no-explicit-any */
18
17
  const common_1 = require("@nestjs/common");
19
18
  const pino_http_1 = require("pino-http");
20
19
  const InjectPinoLogger_1 = require("./InjectPinoLogger");
@@ -108,9 +107,6 @@ function bindLoggerMiddlewareFactory(useExisting, assignResponse) {
108
107
  if (assignResponse && !useExisting && res.allLogs) {
109
108
  resLog = res.allLogs[res.allLogs.length - 1];
110
109
  }
111
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
112
- // @ts-ignore: run requires arguments for next but should not because it can
113
- // be called without arguments
114
110
  storage_1.storage.run(new storage_1.Store(log, resLog), next);
115
111
  };
116
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-pino",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Pino logger for NestJS",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -60,7 +60,7 @@
60
60
  "eslint-config-prettier": "^10.0.1",
61
61
  "eslint-plugin-import": "^2.31.0",
62
62
  "eslint-plugin-prettier": "^5.2.3",
63
- "globals": "^15.14.0",
63
+ "globals": "^16.0.0",
64
64
  "jest": "29.7.0",
65
65
  "memorystream": "^0.3.1",
66
66
  "pino": "^9.6.0",
@@ -77,6 +77,8 @@
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
80
- "pino-http": "^6.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
80
+ "pino": "^7.5.0 || ^8.0.0 || ^9.0.0",
81
+ "pino-http": "^6.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
82
+ "rxjs": "^7.1.0"
81
83
  }
82
84
  }
package/postinstall.js CHANGED
@@ -9,10 +9,10 @@ console.log(`
9
9
  \t\tbombed cities (including schools, hospitals, etc), hundreds of killed children, millions of refugees.
10
10
  \t\tSo if you enjoy this library you can thank the author by donating to one of this funds:
11
11
  \t\t• https://war.ukraine.ua/donate/ – Armed Forces of Ukraine
12
- \t\t• https://www.comebackalive.in.ua/ – Ukrainian volunteers
12
+ \t\t• https://savelife.in.ua/en/ – "The Come Back Alive" foundation
13
13
 
14
14
  \t\tThanks for your support! 🇺🇦
15
15
 
16
16
  `);
17
17
 
18
- new Promise(r => setTimeout(r, 5000));
18
+ new Promise((r) => setTimeout(r, 5000));