Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

vite-plugin-mock-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
100
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
2.0.5
to
2.0.6
+2
-2
dist/index.mjs

@@ -288,3 +288,3 @@ import { a as processRawData, c as debug, d as logLevels, f as isPathMatch, h as createMatcher, i as processMockData, l as normalizePath, m as doesProxyContextMatchUrl, n as createMockMiddleware, o as sortByValidator, p as isPackageExists, r as recoverRequest, s as urlParse, t as mockWebSocket, u as createLogger } from "./server-BetGF1ME.mjs";

cwd: path.join(this.cwd, this.options.dir)
}).then((files) => files.map((file) => () => this.load(path.join(this.options.dir, file)))).then((loaders) => promiseParallel(loaders, 64)).then(() => this.updateMockData());
}).then((files) => files.map((file) => () => this.load(normalizePath(path.join(this.options.dir, file))))).then((loaders) => promiseParallel(loaders, 64)).then(() => this.updateMockData());
if (!watch$1) return;

@@ -415,3 +415,3 @@ this.watchMockEntry(isMatch);

var name = "vite-plugin-mock-dev-server";
var version = "2.0.5";
var version = "2.0.6";

@@ -418,0 +418,0 @@ //#endregion

{
"name": "vite-plugin-mock-dev-server",
"type": "module",
"version": "2.0.5",
"version": "2.0.6",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo)",

@@ -6,0 +6,0 @@ "license": "MIT",