nuxt4, and some changes on packages

This commit is contained in:
2025-08-19 21:38:30 +03:30
parent 61fee6c3da
commit 5b6f1a1cdf
900 changed files with 11139 additions and 15161 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
export { c as createIPX, b as createIPXH3App, a as createIPXH3Handler, e as createIPXNodeServer, f as createIPXPlainServer, d as createIPXWebServer, g as ipxFSStorage, i as ipxHttpStorage } from './shared/ipx.b027cc1c.mjs';
export { c as createIPX, b as createIPXH3App, a as createIPXH3Handler, e as createIPXNodeServer, f as createIPXPlainServer, d as createIPXWebServer, g as ipxFSStorage, i as ipxHttpStorage } from './shared/ipx.e4d5b25d.mjs';
import { createError } from 'h3';
import 'defu';
import 'ufo';
@@ -692,7 +692,7 @@ function ipxFSStorage(_options = {}) {
const fs = await _getFS();
for (const dir of dirs) {
const filePath = join(dir, id);
if (!isValidPath(filePath) || !filePath.startsWith(dir)) {
if (!isValidPath(filePath) || !filePath.startsWith(dir + "/")) {
throw createError({
statusCode: 403,
statusText: `IPX_FORBIDDEN_PATH`,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ipx",
"version": "2.1.0",
"version": "2.1.1",
"repository": "unjs/ipx",
"description": "High performance, secure and easy-to-use image optimizer.",
"license": "MIT",