vite-node
Advanced tools
Comparing version 0.29.8 to 0.30.0
@@ -1,2 +0,2 @@ | ||
import { e as ViteNodeServerOptions } from './types-e6d31da0.js'; | ||
import { e as ViteNodeServerOptions } from './types-c39b64bb.js'; | ||
import './types.d-1e7e3fdf.js'; | ||
@@ -3,0 +3,0 @@ |
import './types.d-1e7e3fdf.js'; | ||
export { j as DEFAULT_REQUEST_STUBS, M as ModuleCacheMap, h as ViteNodeRunner } from './types-e6d31da0.js'; | ||
export { j as DEFAULT_REQUEST_STUBS, M as ModuleCacheMap, h as ViteNodeRunner } from './types-c39b64bb.js'; |
import { EventEmitter } from 'node:events'; | ||
import { HMRPayload, Plugin } from 'vite'; | ||
import { g as CustomEventMap, h as ViteNodeRunner, i as HMRPayload$1, H as HotContext } from './types-e6d31da0.js'; | ||
import { g as CustomEventMap, h as ViteNodeRunner, i as HMRPayload$1, H as HotContext } from './types-c39b64bb.js'; | ||
import './types.d-1e7e3fdf.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,2 @@ | ||
export { A as Arrayable, C as CreateHotContextFunction, f as DebuggerOptions, D as DepsHandlingOptions, a as FetchFunction, F as FetchResult, H as HotContext, c as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, b as ResolveIdFunction, S as StartOfSourceMap, d as ViteNodeResolveId, V as ViteNodeRunnerOptions, e as ViteNodeServerOptions } from './types-e6d31da0.js'; | ||
export { A as Arrayable, C as CreateHotContextFunction, f as DebuggerOptions, D as DepsHandlingOptions, a as FetchFunction, F as FetchResult, H as HotContext, c as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, b as ResolveIdFunction, S as StartOfSourceMap, d as ViteNodeResolveId, V as ViteNodeRunnerOptions, e as ViteNodeServerOptions } from './types-c39b64bb.js'; | ||
export { D as DecodedSourceMap, E as EncodedSourceMap } from './types.d-1e7e3fdf.js'; |
import { TransformResult, ViteDevServer } from 'vite'; | ||
import { E as EncodedSourceMap } from './types.d-1e7e3fdf.js'; | ||
import { f as DebuggerOptions, D as DepsHandlingOptions, e as ViteNodeServerOptions, F as FetchResult, d as ViteNodeResolveId } from './types-e6d31da0.js'; | ||
import { f as DebuggerOptions, D as DepsHandlingOptions, e as ViteNodeServerOptions, F as FetchResult, d as ViteNodeResolveId } from './types-c39b64bb.js'; | ||
@@ -44,3 +44,3 @@ declare class Debugger { | ||
private _fetchModule; | ||
protected processTransformResult(result: TransformResult): Promise<TransformResult>; | ||
protected processTransformResult(id: string, result: TransformResult): Promise<TransformResult>; | ||
private _transformRequest; | ||
@@ -47,0 +47,0 @@ } |
@@ -7,3 +7,6 @@ import { TransformResult } from 'vite'; | ||
} | ||
declare function withInlineSourcemap(result: TransformResult): TransformResult; | ||
declare function withInlineSourcemap(result: TransformResult, options: { | ||
root: string; | ||
filepath: string; | ||
}): TransformResult; | ||
declare function extractSourceMap(code: string): EncodedSourceMap | null; | ||
@@ -10,0 +13,0 @@ declare function installSourcemapsSupport(options: InstallSourceMapSupportOptions): void; |
@@ -1,2 +0,2 @@ | ||
export { A as Arrayable, C as CreateHotContextFunction, f as DebuggerOptions, D as DepsHandlingOptions, a as FetchFunction, F as FetchResult, H as HotContext, c as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, b as ResolveIdFunction, S as StartOfSourceMap, d as ViteNodeResolveId, V as ViteNodeRunnerOptions, e as ViteNodeServerOptions } from './types-e6d31da0.js'; | ||
export { A as Arrayable, C as CreateHotContextFunction, f as DebuggerOptions, D as DepsHandlingOptions, a as FetchFunction, F as FetchResult, H as HotContext, c as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, b as ResolveIdFunction, S as StartOfSourceMap, d as ViteNodeResolveId, V as ViteNodeRunnerOptions, e as ViteNodeServerOptions } from './types-c39b64bb.js'; | ||
export { D as DecodedSourceMap, E as EncodedSourceMap } from './types.d-1e7e3fdf.js'; |
@@ -1,2 +0,2 @@ | ||
import { N as Nullable, A as Arrayable } from './types-e6d31da0.js'; | ||
import { N as Nullable, A as Arrayable } from './types-c39b64bb.js'; | ||
import './types.d-1e7e3fdf.js'; | ||
@@ -10,4 +10,4 @@ | ||
declare const hashRE: RegExp; | ||
declare const cleanUrl: (url: string) => string; | ||
declare const isInternalRequest: (id: string) => boolean; | ||
declare function cleanUrl(url: string): string; | ||
declare function isInternalRequest(id: string): boolean; | ||
declare function normalizeModuleId(id: string): string; | ||
@@ -19,2 +19,3 @@ declare function isPrimitive(v: any): boolean; | ||
}; | ||
declare function isNodeBuiltin(id: string): boolean; | ||
/** | ||
@@ -27,2 +28,2 @@ * Convert `Arrayable<T>` to `Array<T>` | ||
export { VALID_ID_PREFIX, cleanUrl, hashRE, isInternalRequest, isPrimitive, isWindows, normalizeModuleId, normalizeRequestId, queryRE, slash, toArray, toFilePath }; | ||
export { VALID_ID_PREFIX, cleanUrl, hashRE, isInternalRequest, isNodeBuiltin, isPrimitive, isWindows, normalizeModuleId, normalizeRequestId, queryRE, slash, toArray, toFilePath }; |
{ | ||
"name": "vite-node", | ||
"version": "0.29.8", | ||
"version": "0.30.0", | ||
"description": "Vite as Node.js runtime", | ||
@@ -70,3 +70,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"engines": { | ||
"node": ">=v14.16.0" | ||
"node": ">=v14.18.0" | ||
}, | ||
@@ -76,3 +76,3 @@ "dependencies": { | ||
"debug": "^4.3.4", | ||
"mlly": "^1.1.0", | ||
"mlly": "^1.2.0", | ||
"pathe": "^1.1.0", | ||
@@ -79,0 +79,0 @@ "picocolors": "^1.0.0", |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168293
33
4701
22
Updatedmlly@^1.2.0