@yamato-daiwa/express-extensions 1.1.1 → 1.1.2

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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -64,16 +64,16 @@ The only method need to be implemented is `handleRequest`:
64
64
 
65
65
  ```typescript
66
66
  import type Express from "express";
67
- import ExpressMiddleware from "@Incubators/routing-controllers-polyfills/ExpressMiddleware";
67
+ import { ExpressMiddleware } from "@yamato-daiwa/express-extensions";
68
68
  import { Logger } from "@yamato-daiwa/es-extensions";
69
69
 
70
70
 
71
71
  export default class DebuggerMiddleware extends ExpressMiddleware {
72
72
 
73
73
  protected override async handleRequest(
74
- request: Express.Request,
75
- response: Express.Response,
76
- toNextMiddleware: ExpressMiddleware.ToNextMiddlewareTransfer
74
+ request: Express.Request,
75
+ response: Express.Response,
76
+ toNextMiddleware: ExpressMiddleware.ToNextMiddlewareTransfer
77
77
  ): Promise<void> {
78
78
 
79
79
  Logger.logInfo({
@@ -113,6 +113,7 @@ In comparison with `@QueryParams`,
113
113
 
114
114
  ```typescript
115
115
  import { Controller, Get, Reader } from "routing-controllers";
116
+ import { QueryParametersProcessor } from "@yamato-daiwa/express-extensions";
116
117
  import { RawObjectDataProcessor } from "@yamato-daiwa/es-extensions";
117
118
 
118
119
 
@@ -186,6 +187,7 @@ Additionally, you can set the custom deserializer per request what is basically
186
187
 
187
188
  ```typescript
188
189
  import { Controller, Get, Reader } from "routing-controllers";
190
+ import { QueryParametersProcessor } from "@yamato-daiwa/express-extensions";
189
191
  import { RawObjectDataProcessor, type ReadonlyParsedJSON_Object } from "@yamato-daiwa/es-extensions";
190
192
 
191
193
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamato-daiwa/express-extensions",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Additional functionality for Express.js and also \"routing-controllers\" aimed to reduce the routine code.",
5
5
  "keywords": [
6
6
  "nodejs",