Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -8,7 +8,7 @@ exports.default = void 0;
function _chalk() {
const data = _interopRequireDefault(require('chalk'));
_chalk = function _chalk() {
_chalk = function () {
return data;
};
@@ -18,7 +18,7 @@ function _chalk() {
function _prettyFormat() {
const data = _interopRequireDefault(require('pretty-format'));
_prettyFormat = function _prettyFormat() {
_prettyFormat = function () {
return data;
};
@@ -40,28 +40,26 @@ const format = value =>
min: true
});
var _default = {
const deprecatedOptions = {
browser: () => ` Option ${_chalk().default.bold(
'"browser"'
)} has been deprecated. Please install "browser-resolve" and use the "resolver" option in Jest configuration as follows:
{
${_chalk().default.bold('"resolver"')}: ${_chalk().default.bold(
'"browser-resolve"'
)}
}
`,
mapCoverage: () => ` Option ${_chalk().default.bold(
'"mapCoverage"'
)} has been removed, as it's no longer necessary.
Please update your configuration.`,
preprocessorIgnorePatterns: (function(_preprocessorIgnorePatterns) {
function preprocessorIgnorePatterns(_x) {
return _preprocessorIgnorePatterns.apply(this, arguments);
}
preprocessorIgnorePatterns.toString = function() {
return _preprocessorIgnorePatterns.toString();
};
return preprocessorIgnorePatterns;
})(
options => ` Option ${_chalk().default.bold(
'"preprocessorIgnorePatterns"'
)} was replaced by ${_chalk().default.bold(
'"transformIgnorePatterns"'
)}, which support multiple preprocessors.
preprocessorIgnorePatterns: options => ` Option ${_chalk().default.bold(
'"preprocessorIgnorePatterns"'
)} was replaced by ${_chalk().default.bold(
'"transformIgnorePatterns"'
)}, which support multiple preprocessors.
Jest now treats your current configuration as:
{
@@ -70,77 +68,41 @@ var _default = {
)}: ${_chalk().default.bold(format(options.preprocessorIgnorePatterns))}
}
Please update your configuration.`
),
scriptPreprocessor: (function(_scriptPreprocessor) {
function scriptPreprocessor(_x2) {
return _scriptPreprocessor.apply(this, arguments);
}
scriptPreprocessor.toString = function() {
return _scriptPreprocessor.toString();
};
return scriptPreprocessor;
})(
options => ` Option ${_chalk().default.bold(
'"scriptPreprocessor"'
)} was replaced by ${_chalk().default.bold(
'"transform"'
)}, which support multiple preprocessors.
Please update your configuration.`,
scriptPreprocessor: options => ` Option ${_chalk().default.bold(
'"scriptPreprocessor"'
)} was replaced by ${_chalk().default.bold(
'"transform"'
)}, which support multiple preprocessors.
Jest now treats your current configuration as:
{
${_chalk().default.bold('"transform"')}: ${_chalk().default.bold(
`{".*": ${format(options.scriptPreprocessor)}}`
)}
`{".*": ${format(options.scriptPreprocessor)}}`
)}
}
Please update your configuration.`
),
setupTestFrameworkScriptFile: (function(_setupTestFrameworkScriptFile) {
function setupTestFrameworkScriptFile(_x3) {
return _setupTestFrameworkScriptFile.apply(this, arguments);
}
Please update your configuration.`,
setupTestFrameworkScriptFile: _options => ` Option ${_chalk().default.bold(
'"setupTestFrameworkScriptFile"'
)} was replaced by configuration ${_chalk().default.bold(
'"setupFilesAfterEnv"'
)}, which supports multiple paths.
setupTestFrameworkScriptFile.toString = function() {
return _setupTestFrameworkScriptFile.toString();
};
return setupTestFrameworkScriptFile;
})(
_options => ` Option ${_chalk().default.bold(
'"setupTestFrameworkScriptFile"'
)} was replaced by configuration ${_chalk().default.bold(
'"setupFilesAfterEnv"'
)}, which supports multiple paths.
Please update your configuration.`
),
testPathDirs: (function(_testPathDirs) {
function testPathDirs(_x4) {
return _testPathDirs.apply(this, arguments);
}
testPathDirs.toString = function() {
return _testPathDirs.toString();
};
return testPathDirs;
})(
options => ` Option ${_chalk().default.bold(
'"testPathDirs"'
)} was replaced by ${_chalk().default.bold('"roots"')}.
Please update your configuration.`,
testPathDirs: options => ` Option ${_chalk().default.bold(
'"testPathDirs"'
)} was replaced by ${_chalk().default.bold('"roots"')}.
Jest now treats your current configuration as:
{
${_chalk().default.bold('"roots"')}: ${_chalk().default.bold(
format(options.testPathDirs)
)}
format(options.testPathDirs)
)}
}
Please update your configuration.
`
)
};
var _default = deprecatedOptions;
exports.default = _default;