vite-node
Advanced tools
Comparing version 0.34.3 to 0.34.4
@@ -1,2 +0,2 @@ | ||
import { f as ViteNodeServerOptions } from './types-2dc895bd.js'; | ||
import { f as ViteNodeServerOptions } from './types-0f31b933.js'; | ||
import './types.d-7442d07f.js'; | ||
@@ -3,0 +3,0 @@ |
import './types.d-7442d07f.js'; | ||
export { k as DEFAULT_REQUEST_STUBS, M as ModuleCacheMap, i as ViteNodeRunner } from './types-2dc895bd.js'; | ||
export { k as DEFAULT_REQUEST_STUBS, M as ModuleCacheMap, i as ViteNodeRunner } from './types-0f31b933.js'; |
import { EventEmitter } from 'node:events'; | ||
import { HMRPayload, Plugin } from 'vite'; | ||
import { h as CustomEventMap, i as ViteNodeRunner, j as HMRPayload$1, H as HotContext } from './types-2dc895bd.js'; | ||
import { h as CustomEventMap, i as ViteNodeRunner, j as HMRPayload$1, H as HotContext } from './types-0f31b933.js'; | ||
import './types.d-7442d07f.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,2 @@ | ||
export { A as Arrayable, a as Awaitable, C as CreateHotContextFunction, g as DebuggerOptions, D as DepsHandlingOptions, b as FetchFunction, F as FetchResult, H as HotContext, d as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, c as ResolveIdFunction, S as StartOfSourceMap, e as ViteNodeResolveId, V as ViteNodeRunnerOptions, f as ViteNodeServerOptions } from './types-2dc895bd.js'; | ||
export { A as Arrayable, a as Awaitable, C as CreateHotContextFunction, g as DebuggerOptions, D as DepsHandlingOptions, b as FetchFunction, F as FetchResult, H as HotContext, d as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, c as ResolveIdFunction, S as StartOfSourceMap, e as ViteNodeResolveId, V as ViteNodeRunnerOptions, f as ViteNodeServerOptions } from './types-0f31b933.js'; | ||
export { D as DecodedSourceMap, E as EncodedSourceMap } from './types.d-7442d07f.js'; |
import { TransformResult, ViteDevServer } from 'vite'; | ||
import { E as EncodedSourceMap } from './types.d-7442d07f.js'; | ||
import { g as DebuggerOptions, D as DepsHandlingOptions, f as ViteNodeServerOptions, F as FetchResult, e as ViteNodeResolveId } from './types-2dc895bd.js'; | ||
import { g as DebuggerOptions, D as DepsHandlingOptions, f as ViteNodeServerOptions, F as FetchResult, e as ViteNodeResolveId } from './types-0f31b933.js'; | ||
@@ -5,0 +5,0 @@ declare class Debugger { |
@@ -1,2 +0,2 @@ | ||
export { A as Arrayable, a as Awaitable, C as CreateHotContextFunction, g as DebuggerOptions, D as DepsHandlingOptions, b as FetchFunction, F as FetchResult, H as HotContext, d as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, c as ResolveIdFunction, S as StartOfSourceMap, e as ViteNodeResolveId, V as ViteNodeRunnerOptions, f as ViteNodeServerOptions } from './types-2dc895bd.js'; | ||
export { A as Arrayable, a as Awaitable, C as CreateHotContextFunction, g as DebuggerOptions, D as DepsHandlingOptions, b as FetchFunction, F as FetchResult, H as HotContext, d as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, c as ResolveIdFunction, S as StartOfSourceMap, e as ViteNodeResolveId, V as ViteNodeRunnerOptions, f as ViteNodeServerOptions } from './types-0f31b933.js'; | ||
export { D as DecodedSourceMap, E as EncodedSourceMap } from './types.d-7442d07f.js'; |
@@ -1,2 +0,2 @@ | ||
import { N as Nullable, A as Arrayable } from './types-2dc895bd.js'; | ||
import { N as Nullable, A as Arrayable } from './types-0f31b933.js'; | ||
import './types.d-7442d07f.js'; | ||
@@ -27,4 +27,5 @@ | ||
declare function setCacheData<T>(cache: Map<string, T>, data: T, basedir: string, originalBasedir: string): void; | ||
declare function withTrailingSlash(path: string): string; | ||
declare function createImportMetaEnvProxy(): NodeJS.ProcessEnv; | ||
export { VALID_ID_PREFIX, cleanUrl, createImportMetaEnvProxy, 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, withTrailingSlash }; |
{ | ||
"name": "vite-node", | ||
"version": "0.34.3", | ||
"version": "0.34.4", | ||
"description": "Vite as Node.js runtime", | ||
@@ -5,0 +5,0 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", |
@@ -43,3 +43,3 @@ <p align="center"> | ||
[All `ViteNodeServer` options](https://github.com/vitest-dev/vitest/blob/main/packages/vite-node/src/types.ts#L70-L89) are supported by the CLI. They may be defined through the dot syntax, as shown below: | ||
[All `ViteNodeServer` options](https://github.com/vitest-dev/vitest/blob/main/packages/vite-node/src/types.ts#L92-L111) are supported by the CLI. They may be defined through the dot syntax, as shown below: | ||
@@ -134,3 +134,3 @@ ```bash | ||
If you want to debug by modifying the dumped code, you can change the value of `VITE_NODE_DEBUG_DUMP` to `load` and search for the dumpped files and use them for executing. | ||
If you want to debug by modifying the dumped code, you can change the value of `VITE_NODE_DEBUG_DUMP` to `load` and search for the dumped files and use them for executing. | ||
@@ -156,3 +156,3 @@ ```bash | ||
If the process get stuck, it might because there is a unresolvable circular dependencies, you can set `VITE_NODE_DEBUG_RUNNER=true` to vite-node warn about it. | ||
If the process gets stuck, it might be because there are unresolvable circular dependencies. You can set `VITE_NODE_DEBUG_RUNNER=true` for vite-node to warn about this. | ||
@@ -159,0 +159,0 @@ ```bash |
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
183245
5052
41