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.
- package/InjectPinoLogger.d.ts +1 -1
- package/README.md +1 -71
- package/package.json +18 -18
package/InjectPinoLogger.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Provider } from '@nestjs/common';
|
|
2
2
|
import { PinoLogger } from './PinoLogger';
|
|
3
|
-
export declare function InjectPinoLogger(context?: string):
|
|
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
|
|
599
|
-
|
|
600
|
-
[nestjs-pino](https://github.com/iamolegga/nestjs-pino)
|
|
601
|
-
|
|
602
|
-
[](https://github.com/iamolegga/nestjs-pino)
|
|
603
|
-
[](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
|
-
[](https://github.com/iamolegga/nestjs-session)
|
|
612
|
-
[](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
|
-
[](https://github.com/iamolegga/nestjs-cookie-session)
|
|
621
|
-
[](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
|
-
[](https://github.com/iamolegga/nestjs-roles)
|
|
630
|
-
[](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
|
-
[](https://github.com/segmentstream/nestjs-injectable)
|
|
639
|
-
[](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
|
-
[](https://github.com/iamolegga/nestjs-ratelimiter)
|
|
648
|
-
[](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
|
-
[](https://github.com/iamolegga/create-nestjs-middleware-module)
|
|
657
|
-
[](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
|
-
[](https://github.com/iamolegga/nestjs-configure-after)
|
|
666
|
-
[](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.
|
|
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": "^
|
|
43
|
-
"@nestjs/core": "^
|
|
44
|
-
"@nestjs/platform-express": "^
|
|
45
|
-
"@nestjs/platform-fastify": "^
|
|
46
|
-
"@nestjs/testing": "^
|
|
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.
|
|
48
|
+
"@types/jest": "^29.5.2",
|
|
49
49
|
"@types/memorystream": "^0.3.1",
|
|
50
|
-
"@types/node": "^20.1
|
|
50
|
+
"@types/node": "^20.3.1",
|
|
51
51
|
"@types/supertest": "^2.0.12",
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
53
|
-
"@typescript-eslint/parser": "^5.59.
|
|
54
|
-
"eslint": "^8.
|
|
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.
|
|
60
|
+
"pino": "^8.14.1",
|
|
61
61
|
"pino-http": "^8.3.3",
|
|
62
|
-
"prettier": "^2.8.
|
|
62
|
+
"prettier": "^2.8.8",
|
|
63
63
|
"reflect-metadata": "^0.1.13",
|
|
64
|
-
"rimraf": "^5.0.
|
|
65
|
-
"rxjs": "^7.8.
|
|
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.
|
|
68
|
+
"ts-loader": "^9.4.3",
|
|
69
69
|
"ts-node": "^10.9.1",
|
|
70
70
|
"tslint": "^6.0.0",
|
|
71
|
-
"typescript": "^5.
|
|
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
|
}
|