New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jest-runtime

Package Overview
Dependencies
Maintainers
7
Versions
306
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 27.0.0-next.6 to 27.0.0-next.7

2

build/helpers.js

@@ -145,3 +145,3 @@ 'use strict';

"\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-arraystring`
`[${mappedModuleFileExtensions}].\n\nSee https://jestjs.io/docs/configuration#modulefileextensions-arraystring`
);

@@ -148,0 +148,0 @@ }

@@ -466,10 +466,16 @@ 'use strict';

computeSha1: config.haste.computeSha1,
console: options && options.console,
console:
options === null || options === void 0 ? void 0 : options.console,
dependencyExtractor: config.dependencyExtractor,
enableSymlinks: config.haste.enableSymlinks,
extensions: [_jestSnapshot().default.EXTENSION].concat(
config.moduleFileExtensions
),
forceNodeFilesystemAPI: config.haste.forceNodeFilesystemAPI,
hasteImplModulePath: config.haste.hasteImplModulePath,
ignorePattern,
maxWorkers: (options && options.maxWorkers) || 1,
maxWorkers:
(options === null || options === void 0
? void 0
: options.maxWorkers) || 1,
mocksPattern: (0, _jestRegexUtil().escapePathForRegex)(

@@ -480,3 +486,4 @@ path().sep + '__mocks__' + path().sep

platforms: config.haste.platforms || ['ios', 'android'],
resetCache: options && options.resetCache,
resetCache:
options === null || options === void 0 ? void 0 : options.resetCache,
retainAllFiles: false,

@@ -486,4 +493,5 @@ rootDir: config.rootDir,

throwOnModuleCollision: config.haste.throwOnModuleCollision,
useWatchman: options && options.watchman,
watch: options && options.watch
useWatchman:
options === null || options === void 0 ? void 0 : options.watchman,
watch: options === null || options === void 0 ? void 0 : options.watch
});

@@ -577,3 +585,3 @@ }

runtimeSupportsVmModules,
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/en/ecmascript-modules'
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules'
);

@@ -676,3 +684,3 @@ const module = await this.resolveModule(

runtimeSupportsVmModules,
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/en/ecmascript-modules'
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules'
);

@@ -786,2 +794,12 @@ const [path, query] = (moduleName !== null && moduleName !== void 0

if (this.unstable_shouldLoadAsEsm(modulePath)) {
// Node includes more info in the message
const error = new Error(
`Must use import to load ES Module: ${modulePath}`
); // @ts-expect-error: `code` is not defined
error.code = 'ERR_REQUIRE_ESM';
throw error;
}
let moduleRegistry;

@@ -791,8 +809,6 @@

moduleRegistry = this._internalModuleRegistry;
} else if (this._isolatedModuleRegistry) {
moduleRegistry = this._isolatedModuleRegistry;
} else {
if (this._isolatedModuleRegistry) {
moduleRegistry = this._isolatedModuleRegistry;
} else {
moduleRegistry = this._moduleRegistry;
}
moduleRegistry = this._moduleRegistry;
}

@@ -1472,3 +1488,3 @@

runtimeSupportsVmModules,
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/en/ecmascript-modules'
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules'
);

@@ -1475,0 +1491,0 @@ const context =

{
"name": "jest-runtime",
"version": "27.0.0-next.6",
"version": "27.0.0-next.7",
"repository": {

@@ -17,10 +17,10 @@ "type": "git",

"dependencies": {
"@jest/console": "^27.0.0-next.6",
"@jest/environment": "^27.0.0-next.6",
"@jest/fake-timers": "^27.0.0-next.6",
"@jest/globals": "^27.0.0-next.6",
"@jest/console": "^27.0.0-next.7",
"@jest/environment": "^27.0.0-next.7",
"@jest/fake-timers": "^27.0.0-next.7",
"@jest/globals": "^27.0.0-next.7",
"@jest/source-map": "^27.0.0-next.3",
"@jest/test-result": "^27.0.0-next.6",
"@jest/transform": "^27.0.0-next.6",
"@jest/types": "^27.0.0-next.3",
"@jest/test-result": "^27.0.0-next.7",
"@jest/transform": "^27.0.0-next.7",
"@jest/types": "^27.0.0-next.7",
"@types/yargs": "^16.0.0",

@@ -33,10 +33,10 @@ "chalk": "^4.0.0",

"graceful-fs": "^4.2.4",
"jest-haste-map": "^27.0.0-next.6",
"jest-message-util": "^27.0.0-next.6",
"jest-mock": "^27.0.0-next.3",
"jest-haste-map": "^27.0.0-next.7",
"jest-message-util": "^27.0.0-next.7",
"jest-mock": "^27.0.0-next.7",
"jest-regex-util": "^27.0.0-next.0",
"jest-resolve": "^27.0.0-next.6",
"jest-snapshot": "^27.0.0-next.6",
"jest-util": "^27.0.0-next.6",
"jest-validate": "^27.0.0-next.6",
"jest-resolve": "^27.0.0-next.7",
"jest-snapshot": "^27.0.0-next.7",
"jest-util": "^27.0.0-next.7",
"jest-validate": "^27.0.0-next.7",
"slash": "^3.0.0",

@@ -47,3 +47,3 @@ "strip-bom": "^4.0.0",

"devDependencies": {
"@jest/test-utils": "^27.0.0-next.6",
"@jest/test-utils": "^27.0.0-next.7",
"@types/exit": "^0.1.30",

@@ -54,3 +54,3 @@ "@types/glob": "^7.1.1",

"execa": "^5.0.0",
"jest-environment-node": "^27.0.0-next.6",
"jest-environment-node": "^27.0.0-next.7",
"jest-snapshot-serializer-raw": "^1.1.0"

@@ -64,3 +64,3 @@ },

},
"gitHead": "974d2f22b7deeb4f683fb38dd1ee3a0e984916df"
"gitHead": "28c763e6be8f57bda89238b95dc801460c2d6601"
}
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