prismic-ts-codegen 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +101 -28
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.js +102 -29
- package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +4 -4
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +4 -4
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/Client.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/Client.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/filter.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/filter.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.js.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/package.json.cjs +1 -1
- package/dist/_node_modules/@prismicio/client/dist/package.json.cjs.map +1 -1
- package/dist/_node_modules/@prismicio/client/dist/package.json.js +1 -1
- package/dist/_node_modules/@prismicio/client/dist/package.json.js.map +1 -1
- package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -1
- package/dist/_node_modules/camelcase-keys/index.js.map +1 -1
- package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +1 -1
- package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +1 -1
- package/dist/_node_modules/decamelize/index.cjs.map +1 -1
- package/dist/_node_modules/decamelize/index.js.map +1 -1
- package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -1
- package/dist/_node_modules/decamelize-keys/index.js.map +1 -1
- package/dist/_node_modules/fetch-blob/file.cjs.map +1 -1
- package/dist/_node_modules/fetch-blob/file.js.map +1 -1
- package/dist/_node_modules/fetch-blob/index.cjs.map +1 -1
- package/dist/_node_modules/fetch-blob/index.js.map +1 -1
- package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +1 -1
- package/dist/_node_modules/formdata-polyfill/esm.min.js.map +1 -1
- package/dist/_node_modules/hard-rejection/index.cjs.map +1 -1
- package/dist/_node_modules/hard-rejection/index.js.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/from-url.cjs.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/from-url.js.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/hosts.cjs +1 -1
- package/dist/_node_modules/hosted-git-info/lib/hosts.cjs.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/hosts.js +1 -1
- package/dist/_node_modules/hosted-git-info/lib/hosts.js.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/index.cjs +4 -4
- package/dist/_node_modules/hosted-git-info/lib/index.cjs.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/index.js +4 -4
- package/dist/_node_modules/hosted-git-info/lib/index.js.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -1
- package/dist/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -1
- package/dist/_node_modules/indent-string/index.cjs.map +1 -1
- package/dist/_node_modules/indent-string/index.js.map +1 -1
- package/dist/_node_modules/js-tokens/index.cjs +1 -1
- package/dist/_node_modules/js-tokens/index.js +1 -1
- package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -1
- package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -1
- package/dist/_node_modules/lru-cache/index.cjs.map +1 -1
- package/dist/_node_modules/lru-cache/index.js.map +1 -1
- package/dist/_node_modules/map-obj/index.cjs.map +1 -1
- package/dist/_node_modules/map-obj/index.js.map +1 -1
- package/dist/_node_modules/meow/source/index.cjs.map +1 -1
- package/dist/_node_modules/meow/source/index.js.map +1 -1
- package/dist/_node_modules/meow/source/options.cjs.map +1 -1
- package/dist/_node_modules/meow/source/options.js.map +1 -1
- package/dist/_node_modules/meow/source/parser.cjs.map +1 -1
- package/dist/_node_modules/meow/source/parser.js.map +1 -1
- package/dist/_node_modules/meow/source/utils.cjs.map +1 -1
- package/dist/_node_modules/meow/source/utils.js.map +1 -1
- package/dist/_node_modules/meow/source/validate.cjs.map +1 -1
- package/dist/_node_modules/meow/source/validate.js.map +1 -1
- package/dist/_node_modules/minimist-options/index.cjs.map +1 -1
- package/dist/_node_modules/minimist-options/index.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/body.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/body.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/headers.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/headers.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/index.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/index.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/request.cjs +0 -3
- package/dist/_node_modules/node-fetch/src/request.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/request.js +0 -3
- package/dist/_node_modules/node-fetch/src/request.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/utils/is.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +1 -1
- package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +1 -1
- package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +1 -1
- package/dist/_node_modules/picocolors/picocolors.browser.cjs +12 -0
- package/dist/_node_modules/picocolors/picocolors.browser.cjs.map +1 -0
- package/dist/_node_modules/picocolors/picocolors.browser.js +12 -0
- package/dist/_node_modules/picocolors/picocolors.browser.js.map +1 -0
- package/dist/_node_modules/quick-lru/index.cjs +1 -0
- package/dist/_node_modules/quick-lru/index.cjs.map +1 -1
- package/dist/_node_modules/quick-lru/index.js +1 -0
- package/dist/_node_modules/quick-lru/index.js.map +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
- package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -1
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs.map +1 -1
- package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js.map +1 -1
- package/dist/_node_modules/semver/classes/semver.cjs.map +1 -1
- package/dist/_node_modules/semver/classes/semver.js.map +1 -1
- package/dist/_node_modules/semver/internal/re.cjs.map +1 -1
- package/dist/_node_modules/semver/internal/re.js.map +1 -1
- package/dist/_node_modules/strip-indent/index.cjs.map +1 -1
- package/dist/_node_modules/strip-indent/index.js.map +1 -1
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +1 -1
- package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -1
- package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +1 -1
- package/dist/_node_modules/yargs-parser/build/lib/index.js.map +1 -1
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +1 -1
- package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +1 -1
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +1 -1
- package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +1 -1
- package/dist/_virtual/index6.cjs +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.cjs +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.cjs +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/picocolors.browser.cjs +5 -0
- package/dist/_virtual/picocolors.browser.cjs.map +1 -0
- package/dist/_virtual/picocolors.browser.js +5 -0
- package/dist/_virtual/picocolors.browser.js.map +1 -0
- package/dist/cli/loadConfig.cjs.map +1 -1
- package/dist/cli/loadConfig.js.map +1 -1
- package/dist/cli/loadLocaleIDs.cjs.map +1 -1
- package/dist/cli/loadLocaleIDs.js.map +1 -1
- package/dist/cli/loadModels.cjs.map +1 -1
- package/dist/cli/loadModels.js.map +1 -1
- package/dist/cli.cjs +2 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/detectTypesProvider.cjs.map +1 -1
- package/dist/detectTypesProvider.js.map +1 -1
- package/dist/generateTypes.cjs.map +1 -1
- package/dist/generateTypes.js.map +1 -1
- package/dist/lib/addBlankLine.cjs.map +1 -1
- package/dist/lib/addBlankLine.js.map +1 -1
- package/dist/lib/addTrailingNewLine.cjs.map +1 -1
- package/dist/lib/addTrailingNewLine.js.map +1 -1
- package/dist/lib/buildCustomTypeDataType.cjs.map +1 -1
- package/dist/lib/buildCustomTypeDataType.js.map +1 -1
- package/dist/lib/buildCustomTypeType.cjs.map +1 -1
- package/dist/lib/buildCustomTypeType.js.map +1 -1
- package/dist/lib/buildFieldDocs.cjs.map +1 -1
- package/dist/lib/buildFieldDocs.js.map +1 -1
- package/dist/lib/buildFieldProperties.cjs +6 -2
- package/dist/lib/buildFieldProperties.cjs.map +1 -1
- package/dist/lib/buildFieldProperties.js +6 -2
- package/dist/lib/buildFieldProperties.js.map +1 -1
- package/dist/lib/buildSharedSliceType.cjs.map +1 -1
- package/dist/lib/buildSharedSliceType.js.map +1 -1
- package/dist/lib/buildTypeName.cjs.map +1 -1
- package/dist/lib/buildTypeName.js.map +1 -1
- package/dist/lib/getAPIIDPath.cjs.map +1 -1
- package/dist/lib/getAPIIDPath.js.map +1 -1
- package/dist/lib/getHumanReadableModelName.cjs.map +1 -1
- package/dist/lib/getHumanReadableModelName.js.map +1 -1
- package/dist/lib/getHumanReadablePath.cjs.map +1 -1
- package/dist/lib/getHumanReadablePath.js.map +1 -1
- package/package.json +15 -15
- package/src/lib/buildFieldProperties.ts +20 -4
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +0 -100
- package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +0 -1
- package/dist/_node_modules/@babel/highlight/lib/index.js +0 -99
- package/dist/_node_modules/@babel/highlight/lib/index.js.map +0 -1
- package/dist/_node_modules/ansi-styles/index.cjs +0 -146
- package/dist/_node_modules/ansi-styles/index.cjs.map +0 -1
- package/dist/_node_modules/ansi-styles/index.js +0 -146
- package/dist/_node_modules/ansi-styles/index.js.map +0 -1
- package/dist/_node_modules/chalk/index.cjs +0 -172
- package/dist/_node_modules/chalk/index.cjs.map +0 -1
- package/dist/_node_modules/chalk/index.js +0 -172
- package/dist/_node_modules/chalk/index.js.map +0 -1
- package/dist/_node_modules/chalk/templates.cjs +0 -108
- package/dist/_node_modules/chalk/templates.cjs.map +0 -1
- package/dist/_node_modules/chalk/templates.js +0 -108
- package/dist/_node_modules/chalk/templates.js.map +0 -1
- package/dist/_node_modules/color-convert/conversions.cjs +0 -710
- package/dist/_node_modules/color-convert/conversions.cjs.map +0 -1
- package/dist/_node_modules/color-convert/conversions.js +0 -710
- package/dist/_node_modules/color-convert/conversions.js.map +0 -1
- package/dist/_node_modules/color-convert/index.cjs +0 -59
- package/dist/_node_modules/color-convert/index.cjs.map +0 -1
- package/dist/_node_modules/color-convert/index.js +0 -59
- package/dist/_node_modules/color-convert/index.js.map +0 -1
- package/dist/_node_modules/color-convert/route.cjs +0 -69
- package/dist/_node_modules/color-convert/route.cjs.map +0 -1
- package/dist/_node_modules/color-convert/route.js +0 -69
- package/dist/_node_modules/color-convert/route.js.map +0 -1
- package/dist/_node_modules/color-name/index.cjs +0 -154
- package/dist/_node_modules/color-name/index.cjs.map +0 -1
- package/dist/_node_modules/color-name/index.js +0 -154
- package/dist/_node_modules/color-name/index.js.map +0 -1
- package/dist/_node_modules/escape-string-regexp/index.cjs +0 -11
- package/dist/_node_modules/escape-string-regexp/index.cjs.map +0 -1
- package/dist/_node_modules/escape-string-regexp/index.js +0 -11
- package/dist/_node_modules/escape-string-regexp/index.js.map +0 -1
- package/dist/_node_modules/supports-color/browser.cjs +0 -8
- package/dist/_node_modules/supports-color/browser.cjs.map +0 -1
- package/dist/_node_modules/supports-color/browser.js +0 -8
- package/dist/_node_modules/supports-color/browser.js.map +0 -1
- package/dist/_virtual/conversions.cjs +0 -5
- package/dist/_virtual/conversions.cjs.map +0 -1
- package/dist/_virtual/conversions.js +0 -5
- package/dist/_virtual/conversions.js.map +0 -1
- package/dist/_virtual/index10.cjs +0 -5
- package/dist/_virtual/index10.cjs.map +0 -1
- package/dist/_virtual/index10.js +0 -5
- package/dist/_virtual/index10.js.map +0 -1
- package/dist/_virtual/index11.cjs +0 -5
- package/dist/_virtual/index11.cjs.map +0 -1
- package/dist/_virtual/index11.js +0 -5
- package/dist/_virtual/index11.js.map +0 -1
- package/dist/_virtual/index9.cjs +0 -5
- package/dist/_virtual/index9.cjs.map +0 -1
- package/dist/_virtual/index9.js +0 -5
- package/dist/_virtual/index9.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/@babel/highlight/lib/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = highlight;\nexports.getChalk = getChalk;\nexports.shouldHighlight = shouldHighlight;\nvar _jsTokens = require(\"js-tokens\");\nvar _helperValidatorIdentifier = require(\"@babel/helper-validator-identifier\");\nvar _chalk = require(\"chalk\");\nconst sometimesKeywords = new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\nfunction getDefs(chalk) {\n return {\n keyword: chalk.cyan,\n capitalized: chalk.yellow,\n jsxIdentifier: chalk.yellow,\n punctuator: chalk.yellow,\n number: chalk.magenta,\n string: chalk.green,\n regex: chalk.magenta,\n comment: chalk.grey,\n invalid: chalk.white.bgRed.bold\n };\n}\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\nconst BRACKET = /^[()[\\]{}]$/;\nlet tokenize;\n{\n const JSX_TAG = /^[a-z][\\w-]*$/i;\n const getTokenType = function (token, offset, text) {\n if (token.type === \"name\") {\n if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isStrictReservedWord)(token.value, true) || sometimesKeywords.has(token.value)) {\n return \"keyword\";\n }\n if (JSX_TAG.test(token.value) && (text[offset - 1] === \"<\" || text.slice(offset - 2, offset) == \"</\")) {\n return \"jsxIdentifier\";\n }\n if (token.value[0] !== token.value[0].toLowerCase()) {\n return \"capitalized\";\n }\n }\n if (token.type === \"punctuator\" && BRACKET.test(token.value)) {\n return \"bracket\";\n }\n if (token.type === \"invalid\" && (token.value === \"@\" || token.value === \"#\")) {\n return \"punctuator\";\n }\n return token.type;\n };\n tokenize = function* (text) {\n let match;\n while (match = _jsTokens.default.exec(text)) {\n const token = _jsTokens.matchToToken(match);\n yield {\n type: getTokenType(token, match.index, text),\n value: token.value\n };\n }\n };\n}\nfunction highlightTokens(defs, text) {\n let highlighted = \"\";\n for (const {\n type,\n value\n } of tokenize(text)) {\n const colorize = defs[type];\n if (colorize) {\n highlighted += value.split(NEWLINE).map(str => colorize(str)).join(\"\\n\");\n } else {\n highlighted += value;\n }\n }\n return highlighted;\n}\nfunction shouldHighlight(options) {\n return !!_chalk.supportsColor || options.forceColor;\n}\nfunction getChalk(options) {\n return options.forceColor ? new _chalk.constructor({\n enabled: true,\n level: 1\n }) : _chalk;\n}\nfunction highlight(code, options = {}) {\n if (code !== \"\" && shouldHighlight(options)) {\n const chalk = getChalk(options);\n const defs = getDefs(chalk);\n return highlightTokens(defs, code);\n } else {\n return code;\n }\n}\n\n//# sourceMappingURL=index.js.map\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;AAEA,OAAO,eAAe,KAAS,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACc,IAAA,UAAG;AACF,IAAA,WAAG;AACI,IAAA,kBAAG;AAC1B,IAAI,YAAYA;AAChB,IAAI,6BAA6BC;AACjC,IAAI,SAASC;AACb,MAAM,oBAAoB,oBAAI,IAAI,CAAC,MAAM,SAAS,QAAQ,OAAO,MAAM,KAAK,CAAC;AAC7E,SAAS,QAAQ,OAAO;AACtB,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IACf,aAAa,MAAM;AAAA,IACnB,eAAe,MAAM;AAAA,IACrB,YAAY,MAAM;AAAA,IAClB,QAAQ,MAAM;AAAA,IACd,QAAQ,MAAM;AAAA,IACd,OAAO,MAAM;AAAA,IACb,SAAS,MAAM;AAAA,IACf,SAAS,MAAM,MAAM,MAAM;AAAA,EAC/B;AACA;AACA,MAAM,UAA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A,IAC7E,OAAW;AACL,qBAAe;AAAA,IAChB;AAAA,EACF;AACD,SAAO;AACT;AACA,SAAS,gBAAgB,SAAS;AAChC,SAAO,CAAC,CAAC,OAAO,iBAAiB,QAAQ;AAC3C;AACA,SAAS,SAAS,SAAS;AACzB,SAAO,QAAQ,aAAa,IAAI,OAAO,YAAY;AAAA,IACjD,SAAS;AAAA,IACT,OAAO;AAAA,EACR,CAAA,IAAI;AACP;AACA,SAAS,UAAU,MAAM,UAAU,IAAI;AACrC,MAAI,SAAS,MAAM,gBAAgB,OAAO,GAAG;AAC3C,UAAM,QAAQ,SAAS,OAAO;AAC9B,UAAM,OAAO,QAAQ,KAAK;AAC1B,WAAO,gBAAgB,MAAM,IAAI;AAAA,EACrC,OAAS;AACL,WAAO;AAAA,EACR;AACH;","x_google_ignoreList":[0]}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../_virtual/index11.cjs");
|
|
4
|
-
const index$1 = require("../color-convert/index.cjs");
|
|
5
|
-
index.__module.exports;
|
|
6
|
-
(function(module2) {
|
|
7
|
-
const colorConvert = index$1.colorConvert;
|
|
8
|
-
const wrapAnsi16 = (fn, offset) => function() {
|
|
9
|
-
const code = fn.apply(colorConvert, arguments);
|
|
10
|
-
return `\x1B[${code + offset}m`;
|
|
11
|
-
};
|
|
12
|
-
const wrapAnsi256 = (fn, offset) => function() {
|
|
13
|
-
const code = fn.apply(colorConvert, arguments);
|
|
14
|
-
return `\x1B[${38 + offset};5;${code}m`;
|
|
15
|
-
};
|
|
16
|
-
const wrapAnsi16m = (fn, offset) => function() {
|
|
17
|
-
const rgb = fn.apply(colorConvert, arguments);
|
|
18
|
-
return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
|
|
19
|
-
};
|
|
20
|
-
function assembleStyles() {
|
|
21
|
-
const codes = /* @__PURE__ */ new Map();
|
|
22
|
-
const styles = {
|
|
23
|
-
modifier: {
|
|
24
|
-
reset: [0, 0],
|
|
25
|
-
// 21 isn't widely supported and 22 does the same thing
|
|
26
|
-
bold: [1, 22],
|
|
27
|
-
dim: [2, 22],
|
|
28
|
-
italic: [3, 23],
|
|
29
|
-
underline: [4, 24],
|
|
30
|
-
inverse: [7, 27],
|
|
31
|
-
hidden: [8, 28],
|
|
32
|
-
strikethrough: [9, 29]
|
|
33
|
-
},
|
|
34
|
-
color: {
|
|
35
|
-
black: [30, 39],
|
|
36
|
-
red: [31, 39],
|
|
37
|
-
green: [32, 39],
|
|
38
|
-
yellow: [33, 39],
|
|
39
|
-
blue: [34, 39],
|
|
40
|
-
magenta: [35, 39],
|
|
41
|
-
cyan: [36, 39],
|
|
42
|
-
white: [37, 39],
|
|
43
|
-
gray: [90, 39],
|
|
44
|
-
// Bright color
|
|
45
|
-
redBright: [91, 39],
|
|
46
|
-
greenBright: [92, 39],
|
|
47
|
-
yellowBright: [93, 39],
|
|
48
|
-
blueBright: [94, 39],
|
|
49
|
-
magentaBright: [95, 39],
|
|
50
|
-
cyanBright: [96, 39],
|
|
51
|
-
whiteBright: [97, 39]
|
|
52
|
-
},
|
|
53
|
-
bgColor: {
|
|
54
|
-
bgBlack: [40, 49],
|
|
55
|
-
bgRed: [41, 49],
|
|
56
|
-
bgGreen: [42, 49],
|
|
57
|
-
bgYellow: [43, 49],
|
|
58
|
-
bgBlue: [44, 49],
|
|
59
|
-
bgMagenta: [45, 49],
|
|
60
|
-
bgCyan: [46, 49],
|
|
61
|
-
bgWhite: [47, 49],
|
|
62
|
-
// Bright color
|
|
63
|
-
bgBlackBright: [100, 49],
|
|
64
|
-
bgRedBright: [101, 49],
|
|
65
|
-
bgGreenBright: [102, 49],
|
|
66
|
-
bgYellowBright: [103, 49],
|
|
67
|
-
bgBlueBright: [104, 49],
|
|
68
|
-
bgMagentaBright: [105, 49],
|
|
69
|
-
bgCyanBright: [106, 49],
|
|
70
|
-
bgWhiteBright: [107, 49]
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
styles.color.grey = styles.color.gray;
|
|
74
|
-
for (const groupName of Object.keys(styles)) {
|
|
75
|
-
const group = styles[groupName];
|
|
76
|
-
for (const styleName of Object.keys(group)) {
|
|
77
|
-
const style = group[styleName];
|
|
78
|
-
styles[styleName] = {
|
|
79
|
-
open: `\x1B[${style[0]}m`,
|
|
80
|
-
close: `\x1B[${style[1]}m`
|
|
81
|
-
};
|
|
82
|
-
group[styleName] = styles[styleName];
|
|
83
|
-
codes.set(style[0], style[1]);
|
|
84
|
-
}
|
|
85
|
-
Object.defineProperty(styles, groupName, {
|
|
86
|
-
value: group,
|
|
87
|
-
enumerable: false
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(styles, "codes", {
|
|
90
|
-
value: codes,
|
|
91
|
-
enumerable: false
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
const ansi2ansi = (n) => n;
|
|
95
|
-
const rgb2rgb = (r, g, b) => [r, g, b];
|
|
96
|
-
styles.color.close = "\x1B[39m";
|
|
97
|
-
styles.bgColor.close = "\x1B[49m";
|
|
98
|
-
styles.color.ansi = {
|
|
99
|
-
ansi: wrapAnsi16(ansi2ansi, 0)
|
|
100
|
-
};
|
|
101
|
-
styles.color.ansi256 = {
|
|
102
|
-
ansi256: wrapAnsi256(ansi2ansi, 0)
|
|
103
|
-
};
|
|
104
|
-
styles.color.ansi16m = {
|
|
105
|
-
rgb: wrapAnsi16m(rgb2rgb, 0)
|
|
106
|
-
};
|
|
107
|
-
styles.bgColor.ansi = {
|
|
108
|
-
ansi: wrapAnsi16(ansi2ansi, 10)
|
|
109
|
-
};
|
|
110
|
-
styles.bgColor.ansi256 = {
|
|
111
|
-
ansi256: wrapAnsi256(ansi2ansi, 10)
|
|
112
|
-
};
|
|
113
|
-
styles.bgColor.ansi16m = {
|
|
114
|
-
rgb: wrapAnsi16m(rgb2rgb, 10)
|
|
115
|
-
};
|
|
116
|
-
for (let key of Object.keys(colorConvert)) {
|
|
117
|
-
if (typeof colorConvert[key] !== "object") {
|
|
118
|
-
continue;
|
|
119
|
-
}
|
|
120
|
-
const suite = colorConvert[key];
|
|
121
|
-
if (key === "ansi16") {
|
|
122
|
-
key = "ansi";
|
|
123
|
-
}
|
|
124
|
-
if ("ansi16" in suite) {
|
|
125
|
-
styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
|
|
126
|
-
styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
|
|
127
|
-
}
|
|
128
|
-
if ("ansi256" in suite) {
|
|
129
|
-
styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
|
|
130
|
-
styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
|
|
131
|
-
}
|
|
132
|
-
if ("rgb" in suite) {
|
|
133
|
-
styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
|
|
134
|
-
styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return styles;
|
|
138
|
-
}
|
|
139
|
-
Object.defineProperty(module2, "exports", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: assembleStyles
|
|
142
|
-
});
|
|
143
|
-
})(index.__module);
|
|
144
|
-
var ansiStylesExports = index.__module.exports;
|
|
145
|
-
exports.ansiStylesExports = ansiStylesExports;
|
|
146
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../node_modules/ansi-styles/index.js"],"sourcesContent":["'use strict';\nconst colorConvert = require('color-convert');\n\nconst wrapAnsi16 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => function () {\n\tconst rgb = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\t\t\tgray: [90, 39],\n\n\t\t\t// Bright color\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Fix humans\n\tstyles.color.grey = styles.color.gray;\n\n\tfor (const groupName of Object.keys(styles)) {\n\t\tconst group = styles[groupName];\n\n\t\tfor (const styleName of Object.keys(group)) {\n\t\t\tconst style = group[styleName];\n\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\n\t\tObject.defineProperty(styles, 'codes', {\n\t\t\tvalue: codes,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tconst ansi2ansi = n => n;\n\tconst rgb2rgb = (r, g, b) => [r, g, b];\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 0)\n\t};\n\n\tstyles.bgColor.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 10)\n\t};\n\n\tfor (let key of Object.keys(colorConvert)) {\n\t\tif (typeof colorConvert[key] !== 'object') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst suite = colorConvert[key];\n\n\t\tif (key === 'ansi16') {\n\t\t\tkey = 'ansi';\n\t\t}\n\n\t\tif ('ansi16' in suite) {\n\t\t\tstyles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);\n\t\t\tstyles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);\n\t\t}\n\n\t\tif ('ansi256' in suite) {\n\t\t\tstyles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);\n\t\t\tstyles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);\n\t\t}\n\n\t\tif ('rgb' in suite) {\n\t\t\tstyles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);\n\t\t\tstyles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);\n\t\t}\n\t}\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n"],"names":["require$$0","module"],"mappings":";;;;;;AACA,QAAM,eAAeA,QAAAA;AAErB,QAAM,aAAa,CAAC,IAAI,WAAW,WAAY;AAC9C,UAAM,OAAO,GAAG,MAAM,cAAc,SAAS;AAC7C,WAAO,QAAU,OAAO;AAAA,EACzB;AAEA,QAAM,cAAc,CAAC,IAAI,WAAW,WAAY;AAC/C,UAAM,OAAO,GAAG,MAAM,cAAc,SAAS;AAC7C,WAAO,QAAU,KAAK,YAAY;AAAA,EACnC;AAEA,QAAM,cAAc,CAAC,IAAI,WAAW,WAAY;AAC/C,UAAM,MAAM,GAAG,MAAM,cAAc,SAAS;AAC5C,WAAO,QAAU,KAAK,YAAY,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,IAAI,CAAC;AAAA,EAC5D;AAEA,WAAS,iBAAiB;AACzB,UAAM,QAAQ,oBAAI;AAClB,UAAM,SAAS;AAAA,MACd,UAAU;AAAA,QACT,OAAO,CAAC,GAAG,CAAC;AAAA;AAAA,QAEZ,MAAM,CAAC,GAAG,EAAE;AAAA,QACZ,KAAK,CAAC,GAAG,EAAE;AAAA,QACX,QAAQ,CAAC,GAAG,EAAE;AAAA,QACd,WAAW,CAAC,GAAG,EAAE;AAAA,QACjB,SAAS,CAAC,GAAG,EAAE;AAAA,QACf,QAAQ,CAAC,GAAG,E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KAAK,YAAY,GAAG;AAC1C,UAAI,OAAO,aAAa,GAAG,MAAM,UAAU;AAC1C;AAAA,MACA;AAED,YAAM,QAAQ,aAAa,GAAG;AAE9B,UAAI,QAAQ,UAAU;AACrB,cAAM;AAAA,MACN;AAED,UAAI,YAAY,OAAO;AACtB,eAAO,MAAM,KAAK,GAAG,IAAI,WAAW,MAAM,QAAQ,CAAC;AACnD,eAAO,QAAQ,KAAK,GAAG,IAAI,WAAW,MAAM,QAAQ,EAAE;AAAA,MACtD;AAED,UAAI,aAAa,OAAO;AACvB,eAAO,MAAM,QAAQ,GAAG,IAAI,YAAY,MAAM,SAAS,CAAC;AACxD,eAAO,QAAQ,QAAQ,GAAG,IAAI,YAAY,MAAM,SAAS,EAAE;AAAA,MAC3D;AAED,UAAI,SAAS,OAAO;AACnB,eAAO,MAAM,QAAQ,GAAG,IAAI,YAAY,MAAM,KAAK,CAAC;AACpD,eAAO,QAAQ,QAAQ,GAAG,IAAI,YAAY,MAAM,KAAK,EAAE;AAAA,MACvD;AAAA,IACD;AAED,WAAO;AAAA,EACP;AAGD,SAAO,eAAeC,SAAQ,WAAW;AAAA,IACxC,YAAY;AAAA,IACZ,KAAK;AAAA,EACN,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { __module as ansiStyles } from "../../_virtual/index11.js";
|
|
2
|
-
import { c as colorConvert } from "../color-convert/index.js";
|
|
3
|
-
ansiStyles.exports;
|
|
4
|
-
(function(module) {
|
|
5
|
-
const colorConvert$1 = colorConvert;
|
|
6
|
-
const wrapAnsi16 = (fn, offset) => function() {
|
|
7
|
-
const code = fn.apply(colorConvert$1, arguments);
|
|
8
|
-
return `\x1B[${code + offset}m`;
|
|
9
|
-
};
|
|
10
|
-
const wrapAnsi256 = (fn, offset) => function() {
|
|
11
|
-
const code = fn.apply(colorConvert$1, arguments);
|
|
12
|
-
return `\x1B[${38 + offset};5;${code}m`;
|
|
13
|
-
};
|
|
14
|
-
const wrapAnsi16m = (fn, offset) => function() {
|
|
15
|
-
const rgb = fn.apply(colorConvert$1, arguments);
|
|
16
|
-
return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
|
|
17
|
-
};
|
|
18
|
-
function assembleStyles() {
|
|
19
|
-
const codes = /* @__PURE__ */ new Map();
|
|
20
|
-
const styles = {
|
|
21
|
-
modifier: {
|
|
22
|
-
reset: [0, 0],
|
|
23
|
-
// 21 isn't widely supported and 22 does the same thing
|
|
24
|
-
bold: [1, 22],
|
|
25
|
-
dim: [2, 22],
|
|
26
|
-
italic: [3, 23],
|
|
27
|
-
underline: [4, 24],
|
|
28
|
-
inverse: [7, 27],
|
|
29
|
-
hidden: [8, 28],
|
|
30
|
-
strikethrough: [9, 29]
|
|
31
|
-
},
|
|
32
|
-
color: {
|
|
33
|
-
black: [30, 39],
|
|
34
|
-
red: [31, 39],
|
|
35
|
-
green: [32, 39],
|
|
36
|
-
yellow: [33, 39],
|
|
37
|
-
blue: [34, 39],
|
|
38
|
-
magenta: [35, 39],
|
|
39
|
-
cyan: [36, 39],
|
|
40
|
-
white: [37, 39],
|
|
41
|
-
gray: [90, 39],
|
|
42
|
-
// Bright color
|
|
43
|
-
redBright: [91, 39],
|
|
44
|
-
greenBright: [92, 39],
|
|
45
|
-
yellowBright: [93, 39],
|
|
46
|
-
blueBright: [94, 39],
|
|
47
|
-
magentaBright: [95, 39],
|
|
48
|
-
cyanBright: [96, 39],
|
|
49
|
-
whiteBright: [97, 39]
|
|
50
|
-
},
|
|
51
|
-
bgColor: {
|
|
52
|
-
bgBlack: [40, 49],
|
|
53
|
-
bgRed: [41, 49],
|
|
54
|
-
bgGreen: [42, 49],
|
|
55
|
-
bgYellow: [43, 49],
|
|
56
|
-
bgBlue: [44, 49],
|
|
57
|
-
bgMagenta: [45, 49],
|
|
58
|
-
bgCyan: [46, 49],
|
|
59
|
-
bgWhite: [47, 49],
|
|
60
|
-
// Bright color
|
|
61
|
-
bgBlackBright: [100, 49],
|
|
62
|
-
bgRedBright: [101, 49],
|
|
63
|
-
bgGreenBright: [102, 49],
|
|
64
|
-
bgYellowBright: [103, 49],
|
|
65
|
-
bgBlueBright: [104, 49],
|
|
66
|
-
bgMagentaBright: [105, 49],
|
|
67
|
-
bgCyanBright: [106, 49],
|
|
68
|
-
bgWhiteBright: [107, 49]
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
styles.color.grey = styles.color.gray;
|
|
72
|
-
for (const groupName of Object.keys(styles)) {
|
|
73
|
-
const group = styles[groupName];
|
|
74
|
-
for (const styleName of Object.keys(group)) {
|
|
75
|
-
const style = group[styleName];
|
|
76
|
-
styles[styleName] = {
|
|
77
|
-
open: `\x1B[${style[0]}m`,
|
|
78
|
-
close: `\x1B[${style[1]}m`
|
|
79
|
-
};
|
|
80
|
-
group[styleName] = styles[styleName];
|
|
81
|
-
codes.set(style[0], style[1]);
|
|
82
|
-
}
|
|
83
|
-
Object.defineProperty(styles, groupName, {
|
|
84
|
-
value: group,
|
|
85
|
-
enumerable: false
|
|
86
|
-
});
|
|
87
|
-
Object.defineProperty(styles, "codes", {
|
|
88
|
-
value: codes,
|
|
89
|
-
enumerable: false
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
const ansi2ansi = (n) => n;
|
|
93
|
-
const rgb2rgb = (r, g, b) => [r, g, b];
|
|
94
|
-
styles.color.close = "\x1B[39m";
|
|
95
|
-
styles.bgColor.close = "\x1B[49m";
|
|
96
|
-
styles.color.ansi = {
|
|
97
|
-
ansi: wrapAnsi16(ansi2ansi, 0)
|
|
98
|
-
};
|
|
99
|
-
styles.color.ansi256 = {
|
|
100
|
-
ansi256: wrapAnsi256(ansi2ansi, 0)
|
|
101
|
-
};
|
|
102
|
-
styles.color.ansi16m = {
|
|
103
|
-
rgb: wrapAnsi16m(rgb2rgb, 0)
|
|
104
|
-
};
|
|
105
|
-
styles.bgColor.ansi = {
|
|
106
|
-
ansi: wrapAnsi16(ansi2ansi, 10)
|
|
107
|
-
};
|
|
108
|
-
styles.bgColor.ansi256 = {
|
|
109
|
-
ansi256: wrapAnsi256(ansi2ansi, 10)
|
|
110
|
-
};
|
|
111
|
-
styles.bgColor.ansi16m = {
|
|
112
|
-
rgb: wrapAnsi16m(rgb2rgb, 10)
|
|
113
|
-
};
|
|
114
|
-
for (let key of Object.keys(colorConvert$1)) {
|
|
115
|
-
if (typeof colorConvert$1[key] !== "object") {
|
|
116
|
-
continue;
|
|
117
|
-
}
|
|
118
|
-
const suite = colorConvert$1[key];
|
|
119
|
-
if (key === "ansi16") {
|
|
120
|
-
key = "ansi";
|
|
121
|
-
}
|
|
122
|
-
if ("ansi16" in suite) {
|
|
123
|
-
styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
|
|
124
|
-
styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
|
|
125
|
-
}
|
|
126
|
-
if ("ansi256" in suite) {
|
|
127
|
-
styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
|
|
128
|
-
styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
|
|
129
|
-
}
|
|
130
|
-
if ("rgb" in suite) {
|
|
131
|
-
styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
|
|
132
|
-
styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
return styles;
|
|
136
|
-
}
|
|
137
|
-
Object.defineProperty(module, "exports", {
|
|
138
|
-
enumerable: true,
|
|
139
|
-
get: assembleStyles
|
|
140
|
-
});
|
|
141
|
-
})(ansiStyles);
|
|
142
|
-
var ansiStylesExports = ansiStyles.exports;
|
|
143
|
-
export {
|
|
144
|
-
ansiStylesExports as a
|
|
145
|
-
};
|
|
146
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../node_modules/ansi-styles/index.js"],"sourcesContent":["'use strict';\nconst colorConvert = require('color-convert');\n\nconst wrapAnsi16 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => function () {\n\tconst rgb = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\t\t\tgray: [90, 39],\n\n\t\t\t// Bright color\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Fix humans\n\tstyles.color.grey = styles.color.gray;\n\n\tfor (const groupName of Object.keys(styles)) {\n\t\tconst group = styles[groupName];\n\n\t\tfor (const styleName of Object.keys(group)) {\n\t\t\tconst style = group[styleName];\n\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\n\t\tObject.defineProperty(styles, 'codes', {\n\t\t\tvalue: codes,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tconst ansi2ansi = n => n;\n\tconst rgb2rgb = (r, g, b) => [r, g, b];\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 0)\n\t};\n\n\tstyles.bgColor.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 10)\n\t};\n\n\tfor (let key of Object.keys(colorConvert)) {\n\t\tif (typeof colorConvert[key] !== 'object') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst suite = colorConvert[key];\n\n\t\tif (key === 'ansi16') {\n\t\t\tkey = 'ansi';\n\t\t}\n\n\t\tif ('ansi16' in suite) {\n\t\t\tstyles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);\n\t\t\tstyles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);\n\t\t}\n\n\t\tif ('ansi256' in suite) {\n\t\t\tstyles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);\n\t\t\tstyles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);\n\t\t}\n\n\t\tif ('rgb' in suite) {\n\t\t\tstyles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);\n\t\t\tstyles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);\n\t\t}\n\t}\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n"],"names":["colorConvert","require$$0"],"mappings":";;;;AACA,QAAMA,iBAAeC;AAErB,QAAM,aAAa,CAAC,IAAI,WAAW,WAAY;AAC9C,UAAM,OAAO,GAAG,MAAMD,gBAAc,SAAS;AAC7C,WAAO,QAAU,OAAO;AAAA,EACzB;AAEA,QAAM,cAAc,CAAC,IAAI,WAAW,WAAY;AAC/C,UAAM,OAAO,GAAG,MAAMA,gBAAc,SAAS;AAC7C,WAAO,QAAU,KAAK,YAAY;AAAA,EACnC;AAEA,QAAM,cAAc,CAAC,IAAI,WAAW,WAAY;AAC/C,UAAM,MAAM,GAAG,MAAMA,gBAAc,SAAS;AAC5C,WAAO,QAAU,KAAK,YAAY,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,IAAI,CAAC;AAAA,EAC5D;AAEA,WAAS,iBAAiB;AACzB,UAAM,QAAQ,oBAAI;AAClB,UAAM,SAAS;AAAA,MACd,UAAU;AAAA,QACT,OAA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,WAAO,QAAQ,OAAO;AAAA,MACrB,MAAM,WAAW,WAAW,EAAE;AAAA,IAChC;AACC,WAAO,QAAQ,UAAU;AAAA,MACxB,SAAS,YAAY,WAAW,EAAE;AAAA,IACpC;AACC,WAAO,QAAQ,UAAU;AAAA,MACxB,KAAK,YAAY,SAAS,EAAE;AAAA,IAC9B;AAEC,aAAS,OAAO,OAAO,KAAKA,cAAY,GAAG;AAC1C,UAAI,OAAOA,eAAa,GAAG,MAAM,UAAU;AAC1C;AAAA,MACA;AAED,YAAM,QAAQA,eAAa,GAAG;AAE9B,UAAI,QAAQ,UAAU;AACrB,cAAM;AAAA,MACN;AAED,UAAI,YAAY,OAAO;AACtB,eAAO,MAAM,KAAK,GAAG,IAAI,WAAW,MAAM,QAAQ,CAAC;AACnD,eAAO,QAAQ,KAAK,GAAG,IAAI,WAAW,MAAM,QAAQ,EAAE;AAAA,MACtD;AAED,UAAI,aAAa,OAAO;AACvB,eAAO,MAAM,QAAQ,GAAG,IAAI,YAAY,MAAM,SAAS,CAAC;AACxD,eAAO,QAAQ,QAAQ,GAAG,IAAI,YAAY,MAAM,SAAS,EAAE;AAAA,MAC3D;AAED,UAAI,SAAS,OAAO;AACnB,eAAO,MAAM,QAAQ,GAAG,IAAI,YAAY,MAAM,KAAK,CAAC;AACpD,eAAO,QAAQ,QAAQ,GAAG,IAAI,YAAY,MAAM,KAAK,EAAE;AAAA,MACvD;AAAA,IACD;AAED,WAAO;AAAA,EACP;AAGD,SAAO,eAAe,QAAQ,WAAW;AAAA,IACxC,YAAY;AAAA,IACZ,KAAK;AAAA,EACN,CAAC;;;","x_google_ignoreList":[0]}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../_virtual/index10.cjs");
|
|
4
|
-
const index$1 = require("../escape-string-regexp/index.cjs");
|
|
5
|
-
const index$2 = require("../ansi-styles/index.cjs");
|
|
6
|
-
const browser = require("../supports-color/browser.cjs");
|
|
7
|
-
const templates = require("./templates.cjs");
|
|
8
|
-
(function(module2) {
|
|
9
|
-
const escapeStringRegexp = index$1.escapeStringRegexp;
|
|
10
|
-
const ansiStyles = index$2.ansiStylesExports;
|
|
11
|
-
const stdoutColor = browser.browser.stdout;
|
|
12
|
-
const template = templates.templates;
|
|
13
|
-
const isSimpleWindowsTerm = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith("xterm");
|
|
14
|
-
const levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"];
|
|
15
|
-
const skipModels = /* @__PURE__ */ new Set(["gray"]);
|
|
16
|
-
const styles = /* @__PURE__ */ Object.create(null);
|
|
17
|
-
function applyOptions(obj, options) {
|
|
18
|
-
options = options || {};
|
|
19
|
-
const scLevel = stdoutColor ? stdoutColor.level : 0;
|
|
20
|
-
obj.level = options.level === void 0 ? scLevel : options.level;
|
|
21
|
-
obj.enabled = "enabled" in options ? options.enabled : obj.level > 0;
|
|
22
|
-
}
|
|
23
|
-
function Chalk(options) {
|
|
24
|
-
if (!this || !(this instanceof Chalk) || this.template) {
|
|
25
|
-
const chalk = {};
|
|
26
|
-
applyOptions(chalk, options);
|
|
27
|
-
chalk.template = function() {
|
|
28
|
-
const args = [].slice.call(arguments);
|
|
29
|
-
return chalkTag.apply(null, [chalk.template].concat(args));
|
|
30
|
-
};
|
|
31
|
-
Object.setPrototypeOf(chalk, Chalk.prototype);
|
|
32
|
-
Object.setPrototypeOf(chalk.template, chalk);
|
|
33
|
-
chalk.template.constructor = Chalk;
|
|
34
|
-
return chalk.template;
|
|
35
|
-
}
|
|
36
|
-
applyOptions(this, options);
|
|
37
|
-
}
|
|
38
|
-
if (isSimpleWindowsTerm) {
|
|
39
|
-
ansiStyles.blue.open = "\x1B[94m";
|
|
40
|
-
}
|
|
41
|
-
for (const key of Object.keys(ansiStyles)) {
|
|
42
|
-
ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), "g");
|
|
43
|
-
styles[key] = {
|
|
44
|
-
get() {
|
|
45
|
-
const codes = ansiStyles[key];
|
|
46
|
-
return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
styles.visible = {
|
|
51
|
-
get() {
|
|
52
|
-
return build.call(this, this._styles || [], true, "visible");
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), "g");
|
|
56
|
-
for (const model of Object.keys(ansiStyles.color.ansi)) {
|
|
57
|
-
if (skipModels.has(model)) {
|
|
58
|
-
continue;
|
|
59
|
-
}
|
|
60
|
-
styles[model] = {
|
|
61
|
-
get() {
|
|
62
|
-
const level = this.level;
|
|
63
|
-
return function() {
|
|
64
|
-
const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments);
|
|
65
|
-
const codes = {
|
|
66
|
-
open,
|
|
67
|
-
close: ansiStyles.color.close,
|
|
68
|
-
closeRe: ansiStyles.color.closeRe
|
|
69
|
-
};
|
|
70
|
-
return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), "g");
|
|
76
|
-
for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
|
|
77
|
-
if (skipModels.has(model)) {
|
|
78
|
-
continue;
|
|
79
|
-
}
|
|
80
|
-
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
81
|
-
styles[bgModel] = {
|
|
82
|
-
get() {
|
|
83
|
-
const level = this.level;
|
|
84
|
-
return function() {
|
|
85
|
-
const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments);
|
|
86
|
-
const codes = {
|
|
87
|
-
open,
|
|
88
|
-
close: ansiStyles.bgColor.close,
|
|
89
|
-
closeRe: ansiStyles.bgColor.closeRe
|
|
90
|
-
};
|
|
91
|
-
return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
const proto = Object.defineProperties(() => {
|
|
97
|
-
}, styles);
|
|
98
|
-
function build(_styles, _empty, key) {
|
|
99
|
-
const builder = function() {
|
|
100
|
-
return applyStyle.apply(builder, arguments);
|
|
101
|
-
};
|
|
102
|
-
builder._styles = _styles;
|
|
103
|
-
builder._empty = _empty;
|
|
104
|
-
const self = this;
|
|
105
|
-
Object.defineProperty(builder, "level", {
|
|
106
|
-
enumerable: true,
|
|
107
|
-
get() {
|
|
108
|
-
return self.level;
|
|
109
|
-
},
|
|
110
|
-
set(level) {
|
|
111
|
-
self.level = level;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(builder, "enabled", {
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get() {
|
|
117
|
-
return self.enabled;
|
|
118
|
-
},
|
|
119
|
-
set(enabled) {
|
|
120
|
-
self.enabled = enabled;
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
builder.hasGrey = this.hasGrey || key === "gray" || key === "grey";
|
|
124
|
-
builder.__proto__ = proto;
|
|
125
|
-
return builder;
|
|
126
|
-
}
|
|
127
|
-
function applyStyle() {
|
|
128
|
-
const args = arguments;
|
|
129
|
-
const argsLen = args.length;
|
|
130
|
-
let str = String(arguments[0]);
|
|
131
|
-
if (argsLen === 0) {
|
|
132
|
-
return "";
|
|
133
|
-
}
|
|
134
|
-
if (argsLen > 1) {
|
|
135
|
-
for (let a = 1; a < argsLen; a++) {
|
|
136
|
-
str += " " + args[a];
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
if (!this.enabled || this.level <= 0 || !str) {
|
|
140
|
-
return this._empty ? "" : str;
|
|
141
|
-
}
|
|
142
|
-
const originalDim = ansiStyles.dim.open;
|
|
143
|
-
if (isSimpleWindowsTerm && this.hasGrey) {
|
|
144
|
-
ansiStyles.dim.open = "";
|
|
145
|
-
}
|
|
146
|
-
for (const code of this._styles.slice().reverse()) {
|
|
147
|
-
str = code.open + str.replace(code.closeRe, code.open) + code.close;
|
|
148
|
-
str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`);
|
|
149
|
-
}
|
|
150
|
-
ansiStyles.dim.open = originalDim;
|
|
151
|
-
return str;
|
|
152
|
-
}
|
|
153
|
-
function chalkTag(chalk, strings) {
|
|
154
|
-
if (!Array.isArray(strings)) {
|
|
155
|
-
return [].slice.call(arguments, 1).join(" ");
|
|
156
|
-
}
|
|
157
|
-
const args = [].slice.call(arguments, 2);
|
|
158
|
-
const parts = [strings.raw[0]];
|
|
159
|
-
for (let i = 1; i < strings.length; i++) {
|
|
160
|
-
parts.push(String(args[i - 1]).replace(/[{}\\]/g, "\\$&"));
|
|
161
|
-
parts.push(String(strings.raw[i]));
|
|
162
|
-
}
|
|
163
|
-
return template(chalk, parts.join(""));
|
|
164
|
-
}
|
|
165
|
-
Object.defineProperties(Chalk.prototype, styles);
|
|
166
|
-
module2.exports = Chalk();
|
|
167
|
-
module2.exports.supportsColor = stdoutColor;
|
|
168
|
-
module2.exports.default = module2.exports;
|
|
169
|
-
})(index.__module);
|
|
170
|
-
var chalkExports = index.__module.exports;
|
|
171
|
-
exports.chalkExports = chalkExports;
|
|
172
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../node_modules/chalk/index.js"],"sourcesContent":["'use strict';\nconst escapeStringRegexp = require('escape-string-regexp');\nconst ansiStyles = require('ansi-styles');\nconst stdoutColor = require('supports-color').stdout;\n\nconst template = require('./templates.js');\n\nconst isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm');\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m'];\n\n// `color-convert` models to exclude from the Chalk API due to conflicts and such\nconst skipModels = new Set(['gray']);\n\nconst styles = Object.create(null);\n\nfunction applyOptions(obj, options) {\n\toptions = options || {};\n\n\t// Detect level if not set manually\n\tconst scLevel = stdoutColor ? stdoutColor.level : 0;\n\tobj.level = options.level === undefined ? scLevel : options.level;\n\tobj.enabled = 'enabled' in options ? options.enabled : obj.level > 0;\n}\n\nfunction Chalk(options) {\n\t// We check for this.template here since calling `chalk.constructor()`\n\t// by itself will have a `this` of a previously constructed chalk object\n\tif (!this || !(this instanceof Chalk) || this.template) {\n\t\tconst chalk = {};\n\t\tapplyOptions(chalk, options);\n\n\t\tchalk.template = function () {\n\t\t\tconst args = [].slice.call(arguments);\n\t\t\treturn chalkTag.apply(null, [chalk.template].concat(args));\n\t\t};\n\n\t\tObject.setPrototypeOf(chalk, Chalk.prototype);\n\t\tObject.setPrototypeOf(chalk.template, chalk);\n\n\t\tchalk.template.constructor = Chalk;\n\n\t\treturn chalk.template;\n\t}\n\n\tapplyOptions(this, options);\n}\n\n// Use bright blue on Windows as the normal blue color is illegible\nif (isSimpleWindowsTerm) {\n\tansiStyles.blue.open = '\\u001B[94m';\n}\n\nfor (const key of Object.keys(ansiStyles)) {\n\tansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');\n\n\tstyles[key] = {\n\t\tget() {\n\t\t\tconst codes = ansiStyles[key];\n\t\t\treturn build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key);\n\t\t}\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\treturn build.call(this, this._styles || [], true, 'visible');\n\t}\n};\n\nansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g');\nfor (const model of Object.keys(ansiStyles.color.ansi)) {\n\tif (skipModels.has(model)) {\n\t\tcontinue;\n\t}\n\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst level = this.level;\n\t\t\treturn function () {\n\t\t\t\tconst open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments);\n\t\t\t\tconst codes = {\n\t\t\t\t\topen,\n\t\t\t\t\tclose: ansiStyles.color.close,\n\t\t\t\t\tcloseRe: ansiStyles.color.closeRe\n\t\t\t\t};\n\t\t\t\treturn build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);\n\t\t\t};\n\t\t}\n\t};\n}\n\nansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g');\nfor (const model of Object.keys(ansiStyles.bgColor.ansi)) {\n\tif (skipModels.has(model)) {\n\t\tcontinue;\n\t}\n\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst level = this.level;\n\t\t\treturn function () {\n\t\t\t\tconst open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments);\n\t\t\t\tconst codes = {\n\t\t\t\t\topen,\n\t\t\t\t\tclose: ansiStyles.bgColor.close,\n\t\t\t\t\tcloseRe: ansiStyles.bgColor.closeRe\n\t\t\t\t};\n\t\t\t\treturn build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);\n\t\t\t};\n\t\t}\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, styles);\n\nfunction build(_styles, _empty, key) {\n\tconst builder = function () {\n\t\treturn applyStyle.apply(builder, arguments);\n\t};\n\n\tbuilder._styles = _styles;\n\tbuilder._empty = _empty;\n\n\tconst self = this;\n\n\tObject.defineProperty(builder, 'level', {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn self.level;\n\t\t},\n\t\tset(level) {\n\t\t\tself.level = level;\n\t\t}\n\t});\n\n\tObject.defineProperty(builder, 'enabled', {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn self.enabled;\n\t\t},\n\t\tset(enabled) {\n\t\t\tself.enabled = enabled;\n\t\t}\n\t});\n\n\t// See below for fix regarding invisible grey/dim combination on Windows\n\tbuilder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey';\n\n\t// `__proto__` is used because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tbuilder.__proto__ = proto; // eslint-disable-line no-proto\n\n\treturn builder;\n}\n\nfunction applyStyle() {\n\t// Support varags, but simply cast to string in case there's only one arg\n\tconst args = arguments;\n\tconst argsLen = args.length;\n\tlet str = String(arguments[0]);\n\n\tif (argsLen === 0) {\n\t\treturn '';\n\t}\n\n\tif (argsLen > 1) {\n\t\t// Don't slice `arguments`, it prevents V8 optimizations\n\t\tfor (let a = 1; a < argsLen; a++) {\n\t\t\tstr += ' ' + args[a];\n\t\t}\n\t}\n\n\tif (!this.enabled || this.level <= 0 || !str) {\n\t\treturn this._empty ? '' : str;\n\t}\n\n\t// Turns out that on Windows dimmed gray text becomes invisible in cmd.exe,\n\t// see https://github.com/chalk/chalk/issues/58\n\t// If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop.\n\tconst originalDim = ansiStyles.dim.open;\n\tif (isSimpleWindowsTerm && this.hasGrey) {\n\t\tansiStyles.dim.open = '';\n\t}\n\n\tfor (const code of this._styles.slice().reverse()) {\n\t\t// Replace any instances already present with a re-opening code\n\t\t// otherwise only the part of the string until said closing code\n\t\t// will be colored, and the rest will simply be 'plain'.\n\t\tstr = code.open + str.replace(code.closeRe, code.open) + code.close;\n\n\t\t// Close the styling before a linebreak and reopen\n\t\t// after next line to fix a bleed issue on macOS\n\t\t// https://github.com/chalk/chalk/pull/92\n\t\tstr = str.replace(/\\r?\\n/g, `${code.close}$&${code.open}`);\n\t}\n\n\t// Reset the original `dim` if we changed it to work around the Windows dimmed gray issue\n\tansiStyles.dim.open = originalDim;\n\n\treturn str;\n}\n\nfunction chalkTag(chalk, strings) {\n\tif (!Array.isArray(strings)) {\n\t\t// If chalk() was called by itself or with a string,\n\t\t// return the string itself as a string.\n\t\treturn [].slice.call(arguments, 1).join(' ');\n\t}\n\n\tconst args = [].slice.call(arguments, 2);\n\tconst parts = [strings.raw[0]];\n\n\tfor (let i = 1; i < strings.length; i++) {\n\t\tparts.push(String(args[i - 1]).replace(/[{}\\\\]/g, '\\\\$&'));\n\t\tparts.push(String(strings.raw[i]));\n\t}\n\n\treturn template(chalk, parts.join(''));\n}\n\nObject.defineProperties(Chalk.prototype, styles);\n\nmodule.exports = Chalk(); // eslint-disable-line new-cap\nmodule.exports.supportsColor = stdoutColor;\nmodule.exports.default = module.exports; // For TypeScript\n"],"names":["require$$0","require$$1","require$$2","require$$3","module"],"mappings":";;;;;;;;AACA,QAAM,qBAAqBA,QAAAA;AAC3B,QAAM,aAAaC,QAAAA;AACnB,QAAM,cAAcC,QAAyB,QAAC;AAE9C,QAAM,WAAWC,UAAAA;AAEjB,QAAM,sBAAsB,QAAQ,aAAa,WAAW,EAAE,QAAQ,IAAI,QAAQ,IAAI,YAAa,EAAC,WAAW,OAAO;AAGtH,QAAM,eAAe,CAAC,QAAQ,QAAQ,WAAW,SAAS;AAG1D,QAAM,aAAa,oBAAI,IAAI,CAAC,MAAM,CAAC;AAEnC,QAAM,SAAS,uBAAO,OAAO,IAAI;AAEjC,WAAS,aAAa,KAAK,SAAS;AACnC,cAAU,WAAW;AAGrB,UAAM,UAAU,cAAc,YAAY,QAAQ;AAClD,QAAI,QAAQ,QAAQ,UAAU,SAAY,UAAU,QAAQ;AAC5D,QAAI,UAAU,aAAa,UAAU,QAAQ,UAAU,IAAI,QAAQ;AAAA,EACnE;AAED,WAAS,MAAM,SAAS;AAGvB,QAAI,CAAC,QAAQ,EAAE,gBAAgB,UAAU,KAAK,UAAU;AACvD,YAAM,QAAQ,CAAA;AACd,mBAAa,OAAO,OAAO;AAE3B,YAAM,WAAW,WAAY;AAC5B,cAAM,OAAO,CAAE,EAAC,MAAM,KAAK,SAAS;AACpC,eAAO,SAAS,MAAM,MAAM,CAAC,MAAM,QAAQ,EAAE,OAAO,IAAI,CAAC;AAAA,MAC5D;AAEE,aAAO,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