Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-runtime

Package Overview
Dependencies
Maintainers
6
Versions
305
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-runtime - npm Package Compare versions

Comparing version 28.0.0-alpha.1 to 28.0.0-alpha.2

16

build/index.d.ts

@@ -94,3 +94,3 @@ /**

coverageOptions: ShouldInstrumentOptions,
testPath: Config.Path,
testPath: string,
);

@@ -117,7 +117,7 @@ static shouldInstrument: typeof shouldInstrument;

static getCLIOptions(): never;
unstable_shouldLoadAsEsm(path: Config.Path): boolean;
unstable_shouldLoadAsEsm(path: string): boolean;
private loadEsmModule;
private resolveModule;
private linkAndEvaluateModule;
unstable_importModule(from: Config.Path, moduleName?: string): Promise<void>;
unstable_importModule(from: string, moduleName?: string): Promise<void>;
private loadCjsAsEsm;

@@ -127,3 +127,3 @@ private importMock;

requireModule<T = unknown>(
from: Config.Path,
from: string,
moduleName?: string,

@@ -133,8 +133,8 @@ options?: InternalModuleOptions,

): T;
requireInternalModule<T = unknown>(from: Config.Path, to?: string): T;
requireActual<T = unknown>(from: Config.Path, moduleName: string): T;
requireMock<T = unknown>(from: Config.Path, moduleName: string): T;
requireInternalModule<T = unknown>(from: string, to?: string): T;
requireActual<T = unknown>(from: string, moduleName: string): T;
requireMock<T = unknown>(from: string, moduleName: string): T;
private _loadModule;
private _getFullTransformationOptions;
requireModuleOrMock<T = unknown>(from: Config.Path, moduleName: string): T;
requireModuleOrMock<T = unknown>(from: string, moduleName: string): T;
isolateModules(fn: () => void): void;

@@ -141,0 +141,0 @@ resetModules(): void;

{
"name": "jest-runtime",
"version": "28.0.0-alpha.1",
"version": "28.0.0-alpha.2",
"repository": {

@@ -20,9 +20,9 @@ "type": "git",

"dependencies": {
"@jest/environment": "^28.0.0-alpha.1",
"@jest/fake-timers": "^28.0.0-alpha.1",
"@jest/globals": "^28.0.0-alpha.1",
"@jest/environment": "^28.0.0-alpha.2",
"@jest/fake-timers": "^28.0.0-alpha.2",
"@jest/globals": "^28.0.0-alpha.2",
"@jest/source-map": "^28.0.0-alpha.0",
"@jest/test-result": "^28.0.0-alpha.1",
"@jest/transform": "^28.0.0-alpha.1",
"@jest/types": "^28.0.0-alpha.1",
"@jest/test-result": "^28.0.0-alpha.2",
"@jest/transform": "^28.0.0-alpha.2",
"@jest/types": "^28.0.0-alpha.2",
"chalk": "^4.0.0",

@@ -34,9 +34,9 @@ "cjs-module-lexer": "^1.0.0",

"graceful-fs": "^4.2.9",
"jest-haste-map": "^28.0.0-alpha.1",
"jest-message-util": "^28.0.0-alpha.1",
"jest-mock": "^28.0.0-alpha.1",
"jest-haste-map": "^28.0.0-alpha.2",
"jest-message-util": "^28.0.0-alpha.2",
"jest-mock": "^28.0.0-alpha.2",
"jest-regex-util": "^28.0.0-alpha.0",
"jest-resolve": "^28.0.0-alpha.1",
"jest-snapshot": "^28.0.0-alpha.1",
"jest-util": "^28.0.0-alpha.1",
"jest-resolve": "^28.0.0-alpha.2",
"jest-snapshot": "^28.0.0-alpha.2",
"jest-util": "^28.0.0-alpha.2",
"slash": "^3.0.0",

@@ -46,7 +46,7 @@ "strip-bom": "^4.0.0"

"devDependencies": {
"@jest/test-utils": "^28.0.0-alpha.1",
"@jest/test-utils": "^28.0.0-alpha.2",
"@types/glob": "^7.1.1",
"@types/graceful-fs": "^4.1.2",
"@types/node": "^14.0.27",
"jest-environment-node": "^28.0.0-alpha.1"
"jest-environment-node": "^28.0.0-alpha.2"
},

@@ -59,3 +59,3 @@ "engines": {

},
"gitHead": "d30164dde1847166fa0faec98d20abffd85e6ffd"
"gitHead": "694d6bfea56f9cb49d0c7309cdbfff032da198c2"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc