This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -110,7 +110,7 @@ module.exports = function (options) {
options = Object.assign({
onlyFirst: false
}, options);
var pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)", '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'].join('|');
var pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'].join('|');
return new RegExp(pattern, options.onlyFirst ? undefined : 'g');
};
@@ -1588,7 +1588,7 @@ module.exports = {
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/** @license React v16.8.4
/** @license React v16.8.6
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -2413,7 +2413,7 @@ function validateOptions(options) {
var getColorsHighlight = function getColorsHighlight(options) {
return DEFAULT_THEME_KEYS.reduce(function (colors, key) {
var value = options.theme && options.theme[key] !== undefined ? options.theme[key] : DEFAULT_THEME[key];
var color = _ansiStyles.default[value];
var color = value && _ansiStyles.default[value];
if (color && typeof color.close === 'string' && typeof color.open === 'string') {
colors[key] = color;
@@ -3052,7 +3052,7 @@ var getType = function getType(element) {
}
if (ReactIs.isMemo(type)) {
var _functionName = type.type.displayName || type.type.name || '';
var _functionName = type.displayName || type.type.displayName || type.type.name || '';
return _functionName !== '' ? 'Memo(' + _functionName + ')' : 'Memo';
}