@modern-js/plugin-express 1.7.1 → 1.7.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @modern-js/plugin-express
2
2
 
3
+ ## 1.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b5fe1a6: feat: support bff zod schema use transform/record/lazy
8
+
9
+ feat: 支持 bff 中 zod schema 使用 transform/record/lazy
10
+
11
+ - Updated dependencies [79e83ef]
12
+ - Updated dependencies [22f4dca]
13
+ - Updated dependencies [7b9067f]
14
+ - Updated dependencies [b5fe1a6]
15
+ - @modern-js/utils@1.9.0
16
+ - @modern-js/bff-core@1.2.2
17
+
3
18
  ## 1.7.1
4
19
 
5
20
  ### Patch Changes
@@ -4,8 +4,8 @@ import type { Request, Response } from 'express';
4
4
  export declare type EndFunction = ((func: (res: Response) => void) => void) & ((data: unknown) => void);
5
5
  declare type MaybeAsync<T> = T | Promise<T>;
6
6
  declare type PipeFunction<T> = (value: T, end: EndFunction) => MaybeAsync<void> | MaybeAsync<T>;
7
- export declare const Pipe: <T>(func: PipeFunction<T>) => Operator<void>;
7
+ export declare const Pipe: <T>(func: PipeFunction<T>) => Operator;
8
8
  export declare type Pipe = typeof Pipe;
9
- export declare const Middleware: (middleware: (req: Request, res: Response, next: NextFunction) => void) => Operator<void>;
9
+ export declare const Middleware: (middleware: (req: Request, res: Response, next: NextFunction) => void) => Operator;
10
10
  export declare type Middleware = typeof Middleware;
11
11
  export {};
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.7.1",
14
+ "version": "1.7.2",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -35,10 +35,10 @@
35
35
  "dependencies": {
36
36
  "@babel/runtime": "^7.18.0",
37
37
  "@modern-js/adapter-helpers": "^1.3.0",
38
- "@modern-js/bff-core": "^1.2.1",
38
+ "@modern-js/bff-core": "^1.2.2",
39
39
  "@modern-js/bff-runtime": "^1.4.0",
40
- "@modern-js/types": "^1.6.1",
41
- "@modern-js/utils": "^1.8.0",
40
+ "@modern-js/types": "^1.6.2",
41
+ "@modern-js/utils": "^1.9.0",
42
42
  "cookie-parser": "^1.4.5",
43
43
  "finalhandler": "^1.1.2",
44
44
  "formidable": "^1.2.2",
@@ -46,7 +46,7 @@
46
46
  "type-is": "^1.6.18"
47
47
  },
48
48
  "devDependencies": {
49
- "@modern-js/core": "1.13.2",
49
+ "@modern-js/core": "1.14.0",
50
50
  "@modern-js/server-core": "1.4.1",
51
51
  "@scripts/build": "0.0.0",
52
52
  "@scripts/jest-config": "0.0.0",