Socket
Socket
Sign inDemoInstall

jest-config

Package Overview
Dependencies
186
Maintainers
1
Versions
305
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.1.1-alpha.2935e14d to 12.1.2-alpha.6230044c

1

build/defaults.js

@@ -22,2 +22,3 @@ /**

bail: false,
browser: false,
cacheDirectory: os.tmpdir(),

@@ -24,0 +25,0 @@ colors: false,

12

build/normalize.js

@@ -123,3 +123,3 @@ /**

config.testRegex =
path.sep + (config.testDirectoryName || '__tests__') + path.sep +
'/' + (config.testDirectoryName || '__tests__') + '/' +
'.*\\.(' + extensions.join('|') + ')$';

@@ -175,3 +175,5 @@

const polyfillPath =
Resolver.findNodeModule('babel-polyfill', { basedir: config.rootDir });
Resolver.findNodeModule('babel-polyfill', {
basedir: config.rootDir });
if (polyfillPath) {

@@ -185,3 +187,5 @@ config.setupFiles.unshift(polyfillPath);}

const isRNProject =
!!Resolver.findNodeModule('react-native', { basedir: config.rootDir });
!!Resolver.findNodeModule('react-native', {
basedir: config.rootDir });
config.preprocessorIgnorePatterns =

@@ -252,2 +256,3 @@ isRNProject ? [] : [constants.NODE_MODULES];} else

case 'bail':
case 'browser':
case 'cache':

@@ -272,2 +277,3 @@ case 'collectCoverage':

case 'persistModuleRegistryBetweenSpecs':
case 'replname':
case 'rootDir':

@@ -274,0 +280,0 @@ case 'updateSnapshot':

@@ -86,8 +86,8 @@ /**

const status = this._getIcon(test.status);
this._logLine(`${ status } ${ chalk.gray(test.title) }`, indentLevel);}
this._logLine(status + ' ' + chalk.gray(test.title), indentLevel);}
_logLine(str = '', indentLevel = 0) {
const indentation = ' '.repeat(indentLevel);
this._process.stdout.write(`${ indentation }${ str }\n`);}}
_logLine(str, indentLevel) {
const indentation = ' '.repeat(indentLevel || 0);
this._process.stdout.write(indentation + (str || '') + '\n');}}

@@ -94,0 +94,0 @@

@@ -55,2 +55,6 @@ /**

if (argv.replname) {
config.replname = argv.replname;}
if (argv.silent) {

@@ -57,0 +61,0 @@ config.silent = true;}

{
"name": "jest-config",
"version": "12.1.1-alpha.2935e14d",
"version": "12.1.2-alpha.6230044c",
"repository": {

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

"istanbul": "^0.4.2",
"jest-environment-jsdom": "^12.1.1-alpha.2935e14d",
"jest-environment-node": "^12.1.1-alpha.2935e14d",
"jest-jasmine1": "^12.1.1-alpha.2935e14d",
"jest-jasmine2": "^12.1.1-alpha.2935e14d",
"jest-mock": "^12.1.1-alpha.2935e14d",
"jest-resolve": "^12.1.1-alpha.2935e14d",
"jest-util": "^12.1.1-alpha.2935e14d",
"jest-environment-jsdom": "^12.1.2-alpha.6230044c",
"jest-environment-node": "^12.1.2-alpha.6230044c",
"jest-jasmine1": "^12.1.2-alpha.6230044c",
"jest-jasmine2": "^12.1.2-alpha.6230044c",
"jest-mock": "^12.1.2-alpha.6230044c",
"jest-resolve": "^12.1.2-alpha.6230044c",
"jest-util": "^12.1.2-alpha.6230044c",
"json-stable-stringify": "^1.0.0",

@@ -22,0 +22,0 @@ "node-notifier": "^4.6.0"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc