vite-plugin-mock-dev-server 1.7.2 → 1.7.3

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/index.cjs CHANGED
@@ -267,7 +267,7 @@ function generatePackageJson(pkg, mockDeps) {
267
267
  },
268
268
  dependencies: {
269
269
  connect: "^3.7.0",
270
- ["vite-plugin-mock-dev-server"]: `^${"1.7.1"}`,
270
+ ["vite-plugin-mock-dev-server"]: `^${"1.7.2"}`,
271
271
  cors: "^2.8.5"
272
272
  },
273
273
  pnpm: { peerDependencyRules: { ignoreMissing: ["vite"] } }
package/dist/index.js CHANGED
@@ -267,7 +267,7 @@ function generatePackageJson(pkg, mockDeps) {
267
267
  },
268
268
  dependencies: {
269
269
  connect: "^3.7.0",
270
- ["vite-plugin-mock-dev-server"]: `^${"1.7.1"}`,
270
+ ["vite-plugin-mock-dev-server"]: `^${"1.7.2"}`,
271
271
  cors: "^2.8.5"
272
272
  },
273
273
  pnpm: { peerDependencyRules: { ignoreMissing: ["vite"] } }
package/dist/server.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Alias, Connect } from 'vite';
2
2
  import { L as LogLevel, M as MockServerPluginOptions, S as ServerBuildOption, b as MockOptions, a as MockHttpItem, d as MockWebsocketItem } from './types-BYspd62h.cjs';
3
+ import { CorsOptions } from 'cors';
3
4
  import EventEmitter from 'node:events';
4
5
  import { FSWatcher } from 'chokidar';
5
- import { CorsOptions } from 'cors';
6
6
  import { Server } from 'node:http';
7
7
  import { Http2SecureServer } from 'node:http2';
8
8
  import 'co-body';
package/dist/server.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Alias, Connect } from 'vite';
2
2
  import { L as LogLevel, M as MockServerPluginOptions, S as ServerBuildOption, b as MockOptions, a as MockHttpItem, d as MockWebsocketItem } from './types-BYspd62h.js';
3
+ import { CorsOptions } from 'cors';
3
4
  import EventEmitter from 'node:events';
4
5
  import { FSWatcher } from 'chokidar';
5
- import { CorsOptions } from 'cors';
6
6
  import { Server } from 'node:http';
7
7
  import { Http2SecureServer } from 'node:http2';
8
8
  import 'co-body';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-mock-dev-server",
3
3
  "type": "module",
4
- "version": "1.7.2",
4
+ "version": "1.7.3",
5
5
  "author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo)",
6
6
  "license": "MIT",
7
7
  "homepage": "https://vite-plugin-mock-dev-server.netlify.app",
@@ -69,8 +69,8 @@
69
69
  },
70
70
  "dependencies": {
71
71
  "@pengzhanbo/utils": "^1.1.2",
72
- "@rollup/pluginutils": "^5.1.0",
73
- "chokidar": "^4.0.0",
72
+ "@rollup/pluginutils": "^5.1.2",
73
+ "chokidar": "3.6.0",
74
74
  "co-body": "^6.2.0",
75
75
  "cookies": "^0.9.1",
76
76
  "cors": "^2.8.5",
@@ -86,8 +86,8 @@
86
86
  "ws": "^8.18.0"
87
87
  },
88
88
  "devDependencies": {
89
- "esbuild": "^0.23.1",
90
- "vite": "^5.4.5"
89
+ "esbuild": "^0.24.0",
90
+ "vite": "^5.4.7"
91
91
  },
92
92
  "publishConfig": {
93
93
  "access": "public"