1
0
mirror of https://github.com/actions/labeler synced 2026-05-07 08:41:02 +02:00
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

4
node_modules/pretty-format/LICENSE generated vendored
View File

@@ -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

17
node_modules/pretty-format/README.md generated vendored
View File

@@ -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 |

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';
}

File diff suppressed because one or more lines are too long

View File

@@ -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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AC,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"}

View File

@@ -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 &&

View File

@@ -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"}

View File

@@ -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';
}
}

View File

@@ -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"
}

View File

@@ -1,8 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "build"
},
"references": [{"path": "../jest-types"}]
}

File diff suppressed because it is too large Load Diff