You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vite-plugin-auto-mpa-html

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-auto-mpa-html - npm Package Compare versions

Comparing version

to
1.1.1

16

CHANGELOG.md

@@ -1,5 +0,19 @@

# [1.1.0](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/compare/v1.1.0-alpha.4...v1.1.0) (2023-11-05)
## [1.1.1](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/compare/v1.1.0-alpha.3...v1.1.1) (2023-12-15)
### Bug Fixes
* dev server can correctly recognize url search params now ([1eaa683](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/commit/1eaa68307dafd0961d9e548e6541c371ac04a188))
# [1.1.0](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/compare/v1.1.0-alpha.3...v1.1.0) (2023-12-15)
### Bug Fixes
* dev server can correctly recognize url search params now ([1eaa683](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/commit/1eaa68307dafd0961d9e548e6541c371ac04a188))
# [1.1.0-alpha.4](https://github.com/iamspark1e/vite-plugin-auto-mpa-html/compare/v1.1.0-alpha.3...v1.1.0-alpha.4) (2023-10-17)

@@ -6,0 +20,0 @@

4

dist/index.js

@@ -289,3 +289,5 @@ var __defProp = Object.defineProperty;

var _a, _b;
const fileUrl = req.url || "";
let fileUrl = req.url || "";
if (fileUrl.includes("?"))
fileUrl = fileUrl.split("?")[0];
if (!fileUrl.endsWith(".html") && fileUrl !== "/")

@@ -292,0 +294,0 @@ return next();

{
"name": "vite-plugin-auto-mpa-html",
"version": "1.1.0",
"version": "1.1.1",
"description": "A file directory-based automated multi-page Vite plugin that supports HTML templates using EJS.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet