New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-virtual-mpa

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-virtual-mpa - npm Package Compare versions

Comparing version 1.9.2 to 1.9.3

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 1.9.3
fix: Built-in matching rules preferentially match longer paths. Closed [#52](https://github.com/emosheeep/vite-plugin-virtual-mpa/issues/52).
chore: Upgrade all of workspace dependencies.
# 1.9.2

@@ -2,0 +7,0 @@

6

dist/index.js

@@ -103,3 +103,7 @@ "use strict";

{
from: new RegExp(vite.normalizePath(`/${base}/(${Object.keys(inputMap).join("|")})`)),
/**
* Put built-in matching rules in order of length so that to preferentially match longer paths.
* Closed #52.
*/
from: new RegExp(vite.normalizePath(`/${base}/(${Object.keys(inputMap).sort((a, b) => b.length - a.length).join("|")})`)),
to: (ctx) => {

@@ -106,0 +110,0 @@ return vite.normalizePath(`/${base}/${inputMap[ctx.match[1]]}`);

12

package.json
{
"name": "vite-plugin-virtual-mpa",
"version": "1.9.2",
"version": "1.9.3",
"license": "MIT",

@@ -49,4 +49,4 @@ "author": "秦旭洋",

"dependencies": {
"@types/connect-history-api-fallback": "^1.5.0",
"@types/html-minifier-terser": "^7.0.0",
"@types/connect-history-api-fallback": "^1.5.2",
"@types/html-minifier-terser": "^7.0.1",
"connect-history-api-fallback": "^2.0.0",

@@ -58,6 +58,6 @@ "ejs": "^3.1.9",

"devDependencies": {
"@types/ejs": "^3.1.2",
"@types/node": "^18.16.3",
"@types/ejs": "^3.1.4",
"@types/node": "^18.18.6",
"typescript": "^4.9.5",
"vite": "^4.3.4",
"vite": "^4.5.0",
"vite-plugin-checker": "^0.5.6",

@@ -64,0 +64,0 @@ "vite-plugin-dts": "^2.3.0",

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