@modern-js/types 2.22.0 → 2.23.0

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/types
2
2
 
3
+ ## 2.23.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7e6fb5f: chore: publishConfig add provenance config
8
+
9
+ chore: publishConfig 增加 provenance 配置
10
+
11
+ ## 2.22.1
12
+
13
+ ### Patch Changes
14
+
15
+ - 25b490a: fix: add missing type definitions
16
+ fix: 添加遗漏的类型定义
17
+
3
18
  ## 2.22.0
4
19
 
5
20
  ## 2.21.1
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.22.0",
18
+ "version": "2.23.0",
19
19
  "types": "./index.d.ts",
20
20
  "exports": {
21
21
  ".": {
@@ -45,13 +45,14 @@
45
45
  "http-proxy-middleware": "^2.0.4",
46
46
  "jest": "^29",
47
47
  "type-fest": "2.15.0",
48
- "@scripts/build": "2.22.0",
49
- "@scripts/jest-config": "2.22.0"
48
+ "@scripts/jest-config": "2.23.0",
49
+ "@scripts/build": "2.23.0"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "publishConfig": {
53
53
  "registry": "https://registry.npmjs.org/",
54
- "access": "public"
54
+ "access": "public",
55
+ "provenance": true
55
56
  },
56
57
  "scripts": {
57
58
  "test": "jest --passWithNoTests"
package/server/hook.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IncomingMessage, ServerResponse } from 'http';
1
+ import { IncomingMessage, ServerResponse, IncomingHttpHeaders } from 'http';
2
2
 
3
3
  export type CookieAPI = {
4
4
  /**