mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2025-12-11 23:40:42 -07:00
Update node_modules
This commit is contained in:
10
node_modules/jest-runtime/build/cli/args.d.ts
generated
vendored
Normal file
10
node_modules/jest-runtime/build/cli/args.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 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 { Options } from 'yargs';
|
||||
export declare const usage = "Usage: $0 [--config=<pathToConfigFile>] <file>";
|
||||
export declare const options: Record<'cache' | 'config' | 'debug' | 'version' | 'watchman', Options>;
|
||||
//# sourceMappingURL=args.d.ts.map
|
||||
1
node_modules/jest-runtime/build/cli/args.d.ts.map
generated
vendored
Normal file
1
node_modules/jest-runtime/build/cli/args.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../../src/cli/args.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAE9B,eAAO,MAAM,KAAK,mDAAmD,CAAC;AAEtE,eAAO,MAAM,OAAO,EAAE,MAAM,CAC1B,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,EACrD,OAAO,CA8BR,CAAC"}
|
||||
46
node_modules/jest-runtime/build/cli/args.js
generated
vendored
Normal file
46
node_modules/jest-runtime/build/cli/args.js
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.options = exports.usage = void 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.
|
||||
*/
|
||||
const usage = 'Usage: $0 [--config=<pathToConfigFile>] <file>';
|
||||
exports.usage = usage;
|
||||
const options = {
|
||||
cache: {
|
||||
default: true,
|
||||
description:
|
||||
'Whether to use the preprocessor cache. Disable ' +
|
||||
'the cache using --no-cache.',
|
||||
type: 'boolean'
|
||||
},
|
||||
config: {
|
||||
alias: 'c',
|
||||
description: 'The path to a Jest config file.',
|
||||
type: 'string'
|
||||
},
|
||||
debug: {
|
||||
description: 'Print debugging info about your jest config.',
|
||||
type: 'boolean'
|
||||
},
|
||||
version: {
|
||||
alias: 'v',
|
||||
description: 'Print the version and exit',
|
||||
type: 'boolean'
|
||||
},
|
||||
watchman: {
|
||||
default: true,
|
||||
description:
|
||||
'Whether to use watchman for file crawling. Disable using ' +
|
||||
'--no-watchman.',
|
||||
type: 'boolean'
|
||||
}
|
||||
};
|
||||
exports.options = options;
|
||||
9
node_modules/jest-runtime/build/cli/index.d.ts
generated
vendored
Normal file
9
node_modules/jest-runtime/build/cli/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* 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';
|
||||
export declare function run(cliArgv?: Config.Argv, cliInfo?: Array<string>): Promise<void>;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/jest-runtime/build/cli/index.d.ts.map
generated
vendored
Normal file
1
node_modules/jest-runtime/build/cli/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAUnC,wBAAsB,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,iBA2EvE"}
|
||||
290
node_modules/jest-runtime/build/cli/index.js
generated
vendored
Normal file
290
node_modules/jest-runtime/build/cli/index.js
generated
vendored
Normal file
@@ -0,0 +1,290 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.run = run;
|
||||
|
||||
function _os() {
|
||||
const data = require('os');
|
||||
|
||||
_os = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function path() {
|
||||
const data = _interopRequireWildcard(require('path'));
|
||||
|
||||
path = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _chalk() {
|
||||
const data = _interopRequireDefault(require('chalk'));
|
||||
|
||||
_chalk = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _realpathNative() {
|
||||
const data = require('realpath-native');
|
||||
|
||||
_realpathNative = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _yargs() {
|
||||
const data = _interopRequireDefault(require('yargs'));
|
||||
|
||||
_yargs = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _console() {
|
||||
const data = require('@jest/console');
|
||||
|
||||
_console = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestUtil() {
|
||||
const data = require('jest-util');
|
||||
|
||||
_jestUtil = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestValidate() {
|
||||
const data = require('jest-validate');
|
||||
|
||||
_jestValidate = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestConfig() {
|
||||
const data = require('jest-config');
|
||||
|
||||
_jestConfig = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _version() {
|
||||
const data = require('../version');
|
||||
|
||||
_version = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
var args = _interopRequireWildcard(require('./args'));
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
function _getRequireWildcardCache() {
|
||||
if (typeof WeakMap !== 'function') return null;
|
||||
var cache = new WeakMap();
|
||||
_getRequireWildcardCache = function() {
|
||||
return cache;
|
||||
};
|
||||
return cache;
|
||||
}
|
||||
|
||||
function _interopRequireWildcard(obj) {
|
||||
if (obj && obj.__esModule) {
|
||||
return obj;
|
||||
}
|
||||
if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
||||
return {default: obj};
|
||||
}
|
||||
var cache = _getRequireWildcardCache();
|
||||
if (cache && cache.has(obj)) {
|
||||
return cache.get(obj);
|
||||
}
|
||||
var newObj = {};
|
||||
var hasPropertyDescriptor =
|
||||
Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var key in obj) {
|
||||
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
||||
var desc = hasPropertyDescriptor
|
||||
? Object.getOwnPropertyDescriptor(obj, key)
|
||||
: null;
|
||||
if (desc && (desc.get || desc.set)) {
|
||||
Object.defineProperty(newObj, key, desc);
|
||||
} else {
|
||||
newObj[key] = obj[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
newObj.default = obj;
|
||||
if (cache) {
|
||||
cache.set(obj, newObj);
|
||||
}
|
||||
return newObj;
|
||||
}
|
||||
|
||||
function ownKeys(object, enumerableOnly) {
|
||||
var keys = Object.keys(object);
|
||||
if (Object.getOwnPropertySymbols) {
|
||||
var symbols = Object.getOwnPropertySymbols(object);
|
||||
if (enumerableOnly)
|
||||
symbols = symbols.filter(function(sym) {
|
||||
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
||||
});
|
||||
keys.push.apply(keys, symbols);
|
||||
}
|
||||
return keys;
|
||||
}
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
if (i % 2) {
|
||||
ownKeys(Object(source), true).forEach(function(key) {
|
||||
_defineProperty(target, key, source[key]);
|
||||
});
|
||||
} else if (Object.getOwnPropertyDescriptors) {
|
||||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
||||
} else {
|
||||
ownKeys(Object(source)).forEach(function(key) {
|
||||
Object.defineProperty(
|
||||
target,
|
||||
key,
|
||||
Object.getOwnPropertyDescriptor(source, key)
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
return target;
|
||||
}
|
||||
|
||||
function _defineProperty(obj, key, value) {
|
||||
if (key in obj) {
|
||||
Object.defineProperty(obj, key, {
|
||||
value: value,
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true
|
||||
});
|
||||
} else {
|
||||
obj[key] = value;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
async function run(cliArgv, cliInfo) {
|
||||
const realFs = require('fs');
|
||||
|
||||
const fs = require('graceful-fs');
|
||||
|
||||
fs.gracefulify(realFs);
|
||||
let argv;
|
||||
|
||||
if (cliArgv) {
|
||||
argv = cliArgv;
|
||||
} else {
|
||||
argv = _yargs()
|
||||
.default.usage(args.usage)
|
||||
.help(false)
|
||||
.version(false)
|
||||
.options(args.options).argv;
|
||||
(0, _jestValidate().validateCLIOptions)(
|
||||
argv,
|
||||
_objectSpread({}, args.options, {
|
||||
deprecationEntries: _jestConfig().deprecationEntries
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
if (argv.help) {
|
||||
_yargs().default.showHelp();
|
||||
|
||||
process.on('exit', () => (process.exitCode = 1));
|
||||
return;
|
||||
}
|
||||
|
||||
if (argv.version) {
|
||||
console.log(`v${_version().VERSION}\n`);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!argv._.length) {
|
||||
console.log('Please provide a path to a script. (See --help for details)');
|
||||
process.on('exit', () => (process.exitCode = 1));
|
||||
return;
|
||||
}
|
||||
|
||||
const root = (0, _realpathNative().sync)(process.cwd());
|
||||
const filePath = path().resolve(root, argv._[0]);
|
||||
|
||||
if (argv.debug) {
|
||||
const info = cliInfo ? ', ' + cliInfo.join(', ') : '';
|
||||
console.log(`Using Jest Runtime v${_version().VERSION}${info}`);
|
||||
}
|
||||
|
||||
const options = await (0, _jestConfig().readConfig)(argv, root);
|
||||
const globalConfig = options.globalConfig; // Always disable automocking in scripts.
|
||||
|
||||
const config = _objectSpread({}, options.projectConfig, {
|
||||
automock: false
|
||||
}); // Break circular dependency
|
||||
|
||||
const Runtime = require('..');
|
||||
|
||||
try {
|
||||
const hasteMap = await Runtime.createContext(config, {
|
||||
maxWorkers: Math.max((0, _os().cpus)().length - 1, 1),
|
||||
watchman: globalConfig.watchman
|
||||
});
|
||||
|
||||
const Environment = require(config.testEnvironment);
|
||||
|
||||
const environment = new Environment(config);
|
||||
(0, _jestUtil().setGlobal)(
|
||||
environment.global,
|
||||
'console',
|
||||
new (_console().CustomConsole)(process.stdout, process.stderr)
|
||||
);
|
||||
(0, _jestUtil().setGlobal)(environment.global, 'jestProjectConfig', config);
|
||||
(0, _jestUtil().setGlobal)(
|
||||
environment.global,
|
||||
'jestGlobalConfig',
|
||||
globalConfig
|
||||
);
|
||||
const runtime = new Runtime(config, environment, hasteMap.resolver);
|
||||
runtime.requireModule(filePath);
|
||||
} catch (e) {
|
||||
console.error(_chalk().default.red(e.stack || e));
|
||||
process.on('exit', () => (process.exitCode = 1));
|
||||
}
|
||||
}
|
||||
8
node_modules/jest-runtime/build/helpers.d.ts
generated
vendored
Normal file
8
node_modules/jest-runtime/build/helpers.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
export declare const findSiblingsWithFileExtension: (moduleFileExtensions: string[], from: string, moduleName: string) => string;
|
||||
//# sourceMappingURL=helpers.d.ts.map
|
||||
1
node_modules/jest-runtime/build/helpers.d.ts.map
generated
vendored
Normal file
1
node_modules/jest-runtime/build/helpers.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,eAAO,MAAM,6BAA6B,8EA0CzC,CAAC"}
|
||||
131
node_modules/jest-runtime/build/helpers.js
generated
vendored
Normal file
131
node_modules/jest-runtime/build/helpers.js
generated
vendored
Normal file
@@ -0,0 +1,131 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.findSiblingsWithFileExtension = void 0;
|
||||
|
||||
function path() {
|
||||
const data = _interopRequireWildcard(require('path'));
|
||||
|
||||
path = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _slash() {
|
||||
const data = _interopRequireDefault(require('slash'));
|
||||
|
||||
_slash = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _glob() {
|
||||
const data = _interopRequireDefault(require('glob'));
|
||||
|
||||
_glob = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
function _getRequireWildcardCache() {
|
||||
if (typeof WeakMap !== 'function') return null;
|
||||
var cache = new WeakMap();
|
||||
_getRequireWildcardCache = function() {
|
||||
return cache;
|
||||
};
|
||||
return cache;
|
||||
}
|
||||
|
||||
function _interopRequireWildcard(obj) {
|
||||
if (obj && obj.__esModule) {
|
||||
return obj;
|
||||
}
|
||||
if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
||||
return {default: obj};
|
||||
}
|
||||
var cache = _getRequireWildcardCache();
|
||||
if (cache && cache.has(obj)) {
|
||||
return cache.get(obj);
|
||||
}
|
||||
var newObj = {};
|
||||
var hasPropertyDescriptor =
|
||||
Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var key in obj) {
|
||||
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
||||
var desc = hasPropertyDescriptor
|
||||
? Object.getOwnPropertyDescriptor(obj, key)
|
||||
: null;
|
||||
if (desc && (desc.get || desc.set)) {
|
||||
Object.defineProperty(newObj, key, desc);
|
||||
} else {
|
||||
newObj[key] = obj[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
newObj.default = obj;
|
||||
if (cache) {
|
||||
cache.set(obj, newObj);
|
||||
}
|
||||
return newObj;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
const findSiblingsWithFileExtension = (
|
||||
moduleFileExtensions,
|
||||
from,
|
||||
moduleName
|
||||
) => {
|
||||
if (!path().isAbsolute(moduleName) && path().extname(moduleName) === '') {
|
||||
const dirname = path().dirname(from);
|
||||
const pathToModule = path().resolve(dirname, moduleName);
|
||||
|
||||
try {
|
||||
const slashedDirname = (0, _slash().default)(dirname);
|
||||
|
||||
const matches = _glob()
|
||||
.default.sync(`${pathToModule}.*`)
|
||||
.map(match => (0, _slash().default)(match))
|
||||
.map(match => {
|
||||
const relativePath = path().posix.relative(slashedDirname, match);
|
||||
return path().posix.dirname(match) === slashedDirname
|
||||
? `./${relativePath}`
|
||||
: relativePath;
|
||||
})
|
||||
.map(match => `\t'${match}'`)
|
||||
.join('\n');
|
||||
|
||||
if (matches) {
|
||||
const foundMessage = `\n\nHowever, Jest was able to find:\n${matches}`;
|
||||
const mappedModuleFileExtensions = moduleFileExtensions
|
||||
.map(ext => `'${ext}'`)
|
||||
.join(', ');
|
||||
return (
|
||||
foundMessage +
|
||||
"\n\nYou might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently " +
|
||||
`[${mappedModuleFileExtensions}].\n\nSee https://jestjs.io/docs/en/configuration#modulefileextensions-array-string`
|
||||
);
|
||||
}
|
||||
} catch (ignored) {}
|
||||
}
|
||||
|
||||
return '';
|
||||
};
|
||||
|
||||
exports.findSiblingsWithFileExtension = findSiblingsWithFileExtension;
|
||||
111
node_modules/jest-runtime/build/index.d.ts
generated
vendored
Normal file
111
node_modules/jest-runtime/build/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/// <reference types="yargs" />
|
||||
import { Config } from '@jest/types';
|
||||
import { JestEnvironment } from '@jest/environment';
|
||||
import { SourceMapRegistry } from '@jest/source-map';
|
||||
import HasteMap = require('jest-haste-map');
|
||||
import Resolver = require('jest-resolve');
|
||||
import { ShouldInstrumentOptions, shouldInstrument } from '@jest/transform';
|
||||
import { V8CoverageResult } from '@jest/test-result';
|
||||
import { Context as JestContext } from './types';
|
||||
declare type HasteMapOptions = {
|
||||
console?: Console;
|
||||
maxWorkers: number;
|
||||
resetCache: boolean;
|
||||
watch?: boolean;
|
||||
watchman: boolean;
|
||||
};
|
||||
declare type InternalModuleOptions = {
|
||||
isInternalModule: boolean;
|
||||
};
|
||||
declare type CacheFS = {
|
||||
[path: string]: string;
|
||||
};
|
||||
declare namespace Runtime {
|
||||
type Context = JestContext;
|
||||
}
|
||||
declare class Runtime {
|
||||
private _cacheFS;
|
||||
private _config;
|
||||
private _coverageOptions;
|
||||
private _currentlyExecutingModulePath;
|
||||
private _environment;
|
||||
private _explicitShouldMock;
|
||||
private _internalModuleRegistry;
|
||||
private _isCurrentlyExecutingManualMock;
|
||||
private _mockFactories;
|
||||
private _mockMetaDataCache;
|
||||
private _mockRegistry;
|
||||
private _isolatedMockRegistry;
|
||||
private _moduleMocker;
|
||||
private _isolatedModuleRegistry;
|
||||
private _moduleRegistry;
|
||||
private _needsCoverageMapped;
|
||||
private _resolver;
|
||||
private _shouldAutoMock;
|
||||
private _shouldMockModuleCache;
|
||||
private _shouldUnmockTransitiveDependenciesCache;
|
||||
private _sourceMapRegistry;
|
||||
private _scriptTransformer;
|
||||
private _fileTransforms;
|
||||
private _v8CoverageInstrumenter;
|
||||
private _v8CoverageResult;
|
||||
private _transitiveShouldMock;
|
||||
private _unmockList;
|
||||
private _virtualMocks;
|
||||
constructor(config: Config.ProjectConfig, environment: JestEnvironment, resolver: Resolver, cacheFS?: CacheFS, coverageOptions?: ShouldInstrumentOptions);
|
||||
static shouldInstrument: typeof shouldInstrument;
|
||||
static createContext(config: Config.ProjectConfig, options: {
|
||||
console?: Console;
|
||||
maxWorkers: number;
|
||||
watch?: boolean;
|
||||
watchman: boolean;
|
||||
}): Promise<JestContext>;
|
||||
static createHasteMap(config: Config.ProjectConfig, options?: HasteMapOptions): HasteMap;
|
||||
static createResolver(config: Config.ProjectConfig, moduleMap: HasteMap.ModuleMap): Resolver;
|
||||
static runCLI(args?: Config.Argv, info?: Array<string>): Promise<void>;
|
||||
static getCLIOptions(): Record<"cache" | "watchman" | "debug" | "version" | "config", import("yargs").Options>;
|
||||
requireModule(from: Config.Path, moduleName?: string, options?: InternalModuleOptions, isRequireActual?: boolean | null): any;
|
||||
requireInternalModule(from: Config.Path, to?: string): any;
|
||||
requireActual(from: Config.Path, moduleName: string): any;
|
||||
requireMock(from: Config.Path, moduleName: string): any;
|
||||
private _loadModule;
|
||||
private _getFullTransformationOptions;
|
||||
requireModuleOrMock(from: Config.Path, moduleName: string): any;
|
||||
isolateModules(fn: () => void): void;
|
||||
resetModules(): void;
|
||||
collectV8Coverage(): Promise<void>;
|
||||
stopCollectingV8Coverage(): Promise<void>;
|
||||
getAllCoverageInfoCopy(): import("istanbul-lib-coverage").CoverageMapData;
|
||||
getAllV8CoverageInfoCopy(): V8CoverageResult;
|
||||
getSourceMapInfo(coveredFiles: Set<string>): {
|
||||
[path: string]: string;
|
||||
};
|
||||
getSourceMaps(): SourceMapRegistry;
|
||||
setMock(from: string, moduleName: string, mockFactory: () => unknown, options?: {
|
||||
virtual?: boolean;
|
||||
}): void;
|
||||
restoreAllMocks(): void;
|
||||
resetAllMocks(): void;
|
||||
clearAllMocks(): void;
|
||||
private _resolveModule;
|
||||
private _requireResolve;
|
||||
private _requireResolvePaths;
|
||||
private _execModule;
|
||||
private createScriptFromCode;
|
||||
private _requireCoreModule;
|
||||
private _generateMock;
|
||||
private _shouldMock;
|
||||
private _createRequireImplementation;
|
||||
private _createJestObjectFor;
|
||||
private _logFormattedReferenceError;
|
||||
private wrapCodeInModuleWrapper;
|
||||
private constructInjectedModuleParameters;
|
||||
}
|
||||
export = Runtime;
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/jest-runtime/build/index.d.ts.map
generated
vendored
Normal file
1
node_modules/jest-runtime/build/index.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAKH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAEL,eAAe,EAIhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAC,iBAAiB,EAAC,MAAM,kBAAkB,CAAC;AAEnD,OAAO,QAAQ,GAAG,QAAQ,gBAAgB,CAAC,CAAC;AAE5C,OAAO,QAAQ,GAAG,QAAQ,cAAc,CAAC,CAAC;AAI1C,OAAO,EAEL,uBAAuB,EAIvB,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,gBAAgB,EAAC,M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C,EAAE,MAAM;IAIpD,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM;IAInD,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM;IAuFjD,OAAO,CAAC,WAAW;IA8BnB,OAAO,CAAC,6BAA6B;IAarC,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM;IAuBzD,cAAc,CAAC,EAAE,EAAE,MAAM,IAAI;IAa7B,YAAY;IA2BN,iBAAiB;IAMjB,wBAAwB;IAO9B,sBAAsB;IAItB,wBAAwB,IAAI,gBAAgB;IAyB5C,gBAAgB,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC;;;IAe1C,aAAa,IAAI,iBAAiB;IAIlC,OAAO,CACL,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,OAAO,EAC1B,OAAO,CAAC,EAAE;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAC;IAe/B,eAAe;IAIf,aAAa;IAIb,aAAa;IAIb,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,eAAe;IA8CvB,OAAO,CAAC,oBAAoB;IAqB5B,OAAO,CAAC,WAAW;IAwInB,OAAO,CAAC,oBAAoB;IAa5B,OAAO,CAAC,kBAAkB;IAQ1B,OAAO,CAAC,aAAa;IAwCrB,OAAO,CAAC,WAAW;IA8DnB,OAAO,CAAC,4BAA4B;IAwCpC,OAAO,CAAC,oBAAoB;IA8J5B,OAAO,CAAC,2BAA2B;IAenC,OAAO,CAAC,uBAAuB;IAY/B,OAAO,CAAC,iCAAiC;CAY1C;AAED,SAAS,OAAO,CAAC"}
|
||||
1433
node_modules/jest-runtime/build/index.js
generated
vendored
Normal file
1433
node_modules/jest-runtime/build/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
16
node_modules/jest-runtime/build/types.d.ts
generated
vendored
Normal file
16
node_modules/jest-runtime/build/types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 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 HasteResolver = require('jest-resolve');
|
||||
import { FS as HasteFS, ModuleMap } from 'jest-haste-map';
|
||||
export declare type Context = {
|
||||
config: Config.ProjectConfig;
|
||||
hasteFS: HasteFS;
|
||||
moduleMap: ModuleMap;
|
||||
resolver: HasteResolver;
|
||||
};
|
||||
//# sourceMappingURL=types.d.ts.map
|
||||
1
node_modules/jest-runtime/build/types.d.ts.map
generated
vendored
Normal file
1
node_modules/jest-runtime/build/types.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,aAAa,GAAG,QAAQ,cAAc,CAAC,CAAC;AAC/C,OAAO,EAAC,EAAE,IAAI,OAAO,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAExD,oBAAY,OAAO,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC"}
|
||||
15
node_modules/jest-runtime/build/types.js
generated
vendored
Normal file
15
node_modules/jest-runtime/build/types.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
function _jestResolve() {
|
||||
const data = _interopRequireDefault(require('jest-resolve'));
|
||||
|
||||
_jestResolve = function() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
8
node_modules/jest-runtime/build/version.d.ts
generated
vendored
Normal file
8
node_modules/jest-runtime/build/version.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
export declare const VERSION: string;
|
||||
//# sourceMappingURL=version.d.ts.map
|
||||
1
node_modules/jest-runtime/build/version.d.ts.map
generated
vendored
Normal file
1
node_modules/jest-runtime/build/version.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,eAAO,MAAM,OAAO,EAAE,MAA2C,CAAC"}
|
||||
17
node_modules/jest-runtime/build/version.js
generated
vendored
Normal file
17
node_modules/jest-runtime/build/version.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.VERSION = void 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.
|
||||
*/
|
||||
// For some reason, doing `require`ing here works, while inside `cli` fails
|
||||
const VERSION = require('../package.json').version;
|
||||
|
||||
exports.VERSION = VERSION;
|
||||
Reference in New Issue
Block a user