rspack-plugin-mock 1.0.1 → 1.1.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/dist/helper.d.cts +1 -1
- package/dist/helper.d.ts +1 -1
- package/package.json +19 -19
package/dist/helper.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as MockHttpItem, a as MockWebsocketItem, b as MockOptions } from './types-Aw0AciTG.cjs';
|
|
2
2
|
export { B as BodyParserOptions, E as ExtraRequest, F as FormidableFile, i as LogLevel, L as LogType, f as Method, d as MockMatchPriority, e as MockMatchSpecialPriority, g as MockRequest, h as MockResponse, c as MockServerPluginOptions, R as ResponseBody, S as ServerBuildOption, W as WebSocketSetupContext } from './types-Aw0AciTG.cjs';
|
|
3
|
-
import { IncomingMessage, ServerResponse
|
|
3
|
+
import { OutgoingHttpHeaders, IncomingMessage, ServerResponse } from 'node:http';
|
|
4
4
|
import { Transform } from 'node:stream';
|
|
5
5
|
import 'co-body';
|
|
6
6
|
import 'cookies';
|
package/dist/helper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as MockHttpItem, a as MockWebsocketItem, b as MockOptions } from './types-Aw0AciTG.js';
|
|
2
2
|
export { B as BodyParserOptions, E as ExtraRequest, F as FormidableFile, i as LogLevel, L as LogType, f as Method, d as MockMatchPriority, e as MockMatchSpecialPriority, g as MockRequest, h as MockResponse, c as MockServerPluginOptions, R as ResponseBody, S as ServerBuildOption, W as WebSocketSetupContext } from './types-Aw0AciTG.js';
|
|
3
|
-
import { IncomingMessage, ServerResponse
|
|
3
|
+
import { OutgoingHttpHeaders, IncomingMessage, ServerResponse } from 'node:http';
|
|
4
4
|
import { Transform } from 'node:stream';
|
|
5
5
|
import 'co-body';
|
|
6
6
|
import 'cookies';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rspack-plugin-mock",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description": "inject api mock server to development server",
|
|
6
6
|
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -86,29 +86,29 @@
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@pengzhanbo/utils": "^
|
|
89
|
+
"@pengzhanbo/utils": "^2.0.0",
|
|
90
90
|
"@rollup/pluginutils": "^5.1.4",
|
|
91
91
|
"chokidar": "3.6.0",
|
|
92
92
|
"co-body": "^6.2.0",
|
|
93
93
|
"cookies": "^0.9.1",
|
|
94
94
|
"cors": "^2.8.5",
|
|
95
95
|
"debug": "^4.4.0",
|
|
96
|
-
"fast-glob": "^3.3.
|
|
96
|
+
"fast-glob": "^3.3.3",
|
|
97
97
|
"formidable": "2.1.2",
|
|
98
|
-
"http-status": "^2.
|
|
99
|
-
"is-core-module": "^2.16.
|
|
98
|
+
"http-status": "^2.1.0",
|
|
99
|
+
"is-core-module": "^2.16.1",
|
|
100
100
|
"json5": "^2.2.3",
|
|
101
|
-
"memfs": "^4.
|
|
102
|
-
"mime-types": "^
|
|
101
|
+
"memfs": "^4.17.0",
|
|
102
|
+
"mime-types": "^3.0.1",
|
|
103
103
|
"path-to-regexp": "6.3.0",
|
|
104
104
|
"picocolors": "^1.1.1",
|
|
105
|
-
"portfinder": "^1.0.
|
|
106
|
-
"ws": "^8.18.
|
|
105
|
+
"portfinder": "^1.0.36",
|
|
106
|
+
"ws": "^8.18.1"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@pengzhanbo/eslint-config": "^1.
|
|
110
|
-
"@rsbuild/core": "^1.
|
|
111
|
-
"@rspack/core": "^1.
|
|
109
|
+
"@pengzhanbo/eslint-config": "^1.29.0",
|
|
110
|
+
"@rsbuild/core": "^1.3.6",
|
|
111
|
+
"@rspack/core": "^1.3.4",
|
|
112
112
|
"@types/co-body": "^6.1.3",
|
|
113
113
|
"@types/cookies": "^0.9.0",
|
|
114
114
|
"@types/cors": "^2.8.17",
|
|
@@ -116,15 +116,15 @@
|
|
|
116
116
|
"@types/formidable": "2.0.6",
|
|
117
117
|
"@types/is-core-module": "^2.2.2",
|
|
118
118
|
"@types/mime-types": "^2.1.4",
|
|
119
|
-
"@types/node": "^22.
|
|
120
|
-
"@types/ws": "^8.
|
|
121
|
-
"bumpp": "^
|
|
119
|
+
"@types/node": "^22.14.1",
|
|
120
|
+
"@types/ws": "^8.18.1",
|
|
121
|
+
"bumpp": "^10.1.0",
|
|
122
122
|
"conventional-changelog-cli": "^5.0.0",
|
|
123
|
-
"eslint": "^9.
|
|
123
|
+
"eslint": "^9.24.0",
|
|
124
124
|
"husky": "^9.1.7",
|
|
125
|
-
"lint-staged": "^15.
|
|
126
|
-
"tsup": "^8.
|
|
127
|
-
"typescript": "^5.
|
|
125
|
+
"lint-staged": "^15.5.1",
|
|
126
|
+
"tsup": "^8.4.0",
|
|
127
|
+
"typescript": "^5.8.3"
|
|
128
128
|
},
|
|
129
129
|
"lint-staged": {
|
|
130
130
|
"*": "eslint --fix"
|