vite-node
Advanced tools
Comparing version 0.34.1 to 0.34.2
@@ -43,2 +43,5 @@ import { TransformResult, ViteDevServer } from 'vite'; | ||
transformRequest(id: string, filepath?: string): Promise<TransformResult | null | undefined>; | ||
transformModule(id: string, transformMode?: 'web' | 'ssr'): Promise<{ | ||
code: string | undefined; | ||
}>; | ||
getTransformMode(id: string): "web" | "ssr"; | ||
@@ -45,0 +48,0 @@ private _fetchModule; |
@@ -28,3 +28,4 @@ import { N as Nullable, A as Arrayable } from './types-e8623e9c.js'; | ||
declare function setCacheData<T>(cache: Map<string, T>, data: T, basedir: string, originalBasedir: string): void; | ||
declare function createImportMetaEnvProxy(): NodeJS.ProcessEnv; | ||
export { VALID_ID_PREFIX, cleanUrl, getCachedData, hashRE, isInternalRequest, isNodeBuiltin, isPrimitive, isWindows, normalizeModuleId, normalizeRequestId, queryRE, setCacheData, slash, toArray, toFilePath }; | ||
export { VALID_ID_PREFIX, cleanUrl, createImportMetaEnvProxy, getCachedData, hashRE, isInternalRequest, isNodeBuiltin, isPrimitive, isWindows, normalizeModuleId, normalizeRequestId, queryRE, setCacheData, slash, toArray, toFilePath }; |
{ | ||
"name": "vite-node", | ||
"version": "0.34.1", | ||
"version": "0.34.2", | ||
"description": "Vite as Node.js runtime", | ||
@@ -5,0 +5,0 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
181121
5000
40