Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-mock-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-mock-dev-server - npm Package Compare versions

Comparing version 0.3.13 to 0.3.14

3

dist/index.d.ts

@@ -117,2 +117,3 @@ import { Connect, Plugin } from 'vite';

type MockOptions = MockOptionsItem[];
type FormidableFile = formidable.File | formidable.File[];

@@ -139,2 +140,2 @@ declare function mockDevServerPlugin({ include, exclude, formidableOptions, }?: MockServerPluginOptions): Plugin;

export { MockOptions, MockOptionsItem, MockServerPluginOptions, mockDevServerPlugin as default, defineMock, mockDevServerPlugin };
export { FormidableFile, MockOptions, MockOptionsItem, MockServerPluginOptions, mockDevServerPlugin as default, defineMock, mockDevServerPlugin };

@@ -450,3 +450,2 @@ // src/mockMiddleware.ts

"**/test/**",
"**/cypress/**",
"src/**",

@@ -467,3 +466,6 @@ "**/.vscode/**",

exclude,
formidableOptions
formidableOptions: {
multiples: true,
...formidableOptions
}
});

@@ -470,0 +472,0 @@ middlewares.use(middleware);

{
"name": "vite-plugin-mock-dev-server",
"version": "0.3.13",
"type": "module",
"version": "0.3.14",
"packageManager": "pnpm@7.18.2",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo)",
"license": "GPL-3.0",
"homepage": "https://vite-plugin-mock-dev-server.netlify.app",
"repository": {
"type": "git",
"url": "https://github.com/pengzhanbo/vite-plugin-mock-dev-server"
},
"keywords": [

@@ -11,22 +20,17 @@ "vite",

],
"repository": {
"type": "git",
"url": "https://github.com/pengzhanbo/vite-plugin-mock-dev-server"
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"homepage": "https://vite-plugin-mock-dev-server.netlify.app",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo)",
"license": "GPL-3.0",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"engines": {
"node": "^14.18.0 || >=16"
},
"tsup": {

@@ -46,2 +50,5 @@ "entry": [

"prettier": "@pengzhanbo/prettier-config",
"peerDependencies": {
"vite": ">=3.0.0"
},
"dependencies": {

@@ -59,4 +66,4 @@ "@rollup/pluginutils": "^5.0.2",

"devDependencies": {
"@pengzhanbo/eslint-config-ts": "^0.2.10",
"@pengzhanbo/prettier-config": "^0.2.10",
"@pengzhanbo/eslint-config-ts": "^0.3.1",
"@pengzhanbo/prettier-config": "^0.3.1",
"@types/co-body": "^6.1.0",

@@ -67,3 +74,3 @@ "@types/debug": "^4.1.7",

"bumpp": "^8.2.1",
"eslint": "^8.30.0",
"eslint": "^8.31.0",
"mockjs": "^1.1.0",

@@ -78,9 +85,2 @@ "prettier": "^2.8.1",

},
"peerDependencies": {
"vite": ">=3.0.0"
},
"packageManager": "pnpm@7.18.2",
"engines": {
"node": "^14.18.0 || >=16"
},
"scripts": {

@@ -92,4 +92,5 @@ "dev": "DEBUG=vite:plugin-mock-dev-server vite example --config ./example/vite.config.ts",

"docs:preview": "vitepress preview docs",
"lint": "eslint .",
"release": "bumpp package.json --commit --push --tag && pnpm publish --access public"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc