mirror of
https://github.com/actions/labeler
synced 2026-11-11 22:37:58 +01:00
build
This commit is contained in:
1 parent
e4246d2b5b
commit
91fcbb0108
4227 files changed
+416789
-457836
No files matched your search
+1
-3
@@ -1,8 +1,6 @@
|
||||
MIT License
|
||||
|
||||
For Jest software
|
||||
|
||||
Copyright (c) 2014-present, Facebook, Inc.
|
||||
Copyright (c) Facebook, Inc. and its affiliates.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
+5
-12
@@ -1,18 +1,9 @@
|
||||
# pretty-format
|
||||
|
||||
> Stringify any JavaScript value.
|
||||
Stringify any JavaScript value.
|
||||
|
||||
- Supports all built-in JavaScript types
|
||||
- primitive types: `Boolean`, `null`, `Number`, `String`, `Symbol`, `undefined`
|
||||
- other non-collection types: `Date`, `Error`, `Function`, `RegExp`
|
||||
- collection types:
|
||||
- `arguments`, `Array`, `ArrayBuffer`, `DataView`, `Float32Array`, `Float64Array`, `Int8Array`, `Int16Array`, `Int32Array`, `Uint8Array`, `Uint8ClampedArray`, `Uint16Array`, `Uint32Array`,
|
||||
- `Map`, `Set`, `WeakMap`, `WeakSet`
|
||||
- `Object`
|
||||
- [Blazingly fast](https://gist.github.com/thejameskyle/2b04ffe4941aafa8f970de077843a8fd)
|
||||
- similar performance to `JSON.stringify` in v8
|
||||
- significantly faster than `util.format` in Node.js
|
||||
- Serialize application-specific data types with built-in or user-defined plugins
|
||||
- Serialize built-in JavaScript types.
|
||||
- Serialize application-specific data types with built-in or user-defined plugins.
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -74,6 +65,7 @@ console.log(prettyFormat(onClick, options));
|
||||
*/
|
||||
```
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
| key | type | default | description |
|
||||
| :------------------ | :-------- | :--------- | :------------------------------------------------------ |
|
||||
| `callToJSON` | `boolean` | `true` | call `toJSON` method (if it exists) on objects |
|
||||
@@ -211,6 +203,7 @@ Write `serialize` to return a string, given the arguments:
|
||||
|
||||
### config
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
| key | type | description |
|
||||
| :------------------ | :-------- | :------------------------------------------------------ |
|
||||
| `callToJSON` | `boolean` | call `toJSON` method (if it exists) on objects |
|
||||
|
||||
+4
-4
@@ -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';
|
||||
}
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["webpack://prettyFormat/webpack/universalModuleDefinition","webpack://prettyFormat/webpack/bootstrap","webpack://prettyFormat/./node_modules/ansi-regex/index.js","webpack://prettyFormat/./node_modules/ansi-styles/index.js","webpack://prettyFormat/./node_modules/color-convert/conversions.js","webpack://prettyFormat/./node_modules/color-convert/index.js","webpack://prettyFormat/./node_modules/color-convert/route.js","webpack://prettyFormat/./node_modules/color-name/index.js","webpack://prettyFormat/./node_modules/react-is/cjs/react-is.development.js","webpack://prettyFormat/./node_modules/react-is/index.js","webpack://prettyFormat/(webpack)/buildin/module.js","webpack://prettyFormat/./packages/pretty-format/src/collections.ts","webpack://prettyFormat/./packages/pretty-format/src/index.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/AsymmetricMatcher.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/ConvertAnsi.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/DOMCollection.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/DOMElement.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/Immutable.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/ReactElement.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/ReactTestComponent.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/lib/escapeHTML.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/lib/markup.ts"],"names":["module","exports","options","Object","assign","onlyFirst","pattern","join","RegExp","undefined","colorConvert","require","wrapAnsi16","fn","offset","code","apply","arguments","wrapAnsi256","wrapAnsi16m","rgb","assembleStyles","codes","Map","styles","modifier","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","color","black","red","green","yellow","blue","magenta","cyan","white","gray","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgColor","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","grey","keys","groupName","group","styleName","style","open","close","set","defineProperty","value","enumerable","ansi2ansi","n","rgb2rgb","r","g","b","ansi","ansi256","ansi16m","key","suite","ansi16","get","cssKeywords","reverseKeywords","hasOwnProperty","convert","channels","labels","hsl","hsv","hwb","cmyk","xyz","lab","lch","hex","keyword","hcg","apple","model","Error","length","min","Math","max","delta","h","s","l","rdif","gdif","bdif","v","diff","diffc","c","w","m","y","k","comparativeDistance","x","pow","reversed","currentClosestDistance","Infinity","currentClosestKeyword","distance","z","a","t1","t2","t3","val","i","smin","lmin","sv","hi","floor","f","p","q","t","vmin","sl","wh","bl","ratio","y2","x2","z2","hr","atan2","PI","sqrt","cos","sin","args","round","mult","rem","integer","string","toString","toUpperCase","substring","match","colorString","split","map","char","parseInt","chroma","grayscale","hue","pure","mg","conversions","route","models","wrapRaw","wrappedFn","Array","prototype","slice","call","conversion","wrapRounded","result","len","forEach","fromModel","routes","routeModels","toModel","raw","buildGraph","graph","parent","deriveBFS","queue","current","pop","adjacents","adjacent","node","unshift","link","from","to","wrapConversion","path","cur","process","hasSymbol","Symbol","for","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","isValidElementType","type","$$typeof","lowPriorityWarning","printWarning","format","_len","_key","argIndex","message","replace","console","warn","condition","_len2","_key2","concat","lowPriorityWarning$1","typeOf","object","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","webpackPolyfill","deprecate","paths","children","getKeysOfEnumerableProperties","sort","getOwnPropertySymbols","symbol","getOwnPropertyDescriptor","push","printIteratorEntries","iterator","config","indentation","depth","refs","printer","separator","next","done","spacingOuter","indentationNext","indent","name","spacingInner","printIteratorValues","printListItems","list","printObjectProperties","toISOString","Date","errorToString","regExpToString","symbolToString","getConstructorName","constructor","Line truncated
|
||||
{"version":3,"sources":["webpack://prettyFormat/webpack/universalModuleDefinition","webpack://prettyFormat/webpack/bootstrap","webpack://prettyFormat/./node_modules/ansi-regex/index.js","webpack://prettyFormat/./node_modules/ansi-styles/index.js","webpack://prettyFormat/./node_modules/color-convert/conversions.js","webpack://prettyFormat/./node_modules/color-convert/index.js","webpack://prettyFormat/./node_modules/color-convert/route.js","webpack://prettyFormat/./node_modules/color-name/index.js","webpack://prettyFormat/./node_modules/react-is/cjs/react-is.development.js","webpack://prettyFormat/./node_modules/react-is/index.js","webpack://prettyFormat/(webpack)/buildin/module.js","webpack://prettyFormat/./packages/pretty-format/src/collections.ts","webpack://prettyFormat/./packages/pretty-format/src/index.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/AsymmetricMatcher.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/ConvertAnsi.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/DOMCollection.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/DOMElement.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/Immutable.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/ReactElement.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/ReactTestComponent.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/lib/escapeHTML.ts","webpack://prettyFormat/./packages/pretty-format/src/plugins/lib/markup.ts"],"names":["module","exports","options","Object","assign","onlyFirst","pattern","join","RegExp","undefined","colorConvert","require","wrapAnsi16","fn","offset","code","apply","arguments","wrapAnsi256","wrapAnsi16m","rgb","assembleStyles","codes","Map","styles","modifier","reset","bold","dim","italic","underline","inverse","hidden","strikethrough","color","black","red","green","yellow","blue","magenta","cyan","white","gray","redBright","greenBright","yellowBright","blueBright","magentaBright","cyanBright","whiteBright","bgColor","bgBlack","bgRed","bgGreen","bgYellow","bgBlue","bgMagenta","bgCyan","bgWhite","bgBlackBright","bgRedBright","bgGreenBright","bgYellowBright","bgBlueBright","bgMagentaBright","bgCyanBright","bgWhiteBright","grey","keys","groupName","group","styleName","style","open","close","set","defineProperty","value","enumerable","ansi2ansi","n","rgb2rgb","r","g","b","ansi","ansi256","ansi16m","key","suite","ansi16","get","cssKeywords","reverseKeywords","hasOwnProperty","convert","channels","labels","hsl","hsv","hwb","cmyk","xyz","lab","lch","hex","keyword","hcg","apple","model","Error","length","min","Math","max","delta","h","s","l","rdif","gdif","bdif","v","diff","diffc","c","w","m","y","k","comparativeDistance","x","pow","reversed","currentClosestDistance","Infinity","currentClosestKeyword","distance","z","a","t1","t2","t3","val","i","smin","lmin","sv","hi","floor","f","p","q","t","vmin","sl","wh","bl","ratio","y2","x2","z2","hr","atan2","PI","sqrt","cos","sin","args","round","mult","rem","integer","string","toString","toUpperCase","substring","match","colorString","split","map","char","parseInt","chroma","grayscale","hue","pure","mg","conversions","route","models","wrapRaw","wrappedFn","Array","prototype","slice","call","conversion","wrapRounded","result","len","forEach","fromModel","routes","routeModels","toModel","raw","buildGraph","graph","parent","deriveBFS","queue","current","pop","adjacents","adjacent","node","unshift","link","from","to","wrapConversion","path","cur","process","hasSymbol","Symbol","for","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","isValidElementType","type","$$typeof","lowPriorityWarning","printWarning","format","_len","_key","argIndex","message","replace","console","warn","condition","_len2","_key2","concat","lowPriorityWarning$1","typeOf","object","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","webpackPolyfill","deprecate","paths","children","getKeysOfEnumerableProperties","sort","getOwnPropertySymbols","symbol","getOwnPropertyDescriptor","push","printIteratorEntries","iterator","config","indentation","depth","refs","printer","separator","next","done","spacingOuter","indentationNext","indent","name","spacingInner","printIteratorValues","printListItems","list","printObjectProperties","toISOString","Date","errorToString","regExpToString","symbolToString","getConstructorName","constructor","Line truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../src/collections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,SAAS,CAAC;AAgB9C;;;;GAIG;AACH,wBAAgB,oBAAoB,CAIlC,QAAQ,EAAE,GAAG,EACb,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAIhB,SAAS,GAAE,MAAa,GACvB,MAAM,CAwCR;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,EACvB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,GACf,MAAM,CA2BR;AAED;;;;IAII;AACJ,wBAAgB,cAAc,CAC5B,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,GACf,MAAM,CAwBR;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,GACf,MAAM,CAiCR"}
|
||||
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../src/collections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,SAAS,CAAC;AAgB9C;;;;GAIG;AACH,wBAAgB,oBAAoB,CAIlC,QAAQ,EAAE,GAAG,EACb,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAIhB,SAAS,GAAE,MAAa,GACvB,MAAM,CAwCR;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,EACvB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,GACf,MAAM,CA2BR;AAED;;;;IAII;AACJ,wBAAgB,cAAc,CAC5B,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,GACf,MAAM,CAwBR;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,GACf,MAAM,CA2BR"}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,YAAY,MAAM,SAAS,CAAC;AA8dxC;;;;GAIG;AACH,iBAAS,YAAY,CACnB,GAAG,EAAE,GAAG,EACR,OAAO,CAAC,EAAE,YAAY,CAAC,eAAe,GACrC,MAAM,CAsBR;kBAzBQ,YAAY;;;;;;;;;;;AAsCrB,kBAAU,YAAY,CAAC;IACrB,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACzC,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACzC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC;IAC3C,KAAY,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC;IAC3D,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACzC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC;IAC3C,KAAY,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IACrC,KAAY,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;CACxC;AAED,SAAS,YAAY,CAAC"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,YAAY,MAAM,SAAS,CAAC;AAgexC;;;;GAIG;AACH,iBAAS,YAAY,CACnB,GAAG,EAAE,GAAG,EACR,OAAO,CAAC,EAAE,YAAY,CAAC,eAAe,GACrC,MAAM,CAsBR;kBAzBQ,YAAY;;;;;;;;;;;AAsCrB,kBAAU,YAAY,CAAC;IACrB,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACzC,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACzC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC;IAC3C,KAAY,eAAe,GAAG,YAAY,CAAC,eAAe,CAAC;IAC3D,KAAY,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;IAC/C,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACzC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC;IAC3C,KAAY,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;IACrC,KAAY,KAAK,GAAG,YAAY,CAAC,KAAK,CAAC;CACxC;AAED,SAAS,YAAY,CAAC"}
|
||||
+1
-1
@@ -432,7 +432,7 @@ const getColorsHighlight = options =>
|
||||
options.theme && options.theme[key] !== undefined
|
||||
? options.theme[key]
|
||||
: DEFAULT_THEME[key];
|
||||
const color = _ansiStyles.default[value];
|
||||
const color = value && _ansiStyles.default[value];
|
||||
|
||||
if (
|
||||
color &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"ReactElement.d.ts","sourceRoot":"","sources":["../../src/plugins/ReactElement.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAO,MAAM,UAAU,CAAC;AAuE1D,eAAO,MAAM,SAAS,6GA+Bf,CAAC;AAER,eAAO,MAAM,IAAI,uBAA8C,CAAC;AAEhE,QAAA,MAAM,MAAM,EAAE,SAA6B,CAAC;AAE5C,eAAe,MAAM,CAAC"}
|
||||
{"version":3,"file":"ReactElement.d.ts","sourceRoot":"","sources":["../../src/plugins/ReactElement.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAO,MAAM,UAAU,CAAC;AAwE1D,eAAO,MAAM,SAAS,6GA+Bf,CAAC;AAER,eAAO,MAAM,IAAI,uBAA8C,CAAC;AAEhE,QAAA,MAAM,MAAM,EAAE,SAA6B,CAAC;AAE5C,eAAe,MAAM,CAAC"}
|
||||
+2
-1
@@ -90,7 +90,8 @@ const getType = element => {
|
||||
}
|
||||
|
||||
if (ReactIs.isMemo(type)) {
|
||||
const functionName = type.type.displayName || type.type.name || '';
|
||||
const functionName =
|
||||
type.displayName || type.type.displayName || type.type.name || '';
|
||||
return functionName !== '' ? 'Memo(' + functionName + ')' : 'Memo';
|
||||
}
|
||||
}
|
||||
|
||||
+16
-20
@@ -1,26 +1,19 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"pretty-format@24.8.0",
|
||||
"/Users/pjquirk/Source/GitHub/actions/labeler"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "pretty-format@24.8.0",
|
||||
"_id": "pretty-format@24.8.0",
|
||||
"_from": "pretty-format@^24.9.0",
|
||||
"_id": "pretty-format@24.9.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-P952T7dkrDEplsR+TuY7q3VXDae5Sr7zmQb12JU/NDQa/3CH7/QW0yvqLcGN6jL+zQFKaoJcPc+yJxMTGmosqw==",
|
||||
"_integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==",
|
||||
"_location": "/pretty-format",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "pretty-format@24.8.0",
|
||||
"raw": "pretty-format@^24.9.0",
|
||||
"name": "pretty-format",
|
||||
"escapedName": "pretty-format",
|
||||
"rawSpec": "24.8.0",
|
||||
"rawSpec": "^24.9.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "24.8.0"
|
||||
"fetchSpec": "^24.9.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/jest-circus",
|
||||
@@ -33,9 +26,10 @@
|
||||
"/jest-snapshot",
|
||||
"/jest-validate"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.8.0.tgz",
|
||||
"_spec": "24.8.0",
|
||||
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
|
||||
"_resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz",
|
||||
"_shasum": "12fac31b37019a4eea3c11aa9a959eb7628aa7c9",
|
||||
"_spec": "pretty-format@^24.9.0",
|
||||
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/jest-diff",
|
||||
"author": {
|
||||
"name": "James Kyle",
|
||||
"email": "me@thejameskyle.com"
|
||||
@@ -44,12 +38,14 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/jest/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@jest/types": "^24.8.0",
|
||||
"@jest/types": "^24.9.0",
|
||||
"ansi-regex": "^4.0.0",
|
||||
"ansi-styles": "^3.2.0",
|
||||
"react-is": "^16.8.4"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Stringify any JavaScript value.",
|
||||
"devDependencies": {
|
||||
"@types/ansi-regex": "^4.0.0",
|
||||
@@ -65,7 +61,7 @@
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
},
|
||||
"gitHead": "845728f24b3ef41e450595c384e9b5c9fdf248a4",
|
||||
"gitHead": "9ad0f4bc6b8bdd94989804226c28c9960d9da7d1",
|
||||
"homepage": "https://github.com/facebook/jest#readme",
|
||||
"license": "MIT",
|
||||
"main": "build/index.js",
|
||||
@@ -79,5 +75,5 @@
|
||||
"directory": "packages/pretty-format"
|
||||
},
|
||||
"types": "build/index.d.ts",
|
||||
"version": "24.8.0"
|
||||
"version": "24.9.0"
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "build"
|
||||
},
|
||||
"references": [{"path": "../jest-types"}]
|
||||
}
|
||||
-2375
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user