mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 05:24:45 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
54
node_modules/jest-resolve/build/index.d.ts
generated
vendored
54
node_modules/jest-resolve/build/index.d.ts
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import { Config } from '@jest/types';
|
||||
import { ModuleMap } from 'jest-haste-map';
|
||||
import { ResolverConfig } from './types';
|
||||
declare type FindNodeModuleConfig = {
|
||||
basedir: Config.Path;
|
||||
browser?: boolean;
|
||||
extensions?: Array<string>;
|
||||
moduleDirectory?: Array<string>;
|
||||
paths?: Array<Config.Path>;
|
||||
resolver?: Config.Path | null;
|
||||
rootDir?: Config.Path;
|
||||
};
|
||||
declare type BooleanObject = {
|
||||
[key: string]: boolean;
|
||||
};
|
||||
declare namespace Resolver {
|
||||
type ResolveModuleConfig = {
|
||||
skipNodeResolution?: boolean;
|
||||
paths?: Array<Config.Path>;
|
||||
};
|
||||
}
|
||||
declare class Resolver {
|
||||
private readonly _options;
|
||||
private readonly _moduleMap;
|
||||
private readonly _moduleIDCache;
|
||||
private readonly _moduleNameCache;
|
||||
private readonly _modulePathCache;
|
||||
private readonly _supportsNativePlatform;
|
||||
constructor(moduleMap: ModuleMap, options: ResolverConfig);
|
||||
static findNodeModule(path: Config.Path, options: FindNodeModuleConfig): Config.Path | null;
|
||||
resolveModuleFromDirIfExists(dirname: Config.Path, moduleName: string, options?: Resolver.ResolveModuleConfig): Config.Path | null;
|
||||
resolveModule(from: Config.Path, moduleName: string, options?: Resolver.ResolveModuleConfig): Config.Path;
|
||||
isCoreModule(moduleName: string): boolean;
|
||||
getModule(name: string): Config.Path | null;
|
||||
getModulePath(from: Config.Path, moduleName: string): string;
|
||||
getPackage(name: string): Config.Path | null;
|
||||
getMockModule(from: Config.Path, name: string): Config.Path | null;
|
||||
getModulePaths(from: Config.Path): Array<Config.Path>;
|
||||
getModuleID(virtualMocks: BooleanObject, from: Config.Path, _moduleName?: string): string;
|
||||
private _getModuleType;
|
||||
private _getAbsolutePath;
|
||||
private _getMockPath;
|
||||
private _getVirtualMockPath;
|
||||
private _isModuleResolved;
|
||||
resolveStubModuleName(from: Config.Path, moduleName: string): Config.Path | null;
|
||||
}
|
||||
export = Resolver;
|
||||
//# sourceMappingURL=index.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue