nestjs-pino 3.2.0-alpha.7635ab → 3.2.0-alpha.7b37ea

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.
@@ -1,5 +1,5 @@
1
1
  import { Provider } from '@nestjs/common';
2
2
  import { PinoLogger } from './PinoLogger';
3
- export declare function InjectPinoLogger(context?: string): (target: object, key: string | symbol | undefined, index?: number | undefined) => void;
3
+ export declare function InjectPinoLogger(context?: string): PropertyDecorator & ParameterDecorator;
4
4
  export declare function createProvidersForDecorated(): Array<Provider<PinoLogger>>;
5
5
  export declare function getLoggerToken(context: string): string;
package/README.md CHANGED
@@ -595,74 +595,4 @@ All the other cases are lead to either code duplication or unexpected behavior.
595
595
 
596
596
  <h2 align="center">Do you use this library?<br/>Don't be shy to give it a star! ★</h2>
597
597
 
598
- Also if you are into NestJS ecosystem you may be interested in one of my other libs:
599
-
600
- [nestjs-pino](https://github.com/iamolegga/nestjs-pino)
601
-
602
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/nestjs-pino?style=flat-square)](https://github.com/iamolegga/nestjs-pino)
603
- [![npm](https://img.shields.io/npm/dm/nestjs-pino?style=flat-square)](https://www.npmjs.com/package/nestjs-pino)
604
-
605
- Platform agnostic logger for NestJS based on [pino](http://getpino.io/) with request context in every log
606
-
607
- ---
608
-
609
- [nestjs-session](https://github.com/iamolegga/nestjs-session)
610
-
611
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/nestjs-session?style=flat-square)](https://github.com/iamolegga/nestjs-session)
612
- [![npm](https://img.shields.io/npm/dm/nestjs-session?style=flat-square)](https://www.npmjs.com/package/nestjs-session)
613
-
614
- Idiomatic session module for NestJS. Built on top of [express-session](https://www.npmjs.com/package/express-session)
615
-
616
- ---
617
-
618
- [nestjs-cookie-session](https://github.com/iamolegga/nestjs-cookie-session)
619
-
620
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/nestjs-cookie-session?style=flat-square)](https://github.com/iamolegga/nestjs-cookie-session)
621
- [![npm](https://img.shields.io/npm/dm/nestjs-cookie-session?style=flat-square)](https://www.npmjs.com/package/nestjs-cookie-session)
622
-
623
- Idiomatic cookie session module for NestJS. Built on top of [cookie-session](https://www.npmjs.com/package/cookie-session)
624
-
625
- ---
626
-
627
- [nestjs-roles](https://github.com/iamolegga/nestjs-roles)
628
-
629
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/nestjs-roles?style=flat-square)](https://github.com/iamolegga/nestjs-roles)
630
- [![npm](https://img.shields.io/npm/dm/nestjs-roles?style=flat-square)](https://www.npmjs.com/package/nestjs-roles)
631
-
632
- Type safe roles guard and decorator made easy
633
-
634
- ---
635
-
636
- [nestjs-injectable](https://github.com/segmentstream/nestjs-injectable)
637
-
638
- [![GitHub stars](https://img.shields.io/github/stars/segmentstream/nestjs-injectable?style=flat-square)](https://github.com/segmentstream/nestjs-injectable)
639
- [![npm](https://img.shields.io/npm/dm/nestjs-injectable?style=flat-square)](https://www.npmjs.com/package/nestjs-injectable)
640
-
641
- `@Injectable()` on steroids that simplifies work with inversion of control in your hexagonal architecture
642
-
643
- ---
644
-
645
- [nest-ratelimiter](https://github.com/iamolegga/nestjs-ratelimiter)
646
-
647
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/nestjs-ratelimiter?style=flat-square)](https://github.com/iamolegga/nestjs-ratelimiter)
648
- [![npm](https://img.shields.io/npm/dm/nest-ratelimiter?style=flat-square)](https://www.npmjs.com/package/nest-ratelimiter)
649
-
650
- Distributed consistent flexible NestJS rate limiter based on Redis
651
-
652
- ---
653
-
654
- [create-nestjs-middleware-module](https://github.com/iamolegga/create-nestjs-middleware-module)
655
-
656
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/create-nestjs-middleware-module?style=flat-square)](https://github.com/iamolegga/create-nestjs-middleware-module)
657
- [![npm](https://img.shields.io/npm/dm/create-nestjs-middleware-module?style=flat-square)](https://www.npmjs.com/package/create-nestjs-middleware-module)
658
-
659
- Create simple idiomatic NestJS module based on Express/Fastify middleware in just a few lines of code with routing out of the box
660
-
661
- ---
662
-
663
- [nestjs-configure-after](https://github.com/iamolegga/nestjs-configure-after)
664
-
665
- [![GitHub stars](https://img.shields.io/github/stars/iamolegga/nestjs-configure-after?style=flat-square)](https://github.com/iamolegga/nestjs-configure-after)
666
- [![npm](https://img.shields.io/npm/dm/nestjs-configure-after?style=flat-square)](https://www.npmjs.com/package/nestjs-configure-after)
667
-
668
- Declarative configuration of NestJS middleware order
598
+ <h3 align="center">Also if you are into NestJS you might be interested in one of my <a href="https://github.com/iamolegga#nestjs">other NestJS libs</a>.</h3>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-pino",
3
- "version": "3.2.0-alpha.7635ab",
3
+ "version": "3.2.0-alpha.7b37ea",
4
4
  "description": "Pino logger for NestJS",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -39,36 +39,36 @@
39
39
  },
40
40
  "homepage": "https://github.com/iamolegga/nestjs-pino#readme",
41
41
  "devDependencies": {
42
- "@nestjs/common": "^9.4.0",
43
- "@nestjs/core": "^9.4.0",
44
- "@nestjs/platform-express": "^9.4.0",
45
- "@nestjs/platform-fastify": "^9.4.0",
46
- "@nestjs/testing": "^9.4.0",
42
+ "@nestjs/common": "^10.0.0",
43
+ "@nestjs/core": "^10.0.0",
44
+ "@nestjs/platform-express": "^10.0.0",
45
+ "@nestjs/platform-fastify": "^10.0.0",
46
+ "@nestjs/testing": "^10.0.0",
47
47
  "@types/express": "^4.17.17",
48
- "@types/jest": "^29.5.0",
48
+ "@types/jest": "^29.5.2",
49
49
  "@types/memorystream": "^0.3.1",
50
- "@types/node": "^20.1.0",
50
+ "@types/node": "^20.3.1",
51
51
  "@types/supertest": "^2.0.12",
52
- "@typescript-eslint/eslint-plugin": "^5.59.0",
53
- "@typescript-eslint/parser": "^5.59.0",
54
- "eslint": "^8.38.0",
52
+ "@typescript-eslint/eslint-plugin": "^5.59.11",
53
+ "@typescript-eslint/parser": "^5.59.11",
54
+ "eslint": "^8.42.0",
55
55
  "eslint-config-prettier": "^8.8.0",
56
56
  "eslint-plugin-import": "^2.27.5",
57
57
  "eslint-plugin-prettier": "^4.2.1",
58
58
  "jest": "29.5.0",
59
59
  "memorystream": "^0.3.1",
60
- "pino": "^8.11.0",
60
+ "pino": "^8.14.1",
61
61
  "pino-http": "^8.3.3",
62
- "prettier": "^2.8.7",
62
+ "prettier": "^2.8.8",
63
63
  "reflect-metadata": "^0.1.13",
64
- "rimraf": "^5.0.0",
65
- "rxjs": "^7.8.0",
64
+ "rimraf": "^5.0.1",
65
+ "rxjs": "^7.8.1",
66
66
  "supertest": "^6.3.3",
67
67
  "ts-jest": "^29.1.0",
68
- "ts-loader": "^9.4.2",
68
+ "ts-loader": "^9.4.3",
69
69
  "ts-node": "^10.9.1",
70
70
  "tslint": "^6.0.0",
71
- "typescript": "^5.0.4"
71
+ "typescript": "^5.1.3"
72
72
  },
73
73
  "jest": {
74
74
  "moduleFileExtensions": [
@@ -87,7 +87,7 @@
87
87
  "testEnvironment": "node"
88
88
  },
89
89
  "peerDependencies": {
90
- "@nestjs/common": "^8.0.0 || ^9.0.0",
90
+ "@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0",
91
91
  "pino-http": "^6.4.0 || ^7.0.0 || ^8.0.0"
92
92
  }
93
93
  }