From 671774ba76256e84bee8f83d1d9384c94f7e379e Mon Sep 17 00:00:00 2001 From: Conventional Changelog Action Date: Tue, 5 Oct 2021 22:01:09 +0000 Subject: [PATCH] chore(release): v3.9.6 --- CHANGELOG.md | 18 +- node_modules/@actions/core/lib/command.d.ts | 15 + node_modules/@actions/core/lib/command.js | 92 + node_modules/@actions/core/lib/command.js.map | 1 + node_modules/@actions/core/lib/core.d.ts | 186 + node_modules/@actions/core/lib/core.js | 312 + node_modules/@actions/core/lib/core.js.map | 1 + .../@actions/core/lib/file-command.d.ts | 1 + .../@actions/core/lib/file-command.js | 42 + .../@actions/core/lib/file-command.js.map | 1 + .../@actions/core/lib/oidc-utils.d.ts | 7 + node_modules/@actions/core/lib/oidc-utils.js | 77 + .../@actions/core/lib/oidc-utils.js.map | 1 + node_modules/@actions/core/lib/utils.d.ts | 14 + node_modules/@actions/core/lib/utils.js | 40 + node_modules/@actions/core/lib/utils.js.map | 1 + node_modules/@actions/exec/lib/exec.d.ts | 24 + node_modules/@actions/exec/lib/exec.js | 103 + node_modules/@actions/exec/lib/exec.js.map | 1 + .../@actions/exec/lib/interfaces.d.ts | 57 + .../exec/lib/interfaces.js} | 2 +- .../@actions/exec/lib/interfaces.js.map | 1 + .../@actions/exec/lib/toolrunner.d.ts | 37 + node_modules/@actions/exec/lib/toolrunner.js | 618 + .../@actions/exec/lib/toolrunner.js.map | 1 + node_modules/@actions/io/lib/io-util.d.ts | 19 + node_modules/@actions/io/lib/io-util.js | 177 + node_modules/@actions/io/lib/io-util.js.map | 1 + node_modules/@actions/io/lib/io.d.ts | 64 + node_modules/@actions/io/lib/io.js | 341 + node_modules/@actions/io/lib/io.js.map | 1 + node_modules/@babel/code-frame/lib/index.js | 167 + .../lib/identifier.js | 77 + .../helper-validator-identifier/lib/index.js | 57 + .../lib/keyword.js | 38 + node_modules/@babel/highlight/lib/index.js | 107 + node_modules/@commitlint/cli/CHANGELOG.md | 852 -- node_modules/@commitlint/cli/README.md | 16 - node_modules/@commitlint/cli/cli.js | 2 - node_modules/@commitlint/cli/index.js | 3 - node_modules/@commitlint/cli/license.md | 21 - node_modules/@commitlint/cli/package.json | 62 - .../config-conventional/CHANGELOG.md | 353 - .../@commitlint/config-conventional/README.md | 224 - .../@commitlint/config-conventional/index.js | 135 - .../config-conventional/license.md | 21 - .../config-conventional/package.json | 46 - node_modules/@commitlint/ensure/CHANGELOG.md | 312 - node_modules/@commitlint/ensure/license.md | 21 - node_modules/@commitlint/ensure/package.json | 50 - .../@commitlint/execute-rule/CHANGELOG.md | 251 - .../@commitlint/execute-rule/license.md | 21 - .../@commitlint/execute-rule/package.json | 44 - node_modules/@commitlint/format/CHANGELOG.md | 281 - node_modules/@commitlint/format/README.md | 65 - node_modules/@commitlint/format/license.md | 21 - .../node_modules/ansi-styles/index.d.ts | 345 - .../format/node_modules/ansi-styles/index.js | 163 - .../format/node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 60 - .../format/node_modules/ansi-styles/readme.md | 152 - .../format/node_modules/chalk/index.d.ts | 415 - .../format/node_modules/chalk/license | 9 - .../format/node_modules/chalk/package.json | 72 - .../format/node_modules/chalk/readme.md | 341 - .../format/node_modules/chalk/source/index.js | 229 - .../node_modules/chalk/source/templates.js | 134 - .../format/node_modules/chalk/source/util.js | 39 - .../node_modules/color-convert/CHANGELOG.md | 54 - .../format/node_modules/color-convert/LICENSE | 21 - .../node_modules/color-convert/README.md | 68 - .../node_modules/color-convert/conversions.js | 839 -- .../node_modules/color-convert/index.js | 81 - .../node_modules/color-convert/package.json | 52 - .../node_modules/color-convert/route.js | 97 - .../format/node_modules/color-name/LICENSE | 8 - .../format/node_modules/color-name/README.md | 11 - .../format/node_modules/color-name/index.js | 152 - .../node_modules/color-name/package.json | 32 - .../format/node_modules/has-flag/index.d.ts | 39 - .../format/node_modules/has-flag/index.js | 8 - .../format/node_modules/has-flag/license | 9 - .../format/node_modules/has-flag/package.json | 50 - .../format/node_modules/has-flag/readme.md | 89 - .../node_modules/supports-color/browser.js | 5 - .../node_modules/supports-color/index.js | 135 - .../node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 57 - .../node_modules/supports-color/readme.md | 76 - node_modules/@commitlint/format/package.json | 48 - .../@commitlint/is-ignored/CHANGELOG.md | 350 - .../@commitlint/is-ignored/license.md | 21 - .../@commitlint/is-ignored/package.json | 51 - node_modules/@commitlint/lint/CHANGELOG.md | 331 - node_modules/@commitlint/lint/README.md | 35 - node_modules/@commitlint/lint/license.md | 21 - node_modules/@commitlint/lint/package.json | 51 - node_modules/@commitlint/load/CHANGELOG.md | 353 - node_modules/@commitlint/load/README.md | 20 - node_modules/@commitlint/load/license.md | 21 - .../load/node_modules/ansi-styles/index.d.ts | 345 - .../load/node_modules/ansi-styles/index.js | 163 - .../load/node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 60 - .../load/node_modules/ansi-styles/readme.md | 152 - .../load/node_modules/chalk/index.d.ts | 415 - .../load/node_modules/chalk/license | 9 - .../load/node_modules/chalk/package.json | 72 - .../load/node_modules/chalk/readme.md | 341 - .../load/node_modules/chalk/source/index.js | 229 - .../node_modules/chalk/source/templates.js | 134 - .../load/node_modules/chalk/source/util.js | 39 - .../node_modules/color-convert/CHANGELOG.md | 54 - .../load/node_modules/color-convert/LICENSE | 21 - .../load/node_modules/color-convert/README.md | 68 - .../node_modules/color-convert/conversions.js | 839 -- .../load/node_modules/color-convert/index.js | 81 - .../node_modules/color-convert/package.json | 52 - .../load/node_modules/color-convert/route.js | 97 - .../load/node_modules/color-name/LICENSE | 8 - .../load/node_modules/color-name/README.md | 11 - .../load/node_modules/color-name/index.js | 152 - .../load/node_modules/color-name/package.json | 32 - .../load/node_modules/has-flag/index.d.ts | 39 - .../load/node_modules/has-flag/index.js | 8 - .../load/node_modules/has-flag/license | 9 - .../load/node_modules/has-flag/package.json | 50 - .../load/node_modules/has-flag/readme.md | 89 - .../node_modules/supports-color/browser.js | 5 - .../load/node_modules/supports-color/index.js | 135 - .../load/node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 57 - .../node_modules/supports-color/readme.md | 76 - node_modules/@commitlint/load/package.json | 58 - node_modules/@commitlint/message/CHANGELOG.md | 259 - node_modules/@commitlint/message/license.md | 21 - node_modules/@commitlint/message/package.json | 45 - node_modules/@commitlint/parse/CHANGELOG.md | 291 - node_modules/@commitlint/parse/README.md | 29 - node_modules/@commitlint/parse/license.md | 21 - node_modules/@commitlint/parse/package.json | 50 - node_modules/@commitlint/read/CHANGELOG.md | 257 - node_modules/@commitlint/read/README.md | 25 - node_modules/@commitlint/read/license.md | 21 - node_modules/@commitlint/read/package.json | 54 - .../@commitlint/resolve-extends/CHANGELOG.md | 289 - .../@commitlint/resolve-extends/license.md | 21 - .../@commitlint/resolve-extends/package.json | 51 - node_modules/@commitlint/rules/CHANGELOG.md | 377 - node_modules/@commitlint/rules/license.md | 21 - node_modules/@commitlint/rules/package.json | 55 - .../@commitlint/to-lines/CHANGELOG.md | 251 - node_modules/@commitlint/to-lines/license.md | 21 - .../@commitlint/to-lines/package.json | 44 - .../@commitlint/top-level/CHANGELOG.md | 267 - node_modules/@commitlint/top-level/license.md | 21 - .../top-level/node_modules/find-up/index.d.ts | 138 - .../top-level/node_modules/find-up/index.js | 89 - .../top-level/node_modules/find-up/license | 9 - .../node_modules/find-up/package.json | 58 - .../top-level/node_modules/find-up/readme.md | 151 - .../node_modules/locate-path/index.d.ts | 83 - .../node_modules/locate-path/index.js | 68 - .../node_modules/locate-path/license | 9 - .../node_modules/locate-path/package.json | 50 - .../node_modules/locate-path/readme.md | 125 - .../top-level/node_modules/p-limit/index.d.ts | 42 - .../top-level/node_modules/p-limit/index.js | 71 - .../top-level/node_modules/p-limit/license | 9 - .../node_modules/p-limit/package.json | 56 - .../top-level/node_modules/p-limit/readme.md | 101 - .../node_modules/p-locate/index.d.ts | 53 - .../top-level/node_modules/p-locate/index.js | 50 - .../top-level/node_modules/p-locate/license | 9 - .../node_modules/p-locate/package.json | 58 - .../top-level/node_modules/p-locate/readme.md | 93 - .../@commitlint/top-level/package.json | 47 - node_modules/@commitlint/types/CHANGELOG.md | 171 - node_modules/@commitlint/types/license.md | 21 - .../types/node_modules/ansi-styles/index.d.ts | 345 - .../types/node_modules/ansi-styles/index.js | 163 - .../types/node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 60 - .../types/node_modules/ansi-styles/readme.md | 152 - .../types/node_modules/chalk/index.d.ts | 415 - .../types/node_modules/chalk/license | 9 - .../types/node_modules/chalk/package.json | 72 - .../types/node_modules/chalk/readme.md | 341 - .../types/node_modules/chalk/source/index.js | 229 - .../node_modules/chalk/source/templates.js | 134 - .../types/node_modules/chalk/source/util.js | 39 - .../node_modules/color-convert/CHANGELOG.md | 54 - .../types/node_modules/color-convert/LICENSE | 21 - .../node_modules/color-convert/README.md | 68 - .../node_modules/color-convert/conversions.js | 839 -- .../types/node_modules/color-convert/index.js | 81 - .../node_modules/color-convert/package.json | 52 - .../types/node_modules/color-convert/route.js | 97 - .../types/node_modules/color-name/LICENSE | 8 - .../types/node_modules/color-name/README.md | 11 - .../types/node_modules/color-name/index.js | 152 - .../node_modules/color-name/package.json | 32 - .../types/node_modules/has-flag/index.d.ts | 39 - .../types/node_modules/has-flag/index.js | 8 - .../types/node_modules/has-flag/license | 9 - .../types/node_modules/has-flag/package.json | 50 - .../types/node_modules/has-flag/readme.md | 89 - .../node_modules/supports-color/browser.js | 5 - .../node_modules/supports-color/index.js | 135 - .../types/node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 57 - .../node_modules/supports-color/readme.md | 76 - node_modules/@commitlint/types/package.json | 40 - .../CHANGELOG.md | 60 - .../cosmiconfig-typescript-loader/LICENSE | 7 - .../cosmiconfig-typescript-loader/README.md | 76 - .../dist/Errors/TypeScriptCompileError.d.ts | 15 - .../dist/Errors/TypeScriptCompileError.js | 30 - .../dist/Errors/TypeScriptCompileError.js.map | 1 - .../dist/index.d.ts | 3 - .../dist/index.js | 18 - .../dist/index.js.map | 1 - .../package.json | 77 - node_modules/@iarna/toml/lib/create-date.js | 23 + .../@iarna/toml/lib/create-datetime-float.js | 24 + .../@iarna/toml/lib/create-datetime.js | 10 + node_modules/@iarna/toml/lib/create-time.js | 22 + node_modules/@iarna/toml/lib/format-num.js | 6 + node_modules/@iarna/toml/lib/parser-debug.js | 60 + node_modules/@iarna/toml/lib/parser.js | 127 + node_modules/@iarna/toml/lib/toml-parser.js | 1379 ++ node_modules/@types/parse-json/LICENSE | 21 - node_modules/@types/parse-json/README.md | 16 - node_modules/@types/parse-json/index.d.ts | 9 - node_modules/@types/parse-json/package.json | 26 - node_modules/@vercel/ncc/LICENSE | 7 - .../@vercel/ncc/dist/ncc/@@notfound.js | 1 - .../@vercel/ncc/dist/ncc/LICENSES.txt | 339 - .../@vercel/ncc/dist/ncc/buildin/readme.md | 7 - node_modules/@vercel/ncc/dist/ncc/cli.js | 9 - .../@vercel/ncc/dist/ncc/cli.js.cache | Bin 87072 -> 0 bytes .../@vercel/ncc/dist/ncc/cli.js.cache.js | 1 - node_modules/@vercel/ncc/dist/ncc/index.js | 8 - .../@vercel/ncc/dist/ncc/index.js.cache | Bin 3631952 -> 0 bytes .../@vercel/ncc/dist/ncc/index.js.cache.js | 37 - .../ncc/dist/ncc/loaders/empty-loader.js | 31 - .../ncc/dist/ncc/loaders/notfound-loader.js | 7 - .../@vercel/ncc/dist/ncc/loaders/readme.md | 11 - .../ncc/dist/ncc/loaders/relocate-loader.js | 8 - .../dist/ncc/loaders/relocate-loader.js.cache | Bin 648680 -> 0 bytes .../ncc/loaders/relocate-loader.js.cache.js | 12 - .../ncc/dist/ncc/loaders/shebang-loader.js | 8 - .../dist/ncc/loaders/shebang-loader.js.cache | Bin 2808 -> 0 bytes .../ncc/loaders/shebang-loader.js.cache.js | 1 - .../ncc/dist/ncc/loaders/stringify-loader.js | 8 - .../ncc/loaders/stringify-loader.js.cache | Bin 1080 -> 0 bytes .../ncc/loaders/stringify-loader.js.cache.js | 1 - .../@vercel/ncc/dist/ncc/loaders/ts-loader.js | 8 - .../ncc/dist/ncc/loaders/ts-loader.js.cache | Bin 283944 -> 0 bytes .../dist/ncc/loaders/ts-loader.js.cache.js | 62 - .../ncc/dist/ncc/loaders/uncacheable.js | 4 - .../@vercel/ncc/dist/ncc/mappings.wasm | Bin 48693 -> 0 bytes node_modules/@vercel/ncc/dist/ncc/readme.md | 11 - .../ncc/dist/ncc/sourcemap-register.js | 8 - .../ncc/dist/ncc/sourcemap-register.js.cache | Bin 3240 -> 0 bytes .../dist/ncc/sourcemap-register.js.cache.js | 1 - .../@vercel/ncc/dist/ncc/typescript.js | 15 - node_modules/@vercel/ncc/dist/readme.md | 9 - node_modules/@vercel/ncc/package.json | 123 - node_modules/@vercel/ncc/readme.md | 153 - node_modules/arg/LICENSE.md | 21 - node_modules/arg/README.md | 280 - node_modules/arg/index.d.ts | 31 - node_modules/arg/index.js | 144 - node_modules/arg/package.json | 34 - node_modules/callsites/index.d.ts | 96 - node_modules/callsites/index.js | 13 - node_modules/callsites/license | 9 - node_modules/callsites/package.json | 43 - node_modules/callsites/readme.md | 48 - node_modules/ci-info/CHANGELOG.md | 78 - node_modules/ci-info/LICENSE | 21 - node_modules/ci-info/README.md | 108 - node_modules/ci-info/index.js | 66 - node_modules/ci-info/package.json | 40 - node_modules/ci-info/vendors.json | 153 - node_modules/cliui/CHANGELOG.md | 121 - node_modules/cliui/LICENSE.txt | 14 - node_modules/cliui/README.md | 141 - node_modules/cliui/index.mjs | 13 - node_modules/cliui/package.json | 87 - node_modules/compare-versions/CHANGELOG.md | 52 - node_modules/compare-versions/LICENSE | 21 - node_modules/compare-versions/README.md | 100 - node_modules/compare-versions/index.d.ts | 59 - node_modules/compare-versions/index.js | 115 - node_modules/compare-versions/package.json | 38 - .../lib/merge-config.js | 345 + .../conventional-changelog-writer/lib/util.js | 216 + .../conventional-commits-parser/lib/parser.js | 307 + .../conventional-commits-parser/lib/regex.js | 61 + node_modules/core-util-is/lib/util.js | 107 + node_modules/cosmiconfig/CHANGELOG.md | 201 - node_modules/cosmiconfig/LICENSE | 22 - node_modules/cosmiconfig/README.md | 572 - node_modules/cosmiconfig/dist/Explorer.d.ts | 14 - .../cosmiconfig/dist/Explorer.d.ts.map | 1 - node_modules/cosmiconfig/dist/Explorer.js | 118 - node_modules/cosmiconfig/dist/Explorer.js.map | 1 - .../cosmiconfig/dist/ExplorerBase.d.ts | 21 - .../cosmiconfig/dist/ExplorerBase.d.ts.map | 1 - node_modules/cosmiconfig/dist/ExplorerBase.js | 142 - .../cosmiconfig/dist/ExplorerBase.js.map | 1 - .../cosmiconfig/dist/ExplorerSync.d.ts | 14 - .../cosmiconfig/dist/ExplorerSync.d.ts.map | 1 - node_modules/cosmiconfig/dist/ExplorerSync.js | 118 - .../cosmiconfig/dist/ExplorerSync.js.map | 1 - .../cosmiconfig/dist/cacheWrapper.d.ts | 5 - .../cosmiconfig/dist/cacheWrapper.d.ts.map | 1 - node_modules/cosmiconfig/dist/cacheWrapper.js | 32 - .../cosmiconfig/dist/cacheWrapper.js.map | 1 - .../cosmiconfig/dist/getDirectory.d.ts | 4 - .../cosmiconfig/dist/getDirectory.d.ts.map | 1 - node_modules/cosmiconfig/dist/getDirectory.js | 38 - .../cosmiconfig/dist/getDirectory.js.map | 1 - .../cosmiconfig/dist/getPropertyByPath.d.ts | 5 - .../dist/getPropertyByPath.d.ts.map | 1 - .../cosmiconfig/dist/getPropertyByPath.js | 28 - .../cosmiconfig/dist/getPropertyByPath.js.map | 1 - node_modules/cosmiconfig/dist/index.d.ts | 45 - node_modules/cosmiconfig/dist/index.d.ts.map | 1 - node_modules/cosmiconfig/dist/index.js | 82 - node_modules/cosmiconfig/dist/index.js.map | 1 - node_modules/cosmiconfig/dist/loaders.d.ts | 4 - .../cosmiconfig/dist/loaders.d.ts.map | 1 - node_modules/cosmiconfig/dist/loaders.js | 60 - node_modules/cosmiconfig/dist/loaders.js.map | 1 - node_modules/cosmiconfig/dist/readFile.d.ts | 7 - .../cosmiconfig/dist/readFile.d.ts.map | 1 - node_modules/cosmiconfig/dist/readFile.js | 56 - node_modules/cosmiconfig/dist/readFile.js.map | 1 - node_modules/cosmiconfig/dist/types.d.ts | 20 - node_modules/cosmiconfig/dist/types.d.ts.map | 1 - node_modules/cosmiconfig/dist/types.js | 2 - node_modules/cosmiconfig/dist/types.js.map | 1 - .../node_modules/path-type/index.d.ts | 51 - .../node_modules/path-type/index.js | 43 - .../node_modules/path-type/license | 9 - .../node_modules/path-type/package.json | 49 - .../node_modules/path-type/readme.md | 72 - node_modules/cosmiconfig/package.json | 149 - node_modules/create-require/CHANGELOG.md | 33 - node_modules/create-require/LICENSE | 25 - node_modules/create-require/README.md | 46 - .../create-require/create-require.d.ts | 3 - node_modules/create-require/create-require.js | 49 - node_modules/create-require/package.json | 43 - node_modules/cross-spawn/CHANGELOG.md | 130 - node_modules/cross-spawn/LICENSE | 21 - node_modules/cross-spawn/README.md | 96 - node_modules/cross-spawn/index.js | 39 - node_modules/cross-spawn/package.json | 77 - node_modules/dateformat/lib/dateformat.js | 229 + node_modules/diff/CONTRIBUTING.md | 39 - node_modules/diff/LICENSE | 31 - node_modules/diff/README.md | 207 - node_modules/diff/dist/diff.js | 1585 -- node_modules/diff/dist/diff.min.js | 38 - node_modules/diff/package.json | 77 - node_modules/diff/release-notes.md | 261 - node_modules/diff/runtime.js | 3 - node_modules/execa/index.d.ts | 564 - node_modules/execa/index.js | 268 - node_modules/execa/license | 9 - node_modules/execa/package.json | 78 - node_modules/execa/readme.md | 663 - node_modules/find-versions/index.d.ts | 31 - node_modules/find-versions/index.js | 13 - node_modules/find-versions/license | 9 - node_modules/find-versions/package.json | 47 - node_modules/find-versions/readme.md | 53 - node_modules/fs-extra/CHANGELOG.md | 932 -- node_modules/fs-extra/LICENSE | 15 - node_modules/fs-extra/README.md | 264 - node_modules/fs-extra/package.json | 74 - .../node_modules/cliui/build/lib/index.js} | 19 +- .../cliui/build/lib/string-utils.js | 27 + .../readable-stream/lib/_stream_duplex.js | 131 + .../lib/_stream_passthrough.js | 47 + .../readable-stream/lib/_stream_readable.js | 1019 ++ .../readable-stream/lib/_stream_transform.js | 214 + .../readable-stream/lib/_stream_writable.js | 687 + .../lib/internal/streams/BufferList.js | 79 + .../lib/internal/streams/destroy.js | 74 + .../lib/internal/streams/stream-browser.js | 1 + .../lib/internal/streams/stream.js | 1 + .../string_decoder/lib/string_decoder.js | 296 + .../node_modules/y18n/build/lib/cjs.js | 6 + .../node_modules/y18n/build/lib/index.js} | 31 +- .../y18n/build/lib/platform-shims/node.js | 19 + .../node_modules/yargs/build/lib/argsert.js | 62 + .../node_modules/yargs/build/lib/command.js | 382 + .../yargs/build/lib/completion-templates.js | 47 + .../yargs/build/lib/completion.js | 128 + .../yargs/build/lib/middleware.js | 53 + .../yargs/build/lib/parse-command.js | 32 + .../yargs/build/lib/typings/common-types.js | 9 + .../build/lib/typings/yargs-parser-types.js} | 0 .../node_modules/yargs/build/lib/usage.js | 548 + .../yargs/build/lib/utils/apply-extends.js | 59 + .../yargs/build/lib/utils/is-promise.js | 5 + .../yargs/build/lib/utils/levenshtein.js | 26 + .../yargs/build/lib/utils/obj-filter.js | 10 + .../yargs/build/lib/utils/process-argv.js | 17 + .../yargs/build/lib/utils/set-blocking.js | 12 + .../yargs/build/lib/utils/which-module.js | 10 + .../yargs/build/lib/validation.js | 308 + .../yargs/build/lib/yargs-factory.js | 1143 ++ .../node_modules/yargs/build/lib/yerror.js | 7 + .../yargs/lib/platform-shims/browser.mjs | 92 + .../yargs/lib/platform-shims/esm.mjs | 67 + node_modules/get-stream/buffer-stream.js | 52 - node_modules/get-stream/index.d.ts | 105 - node_modules/get-stream/index.js | 61 - node_modules/get-stream/license | 9 - node_modules/get-stream/package.json | 51 - node_modules/get-stream/readme.md | 124 - node_modules/global-dirs/index.js | 90 - node_modules/global-dirs/license | 9 - node_modules/global-dirs/package.json | 56 - node_modules/global-dirs/readme.md | 69 - node_modules/handlebars/lib/handlebars.js | 46 + .../handlebars/lib/handlebars.runtime.js | 37 + .../handlebars/lib/handlebars/base.js | 94 + .../handlebars/lib/handlebars/compiler/ast.js | 32 + .../lib/handlebars/compiler/base.js | 34 + .../lib/handlebars/compiler/code-gen.js | 171 + .../lib/handlebars/compiler/compiler.js | 594 + .../lib/handlebars/compiler/helpers.js | 219 + .../compiler/javascript-compiler.js | 1292 ++ .../lib/handlebars/compiler/parser.js | 622 + .../lib/handlebars/compiler/printer.js | 178 + .../lib/handlebars/compiler/visitor.js | 136 + .../handlebars/compiler/whitespace-control.js | 234 + .../handlebars/lib/handlebars/decorators.js | 5 + .../lib/handlebars/decorators/inline.js | 22 + .../handlebars/lib/handlebars/exception.js | 68 + .../handlebars/lib/handlebars/helpers.js | 26 + .../helpers/block-helper-missing.js | 35 + .../handlebars/lib/handlebars/helpers/each.js | 101 + .../lib/handlebars/helpers/helper-missing.js | 15 + .../handlebars/lib/handlebars/helpers/if.js | 33 + .../handlebars/lib/handlebars/helpers/log.js | 19 + .../lib/handlebars/helpers/lookup.js | 9 + .../handlebars/lib/handlebars/helpers/with.js | 39 + .../internal/create-new-lookup-object.js | 11 + .../lib/handlebars/internal/proto-access.js | 70 + .../lib/handlebars/internal/wrapHelper.js | 13 + .../handlebars/lib/handlebars/logger.js | 39 + .../handlebars/lib/handlebars/no-conflict.js | 12 + .../handlebars/lib/handlebars/runtime.js | 450 + .../handlebars/lib/handlebars/safe-string.js | 10 + .../handlebars/lib/handlebars/utils.js | 116 + node_modules/handlebars/lib/index.js | 25 + node_modules/handlebars/lib/precompiler.js | 340 + node_modules/human-signals/CHANGELOG.md | 11 - node_modules/human-signals/LICENSE | 201 - node_modules/human-signals/README.md | 165 - node_modules/human-signals/build/src/core.js | 273 - .../human-signals/build/src/core.js.map | 1 - .../human-signals/build/src/main.d.ts | 52 - node_modules/human-signals/build/src/main.js | 71 - .../human-signals/build/src/main.js.map | 1 - .../human-signals/build/src/realtime.js | 19 - .../human-signals/build/src/realtime.js.map | 1 - .../human-signals/build/src/signals.js | 35 - .../human-signals/build/src/signals.js.map | 1 - node_modules/human-signals/package.json | 68 - node_modules/husky/.husky/_/husky.sh | 30 - node_modules/husky/CHANGELOG.md | 310 - node_modules/husky/LICENSE | 21 - node_modules/husky/README.md | 360 - node_modules/husky/bin/run.js | 21 - node_modules/husky/husky.js | 24 - .../husky/node_modules/ansi-styles/index.d.ts | 345 - .../husky/node_modules/ansi-styles/index.js | 163 - .../husky/node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 60 - .../husky/node_modules/ansi-styles/readme.md | 152 - .../husky/node_modules/chalk/index.d.ts | 415 - node_modules/husky/node_modules/chalk/license | 9 - .../husky/node_modules/chalk/package.json | 72 - .../husky/node_modules/chalk/readme.md | 341 - .../husky/node_modules/chalk/source/index.js | 229 - .../node_modules/chalk/source/templates.js | 134 - .../husky/node_modules/chalk/source/util.js | 39 - .../node_modules/color-convert/CHANGELOG.md | 54 - .../husky/node_modules/color-convert/LICENSE | 21 - .../node_modules/color-convert/README.md | 68 - .../node_modules/color-convert/conversions.js | 839 -- .../husky/node_modules/color-convert/index.js | 81 - .../node_modules/color-convert/package.json | 52 - .../husky/node_modules/color-convert/route.js | 97 - .../husky/node_modules/color-name/LICENSE | 8 - .../husky/node_modules/color-name/README.md | 11 - .../husky/node_modules/color-name/index.js | 152 - .../node_modules/color-name/package.json | 32 - .../husky/node_modules/has-flag/index.d.ts | 39 - .../husky/node_modules/has-flag/index.js | 8 - .../husky/node_modules/has-flag/license | 9 - .../husky/node_modules/has-flag/package.json | 50 - .../husky/node_modules/has-flag/readme.md | 89 - .../node_modules/supports-color/browser.js | 5 - .../node_modules/supports-color/index.js | 135 - .../husky/node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 57 - .../node_modules/supports-color/readme.md | 76 - node_modules/husky/package.json | 119 - node_modules/husky/sh/husky.sh | 90 - node_modules/import-fresh/index.d.ts | 28 - node_modules/import-fresh/index.js | 32 - node_modules/import-fresh/license | 9 - .../node_modules/resolve-from/index.js | 47 - .../node_modules/resolve-from/license | 9 - .../node_modules/resolve-from/package.json | 38 - .../node_modules/resolve-from/readme.md | 72 - node_modules/import-fresh/package.json | 46 - node_modules/import-fresh/readme.md | 52 - node_modules/is-stream/index.d.ts | 79 - node_modules/is-stream/index.js | 28 - node_modules/is-stream/license | 9 - node_modules/is-stream/package.json | 46 - node_modules/is-stream/readme.md | 60 - node_modules/isexe/.npmignore | 2 - node_modules/isexe/LICENSE | 15 - node_modules/isexe/README.md | 51 - node_modules/isexe/index.js | 57 - node_modules/isexe/mode.js | 41 - node_modules/isexe/package.json | 35 - node_modules/isexe/test/basic.js | 221 - node_modules/isexe/windows.js | 42 - node_modules/jsonfile/CHANGELOG.md | 171 - node_modules/jsonfile/LICENSE | 15 - node_modules/jsonfile/README.md | 230 - node_modules/jsonfile/index.js | 88 - node_modules/jsonfile/package.json | 44 - node_modules/jsonfile/utils.js | 14 - node_modules/lodash.get/LICENSE | 47 - node_modules/lodash.get/README.md | 18 - node_modules/lodash.get/index.js | 931 -- node_modules/lodash.get/package.json | 21 - node_modules/make-error/LICENSE | 5 - node_modules/make-error/README.md | 112 - node_modules/make-error/dist/make-error.js | 1 - node_modules/make-error/index.d.ts | 47 - node_modules/make-error/index.js | 151 - node_modules/make-error/package.json | 66 - .../lib/extract_description.js | 14 + .../normalize-package-data/lib/fixer.js | 418 + .../lib/make_warning.js | 23 + .../normalize-package-data/lib/normalize.js | 39 + .../normalize-package-data/lib/safe_format.js | 9 + .../normalize-package-data/lib/typos.json | 25 + .../lib/warning_messages.json | 30 + node_modules/merge-stream/LICENSE | 21 - node_modules/merge-stream/README.md | 78 - node_modules/merge-stream/index.js | 41 - node_modules/merge-stream/package.json | 23 - node_modules/mimic-fn/index.d.ts | 54 - node_modules/mimic-fn/index.js | 13 - node_modules/mimic-fn/license | 9 - node_modules/mimic-fn/package.json | 46 - node_modules/mimic-fn/readme.md | 69 - .../lib/extract_description.js | 22 + .../normalize-package-data/lib/fixer.js | 474 + .../lib/make_warning.js | 22 + .../normalize-package-data/lib/normalize.js | 48 + .../normalize-package-data/lib/safe_format.js | 11 + .../normalize-package-data/lib/typos.json | 25 + .../lib/warning_messages.json | 30 + node_modules/npm-run-path/index.d.ts | 89 - node_modules/npm-run-path/index.js | 47 - node_modules/npm-run-path/license | 9 - node_modules/npm-run-path/package.json | 48 - node_modules/npm-run-path/readme.md | 115 - node_modules/onetime/index.d.ts | 64 - node_modules/onetime/index.js | 44 - node_modules/onetime/license | 9 - node_modules/onetime/package.json | 47 - node_modules/onetime/readme.md | 94 - .../opencollective-postinstall/LICENSE | 21 - .../opencollective-postinstall/README.md | 34 - .../opencollective-postinstall/index.js | 18 - .../opencollective-postinstall/package.json | 36 - node_modules/parent-module/index.js | 37 - node_modules/parent-module/license | 9 - node_modules/parent-module/package.json | 50 - node_modules/parent-module/readme.md | 67 - node_modules/path-key/index.d.ts | 40 - node_modules/path-key/index.js | 16 - node_modules/path-key/license | 9 - node_modules/path-key/package.json | 43 - node_modules/path-key/readme.md | 61 - node_modules/pkg-dir/index.d.ts | 44 - node_modules/pkg-dir/index.js | 17 - node_modules/pkg-dir/license | 9 - node_modules/pkg-dir/package.json | 60 - node_modules/pkg-dir/readme.md | 66 - node_modules/please-upgrade-node/.eslintrc.js | 12 - .../please-upgrade-node/.github/FUNDING.yml | 1 - node_modules/please-upgrade-node/LICENSE | 21 - node_modules/please-upgrade-node/README.md | 72 - node_modules/please-upgrade-node/index.d.ts | 11 - node_modules/please-upgrade-node/index.js | 25 - node_modules/please-upgrade-node/package.json | 50 - .../lib/extract_description.js | 14 + .../normalize-package-data/lib/fixer.js | 418 + .../lib/make_warning.js | 23 + .../normalize-package-data/lib/normalize.js | 39 + .../normalize-package-data/lib/safe_format.js | 9 + .../normalize-package-data/lib/typos.json | 25 + .../lib/warning_messages.json | 30 + .../readable-stream/lib/_stream_duplex.js | 139 + .../lib/_stream_passthrough.js | 39 + .../readable-stream/lib/_stream_readable.js | 1124 ++ .../readable-stream/lib/_stream_transform.js | 201 + .../readable-stream/lib/_stream_writable.js | 697 + .../lib/internal/streams/async_iterator.js | 207 + .../lib/internal/streams/buffer_list.js | 210 + .../lib/internal/streams/destroy.js | 105 + .../lib/internal/streams/end-of-stream.js | 104 + .../lib/internal/streams/from-browser.js | 3 + .../lib/internal/streams/from.js | 64 + .../lib/internal/streams/pipeline.js | 97 + .../lib/internal/streams/state.js | 27 + .../lib/internal/streams/stream-browser.js | 1 + .../lib/internal/streams/stream.js | 1 + node_modules/resolve-from/index.d.ts | 31 - node_modules/resolve-from/index.js | 47 - node_modules/resolve-from/license | 9 - node_modules/resolve-from/package.json | 40 - node_modules/resolve-from/readme.md | 72 - node_modules/resolve-global/index.d.ts | 28 - node_modules/resolve-global/index.js | 21 - node_modules/resolve-global/license | 9 - node_modules/resolve-global/package.json | 47 - node_modules/resolve-global/readme.md | 55 - node_modules/resolve/lib/async.js | 320 + node_modules/resolve/lib/caller.js | 8 + node_modules/resolve/lib/core.js | 53 + node_modules/resolve/lib/core.json | 83 + node_modules/resolve/lib/is-core.js | 5 + .../resolve/lib/node-modules-paths.js | 42 + node_modules/resolve/lib/normalize-options.js | 10 + node_modules/resolve/lib/sync.js | 199 + .../test/resolver/other_path/lib/other-lib.js | 0 node_modules/semver-compare/.travis.yml | 6 - node_modules/semver-compare/LICENSE | 18 - node_modules/semver-compare/example/cmp.js | 13 - node_modules/semver-compare/example/lex.js | 12 - node_modules/semver-compare/index.js | 13 - node_modules/semver-compare/package.json | 35 - node_modules/semver-compare/readme.markdown | 77 - node_modules/semver-compare/test/cmp.js | 29 - node_modules/semver-regex/index.js | 2 - node_modules/semver-regex/license | 9 - node_modules/semver-regex/package.json | 40 - node_modules/semver-regex/readme.md | 43 - node_modules/shebang-command/index.js | 19 - node_modules/shebang-command/license | 9 - node_modules/shebang-command/package.json | 38 - node_modules/shebang-command/readme.md | 34 - node_modules/shebang-regex/index.d.ts | 22 - node_modules/shebang-regex/index.js | 2 - node_modules/shebang-regex/license | 9 - node_modules/shebang-regex/package.json | 39 - node_modules/shebang-regex/readme.md | 33 - node_modules/signal-exit/LICENSE.txt | 16 - node_modules/signal-exit/README.md | 39 - node_modules/signal-exit/index.js | 178 - node_modules/signal-exit/package.json | 40 - node_modules/signal-exit/signals.js | 53 - node_modules/slash/index.d.ts | 25 - node_modules/slash/index.js | 11 - node_modules/slash/license | 9 - node_modules/slash/package.json | 39 - node_modules/slash/readme.md | 44 - node_modules/source-map-support/LICENSE.md | 21 - node_modules/source-map-support/README.md | 284 - .../browser-source-map-support.js | 114 - node_modules/source-map-support/package.json | 35 - node_modules/source-map-support/register.js | 1 - .../source-map-support/source-map-support.js | 625 - node_modules/source-map/lib/array-set.js | 121 + node_modules/source-map/lib/base64-vlq.js | 140 + node_modules/source-map/lib/base64.js | 67 + node_modules/source-map/lib/binary-search.js | 111 + node_modules/source-map/lib/mapping-list.js | 79 + node_modules/source-map/lib/quick-sort.js | 114 + .../source-map/lib/source-map-consumer.js | 1145 ++ .../source-map/lib/source-map-generator.js | 425 + node_modules/source-map/lib/source-node.js | 413 + node_modules/source-map/lib/util.js | 488 + .../string_decoder/lib/string_decoder.js | 296 + node_modules/strip-final-newline/index.js | 16 - node_modules/strip-final-newline/license | 9 - node_modules/strip-final-newline/package.json | 44 - node_modules/strip-final-newline/readme.md | 30 - node_modules/ts-node/LICENSE | 21 - node_modules/ts-node/README.md | 306 - node_modules/ts-node/dist-raw/README.md | 13 - .../ts-node/dist-raw/node-cjs-loader-utils.js | 122 - node_modules/ts-node/dist-raw/node-errors.js | 21 - .../node-esm-resolve-implementation.js | 970 -- .../ts-node/dist-raw/node-internal-fs.js | 22 - node_modules/ts-node/dist-raw/node-options.js | 101 - .../dist-raw/node-package-json-reader.js | 44 - .../ts-node/dist-raw/node-primordials.js | 22 - .../ts-node/dist/bin-script-deprecated.d.ts | 2 - .../ts-node/dist/bin-script-deprecated.js | 7 - .../ts-node/dist/bin-script-deprecated.js.map | 1 - node_modules/ts-node/dist/bin-script.d.ts | 2 - node_modules/ts-node/dist/bin-script.js | 6 - node_modules/ts-node/dist/bin-script.js.map | 1 - node_modules/ts-node/dist/bin-transpile.d.ts | 2 - node_modules/ts-node/dist/bin-transpile.js | 6 - .../ts-node/dist/bin-transpile.js.map | 1 - node_modules/ts-node/dist/bin.d.ts | 5 - node_modules/ts-node/dist/bin.js | 240 - node_modules/ts-node/dist/bin.js.map | 1 - node_modules/ts-node/dist/esm.d.ts | 18 - node_modules/ts-node/dist/esm.js | 90 - node_modules/ts-node/dist/esm.js.map | 1 - node_modules/ts-node/dist/index.d.ts | 227 - node_modules/ts-node/dist/index.js | 833 -- node_modules/ts-node/dist/index.js.map | 1 - node_modules/ts-node/dist/index.spec.js | 817 - node_modules/ts-node/dist/index.spec.js.map | 1 - node_modules/ts-node/dist/repl.d.ts | 39 - node_modules/ts-node/dist/repl.js | 261 - node_modules/ts-node/dist/repl.js.map | 1 - .../ts-node/dist/tsconfig-schema.d.ts | 13 - .../ts-node/dist/tsconfig-schema.js.map | 1 - node_modules/ts-node/esm.mjs | 7 - node_modules/ts-node/esm/transpile-only.mjs | 7 - node_modules/ts-node/package.json | 125 - node_modules/ts-node/register/files.js | 3 - node_modules/ts-node/register/index.js | 1 - .../ts-node/register/transpile-only.js | 3 - node_modules/ts-node/register/type-check.js | 3 - node_modules/ts-node/tsconfig.schema.json | 124 - .../ts-node/tsconfig.schemastore-schema.json | 935 -- node_modules/tslib/CopyrightNotice.txt | 15 - node_modules/tslib/LICENSE.txt | 12 - node_modules/tslib/README.md | 164 - node_modules/tslib/modules/index.js | 53 - node_modules/tslib/modules/package.json | 3 - node_modules/tslib/package.json | 41 - node_modules/tslib/tslib.d.ts | 130 - node_modules/tslib/tslib.es6.html | 1 - node_modules/tslib/tslib.es6.js | 239 - node_modules/tslib/tslib.html | 1 - node_modules/tslib/tslib.js | 306 - node_modules/tunnel/lib/tunnel.js | 264 + node_modules/uglify-js/lib/ast.js | 2062 +++ node_modules/uglify-js/lib/compress.js | 12452 ++++++++++++++++ node_modules/uglify-js/lib/minify.js | 272 + node_modules/uglify-js/lib/mozilla-ast.js | 1274 ++ node_modules/uglify-js/lib/output.js | 1941 +++ node_modules/uglify-js/lib/parse.js | 2549 ++++ node_modules/uglify-js/lib/propmangle.js | 259 + node_modules/uglify-js/lib/scope.js | 829 + node_modules/uglify-js/lib/sourcemap.js | 193 + node_modules/uglify-js/lib/transform.js | 250 + node_modules/uglify-js/lib/utils.js | 267 + node_modules/universalify/LICENSE | 20 - node_modules/universalify/README.md | 76 - node_modules/universalify/index.js | 24 - node_modules/universalify/package.json | 38 - node_modules/which-pm-runs/LICENSE | 21 - node_modules/which-pm-runs/README.md | 29 - node_modules/which-pm-runs/index.js | 17 - node_modules/which-pm-runs/package.json | 38 - node_modules/which/CHANGELOG.md | 166 - node_modules/which/LICENSE | 15 - node_modules/which/README.md | 54 - node_modules/which/bin/node-which | 52 - node_modules/which/package.json | 47 - node_modules/which/which.js | 125 - node_modules/wrap-ansi/index.js | 216 - node_modules/wrap-ansi/license | 9 - .../node_modules/ansi-styles/index.d.ts | 345 - .../node_modules/ansi-styles/index.js | 163 - .../node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 60 - .../node_modules/ansi-styles/readme.md | 152 - .../node_modules/color-convert/CHANGELOG.md | 54 - .../node_modules/color-convert/LICENSE | 21 - .../node_modules/color-convert/README.md | 68 - .../node_modules/color-convert/conversions.js | 839 -- .../node_modules/color-convert/index.js | 81 - .../node_modules/color-convert/package.json | 52 - .../node_modules/color-convert/route.js | 97 - .../wrap-ansi/node_modules/color-name/LICENSE | 8 - .../node_modules/color-name/README.md | 11 - .../node_modules/color-name/index.js | 152 - .../node_modules/color-name/package.json | 32 - node_modules/wrap-ansi/package.json | 66 - node_modules/wrap-ansi/readme.md | 91 - node_modules/y18n/CHANGELOG.md | 100 - node_modules/y18n/LICENSE | 13 - node_modules/y18n/README.md | 127 - node_modules/y18n/index.mjs | 8 - node_modules/y18n/package.json | 74 - node_modules/yargs-parser/build/lib/index.js | 59 + .../yargs-parser/build/lib/string-utils.js | 65 + .../build/lib/tokenize-arg-string.js | 40 + .../build/lib/yargs-parser-types.js | 12 + .../yargs-parser/build/lib/yargs-parser.js | 1037 ++ node_modules/yargs/CHANGELOG.md | 198 - node_modules/yargs/LICENSE | 21 - node_modules/yargs/README.md | 204 - node_modules/yargs/browser.mjs | 7 - node_modules/yargs/build/index.cjs | 1 - node_modules/yargs/helpers/helpers.mjs | 10 - node_modules/yargs/helpers/index.js | 14 - node_modules/yargs/helpers/package.json | 3 - node_modules/yargs/index.cjs | 43 - node_modules/yargs/index.mjs | 8 - node_modules/yargs/locales/be.json | 46 - node_modules/yargs/locales/de.json | 46 - node_modules/yargs/locales/en.json | 51 - node_modules/yargs/locales/es.json | 46 - node_modules/yargs/locales/fi.json | 49 - node_modules/yargs/locales/fr.json | 53 - node_modules/yargs/locales/hi.json | 49 - node_modules/yargs/locales/hu.json | 46 - node_modules/yargs/locales/id.json | 50 - node_modules/yargs/locales/it.json | 46 - node_modules/yargs/locales/ja.json | 51 - node_modules/yargs/locales/ko.json | 49 - node_modules/yargs/locales/nb.json | 44 - node_modules/yargs/locales/nl.json | 49 - node_modules/yargs/locales/nn.json | 44 - node_modules/yargs/locales/pirate.json | 13 - node_modules/yargs/locales/pl.json | 49 - node_modules/yargs/locales/pt.json | 45 - node_modules/yargs/locales/pt_BR.json | 48 - node_modules/yargs/locales/ru.json | 46 - node_modules/yargs/locales/th.json | 46 - node_modules/yargs/locales/tr.json | 48 - node_modules/yargs/locales/uk_UA.json | 51 - node_modules/yargs/locales/uz.json | 52 - node_modules/yargs/locales/zh_CN.json | 48 - node_modules/yargs/locales/zh_TW.json | 51 - node_modules/yargs/package.json | 120 - node_modules/yargs/yargs | 9 - node_modules/yn/index.d.ts | 65 - node_modules/yn/index.js | 33 - node_modules/yn/lenient.js | 105 - node_modules/yn/license | 9 - node_modules/yn/package.json | 46 - node_modules/yn/readme.md | 83 - node_modules/yocto-queue/index.d.ts | 56 - node_modules/yocto-queue/index.js | 68 - node_modules/yocto-queue/license | 9 - node_modules/yocto-queue/package.json | 47 - node_modules/yocto-queue/readme.md | 64 - package.json | 4 +- 869 files changed, 49089 insertions(+), 56898 deletions(-) create mode 100644 node_modules/@actions/core/lib/command.d.ts create mode 100644 node_modules/@actions/core/lib/command.js create mode 100644 node_modules/@actions/core/lib/command.js.map create mode 100644 node_modules/@actions/core/lib/core.d.ts create mode 100644 node_modules/@actions/core/lib/core.js create mode 100644 node_modules/@actions/core/lib/core.js.map create mode 100644 node_modules/@actions/core/lib/file-command.d.ts create mode 100644 node_modules/@actions/core/lib/file-command.js create mode 100644 node_modules/@actions/core/lib/file-command.js.map create mode 100644 node_modules/@actions/core/lib/oidc-utils.d.ts create mode 100644 node_modules/@actions/core/lib/oidc-utils.js create mode 100644 node_modules/@actions/core/lib/oidc-utils.js.map create mode 100644 node_modules/@actions/core/lib/utils.d.ts create mode 100644 node_modules/@actions/core/lib/utils.js create mode 100644 node_modules/@actions/core/lib/utils.js.map create mode 100644 node_modules/@actions/exec/lib/exec.d.ts create mode 100644 node_modules/@actions/exec/lib/exec.js create mode 100644 node_modules/@actions/exec/lib/exec.js.map create mode 100644 node_modules/@actions/exec/lib/interfaces.d.ts rename node_modules/{ts-node/dist/tsconfig-schema.js => @actions/exec/lib/interfaces.js} (64%) create mode 100644 node_modules/@actions/exec/lib/interfaces.js.map create mode 100644 node_modules/@actions/exec/lib/toolrunner.d.ts create mode 100644 node_modules/@actions/exec/lib/toolrunner.js create mode 100644 node_modules/@actions/exec/lib/toolrunner.js.map create mode 100644 node_modules/@actions/io/lib/io-util.d.ts create mode 100644 node_modules/@actions/io/lib/io-util.js create mode 100644 node_modules/@actions/io/lib/io-util.js.map create mode 100644 node_modules/@actions/io/lib/io.d.ts create mode 100644 node_modules/@actions/io/lib/io.js create mode 100644 node_modules/@actions/io/lib/io.js.map create mode 100644 node_modules/@babel/code-frame/lib/index.js create mode 100644 node_modules/@babel/helper-validator-identifier/lib/identifier.js create mode 100644 node_modules/@babel/helper-validator-identifier/lib/index.js create mode 100644 node_modules/@babel/helper-validator-identifier/lib/keyword.js create mode 100644 node_modules/@babel/highlight/lib/index.js delete mode 100644 node_modules/@commitlint/cli/CHANGELOG.md delete mode 100644 node_modules/@commitlint/cli/README.md delete mode 100755 node_modules/@commitlint/cli/cli.js delete mode 100644 node_modules/@commitlint/cli/index.js delete mode 100644 node_modules/@commitlint/cli/license.md delete mode 100644 node_modules/@commitlint/cli/package.json delete mode 100644 node_modules/@commitlint/config-conventional/CHANGELOG.md delete mode 100644 node_modules/@commitlint/config-conventional/README.md delete mode 100644 node_modules/@commitlint/config-conventional/index.js delete mode 100644 node_modules/@commitlint/config-conventional/license.md delete mode 100644 node_modules/@commitlint/config-conventional/package.json delete mode 100644 node_modules/@commitlint/ensure/CHANGELOG.md delete mode 100644 node_modules/@commitlint/ensure/license.md delete mode 100644 node_modules/@commitlint/ensure/package.json delete mode 100644 node_modules/@commitlint/execute-rule/CHANGELOG.md delete mode 100644 node_modules/@commitlint/execute-rule/license.md delete mode 100644 node_modules/@commitlint/execute-rule/package.json delete mode 100644 node_modules/@commitlint/format/CHANGELOG.md delete mode 100644 node_modules/@commitlint/format/README.md delete mode 100644 node_modules/@commitlint/format/license.md delete mode 100644 node_modules/@commitlint/format/node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/@commitlint/format/node_modules/ansi-styles/index.js delete mode 100644 node_modules/@commitlint/format/node_modules/ansi-styles/license delete mode 100644 node_modules/@commitlint/format/node_modules/ansi-styles/package.json delete mode 100644 node_modules/@commitlint/format/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/index.d.ts delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/license delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/package.json delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/readme.md delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/source/index.js delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/source/templates.js delete mode 100644 node_modules/@commitlint/format/node_modules/chalk/source/util.js delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/LICENSE delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/README.md delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/conversions.js delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/index.js delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/package.json delete mode 100644 node_modules/@commitlint/format/node_modules/color-convert/route.js delete mode 100644 node_modules/@commitlint/format/node_modules/color-name/LICENSE delete mode 100644 node_modules/@commitlint/format/node_modules/color-name/README.md delete mode 100644 node_modules/@commitlint/format/node_modules/color-name/index.js delete mode 100644 node_modules/@commitlint/format/node_modules/color-name/package.json delete mode 100644 node_modules/@commitlint/format/node_modules/has-flag/index.d.ts delete mode 100644 node_modules/@commitlint/format/node_modules/has-flag/index.js delete mode 100644 node_modules/@commitlint/format/node_modules/has-flag/license delete mode 100644 node_modules/@commitlint/format/node_modules/has-flag/package.json delete mode 100644 node_modules/@commitlint/format/node_modules/has-flag/readme.md delete mode 100644 node_modules/@commitlint/format/node_modules/supports-color/browser.js delete mode 100644 node_modules/@commitlint/format/node_modules/supports-color/index.js delete mode 100644 node_modules/@commitlint/format/node_modules/supports-color/license delete mode 100644 node_modules/@commitlint/format/node_modules/supports-color/package.json delete mode 100644 node_modules/@commitlint/format/node_modules/supports-color/readme.md delete mode 100644 node_modules/@commitlint/format/package.json delete mode 100644 node_modules/@commitlint/is-ignored/CHANGELOG.md delete mode 100644 node_modules/@commitlint/is-ignored/license.md delete mode 100644 node_modules/@commitlint/is-ignored/package.json delete mode 100644 node_modules/@commitlint/lint/CHANGELOG.md delete mode 100644 node_modules/@commitlint/lint/README.md delete mode 100644 node_modules/@commitlint/lint/license.md delete mode 100644 node_modules/@commitlint/lint/package.json delete mode 100644 node_modules/@commitlint/load/CHANGELOG.md delete mode 100644 node_modules/@commitlint/load/README.md delete mode 100644 node_modules/@commitlint/load/license.md delete mode 100644 node_modules/@commitlint/load/node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/@commitlint/load/node_modules/ansi-styles/index.js delete mode 100644 node_modules/@commitlint/load/node_modules/ansi-styles/license delete mode 100644 node_modules/@commitlint/load/node_modules/ansi-styles/package.json delete mode 100644 node_modules/@commitlint/load/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/index.d.ts delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/license delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/package.json delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/readme.md delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/source/index.js delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/source/templates.js delete mode 100644 node_modules/@commitlint/load/node_modules/chalk/source/util.js delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/LICENSE delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/README.md delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/conversions.js delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/index.js delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/package.json delete mode 100644 node_modules/@commitlint/load/node_modules/color-convert/route.js delete mode 100644 node_modules/@commitlint/load/node_modules/color-name/LICENSE delete mode 100644 node_modules/@commitlint/load/node_modules/color-name/README.md delete mode 100644 node_modules/@commitlint/load/node_modules/color-name/index.js delete mode 100644 node_modules/@commitlint/load/node_modules/color-name/package.json delete mode 100644 node_modules/@commitlint/load/node_modules/has-flag/index.d.ts delete mode 100644 node_modules/@commitlint/load/node_modules/has-flag/index.js delete mode 100644 node_modules/@commitlint/load/node_modules/has-flag/license delete mode 100644 node_modules/@commitlint/load/node_modules/has-flag/package.json delete mode 100644 node_modules/@commitlint/load/node_modules/has-flag/readme.md delete mode 100644 node_modules/@commitlint/load/node_modules/supports-color/browser.js delete mode 100644 node_modules/@commitlint/load/node_modules/supports-color/index.js delete mode 100644 node_modules/@commitlint/load/node_modules/supports-color/license delete mode 100644 node_modules/@commitlint/load/node_modules/supports-color/package.json delete mode 100644 node_modules/@commitlint/load/node_modules/supports-color/readme.md delete mode 100644 node_modules/@commitlint/load/package.json delete mode 100644 node_modules/@commitlint/message/CHANGELOG.md delete mode 100644 node_modules/@commitlint/message/license.md delete mode 100644 node_modules/@commitlint/message/package.json delete mode 100644 node_modules/@commitlint/parse/CHANGELOG.md delete mode 100644 node_modules/@commitlint/parse/README.md delete mode 100644 node_modules/@commitlint/parse/license.md delete mode 100644 node_modules/@commitlint/parse/package.json delete mode 100644 node_modules/@commitlint/read/CHANGELOG.md delete mode 100644 node_modules/@commitlint/read/README.md delete mode 100644 node_modules/@commitlint/read/license.md delete mode 100644 node_modules/@commitlint/read/package.json delete mode 100644 node_modules/@commitlint/resolve-extends/CHANGELOG.md delete mode 100644 node_modules/@commitlint/resolve-extends/license.md delete mode 100644 node_modules/@commitlint/resolve-extends/package.json delete mode 100644 node_modules/@commitlint/rules/CHANGELOG.md delete mode 100644 node_modules/@commitlint/rules/license.md delete mode 100644 node_modules/@commitlint/rules/package.json delete mode 100644 node_modules/@commitlint/to-lines/CHANGELOG.md delete mode 100644 node_modules/@commitlint/to-lines/license.md delete mode 100644 node_modules/@commitlint/to-lines/package.json delete mode 100644 node_modules/@commitlint/top-level/CHANGELOG.md delete mode 100644 node_modules/@commitlint/top-level/license.md delete mode 100644 node_modules/@commitlint/top-level/node_modules/find-up/index.d.ts delete mode 100644 node_modules/@commitlint/top-level/node_modules/find-up/index.js delete mode 100644 node_modules/@commitlint/top-level/node_modules/find-up/license delete mode 100644 node_modules/@commitlint/top-level/node_modules/find-up/package.json delete mode 100644 node_modules/@commitlint/top-level/node_modules/find-up/readme.md delete mode 100644 node_modules/@commitlint/top-level/node_modules/locate-path/index.d.ts delete mode 100644 node_modules/@commitlint/top-level/node_modules/locate-path/index.js delete mode 100644 node_modules/@commitlint/top-level/node_modules/locate-path/license delete mode 100644 node_modules/@commitlint/top-level/node_modules/locate-path/package.json delete mode 100644 node_modules/@commitlint/top-level/node_modules/locate-path/readme.md delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-limit/index.d.ts delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-limit/index.js delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-limit/license delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-limit/package.json delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-limit/readme.md delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-locate/index.d.ts delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-locate/index.js delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-locate/license delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-locate/package.json delete mode 100644 node_modules/@commitlint/top-level/node_modules/p-locate/readme.md delete mode 100644 node_modules/@commitlint/top-level/package.json delete mode 100644 node_modules/@commitlint/types/CHANGELOG.md delete mode 100644 node_modules/@commitlint/types/license.md delete mode 100644 node_modules/@commitlint/types/node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/@commitlint/types/node_modules/ansi-styles/index.js delete mode 100644 node_modules/@commitlint/types/node_modules/ansi-styles/license delete mode 100644 node_modules/@commitlint/types/node_modules/ansi-styles/package.json delete mode 100644 node_modules/@commitlint/types/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/index.d.ts delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/license delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/package.json delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/readme.md delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/source/index.js delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/source/templates.js delete mode 100644 node_modules/@commitlint/types/node_modules/chalk/source/util.js delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/LICENSE delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/README.md delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/conversions.js delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/index.js delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/package.json delete mode 100644 node_modules/@commitlint/types/node_modules/color-convert/route.js delete mode 100644 node_modules/@commitlint/types/node_modules/color-name/LICENSE delete mode 100644 node_modules/@commitlint/types/node_modules/color-name/README.md delete mode 100644 node_modules/@commitlint/types/node_modules/color-name/index.js delete mode 100644 node_modules/@commitlint/types/node_modules/color-name/package.json delete mode 100644 node_modules/@commitlint/types/node_modules/has-flag/index.d.ts delete mode 100644 node_modules/@commitlint/types/node_modules/has-flag/index.js delete mode 100644 node_modules/@commitlint/types/node_modules/has-flag/license delete mode 100644 node_modules/@commitlint/types/node_modules/has-flag/package.json delete mode 100644 node_modules/@commitlint/types/node_modules/has-flag/readme.md delete mode 100644 node_modules/@commitlint/types/node_modules/supports-color/browser.js delete mode 100644 node_modules/@commitlint/types/node_modules/supports-color/index.js delete mode 100644 node_modules/@commitlint/types/node_modules/supports-color/license delete mode 100644 node_modules/@commitlint/types/node_modules/supports-color/package.json delete mode 100644 node_modules/@commitlint/types/node_modules/supports-color/readme.md delete mode 100644 node_modules/@commitlint/types/package.json delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/CHANGELOG.md delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/LICENSE delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/README.md delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/dist/Errors/TypeScriptCompileError.d.ts delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/dist/Errors/TypeScriptCompileError.js delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/dist/Errors/TypeScriptCompileError.js.map delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/dist/index.d.ts delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/dist/index.js delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/dist/index.js.map delete mode 100644 node_modules/@endemolshinegroup/cosmiconfig-typescript-loader/package.json create mode 100755 node_modules/@iarna/toml/lib/create-date.js create mode 100755 node_modules/@iarna/toml/lib/create-datetime-float.js create mode 100755 node_modules/@iarna/toml/lib/create-datetime.js create mode 100755 node_modules/@iarna/toml/lib/create-time.js create mode 100755 node_modules/@iarna/toml/lib/format-num.js create mode 100755 node_modules/@iarna/toml/lib/parser-debug.js create mode 100755 node_modules/@iarna/toml/lib/parser.js create mode 100755 node_modules/@iarna/toml/lib/toml-parser.js delete mode 100644 node_modules/@types/parse-json/LICENSE delete mode 100644 node_modules/@types/parse-json/README.md delete mode 100644 node_modules/@types/parse-json/index.d.ts delete mode 100644 node_modules/@types/parse-json/package.json delete mode 100644 node_modules/@vercel/ncc/LICENSE delete mode 100644 node_modules/@vercel/ncc/dist/ncc/@@notfound.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/LICENSES.txt delete mode 100644 node_modules/@vercel/ncc/dist/ncc/buildin/readme.md delete mode 100755 node_modules/@vercel/ncc/dist/ncc/cli.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/cli.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/index.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/index.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/index.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/readme.md delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/loaders/uncacheable.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/mappings.wasm delete mode 100644 node_modules/@vercel/ncc/dist/ncc/readme.md delete mode 100644 node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js.cache delete mode 100644 node_modules/@vercel/ncc/dist/ncc/sourcemap-register.js.cache.js delete mode 100644 node_modules/@vercel/ncc/dist/ncc/typescript.js delete mode 100644 node_modules/@vercel/ncc/dist/readme.md delete mode 100644 node_modules/@vercel/ncc/package.json delete mode 100644 node_modules/@vercel/ncc/readme.md delete mode 100644 node_modules/arg/LICENSE.md delete mode 100644 node_modules/arg/README.md delete mode 100644 node_modules/arg/index.d.ts delete mode 100644 node_modules/arg/index.js delete mode 100644 node_modules/arg/package.json delete mode 100644 node_modules/callsites/index.d.ts delete mode 100644 node_modules/callsites/index.js delete mode 100644 node_modules/callsites/license delete mode 100644 node_modules/callsites/package.json delete mode 100644 node_modules/callsites/readme.md delete mode 100644 node_modules/ci-info/CHANGELOG.md delete mode 100644 node_modules/ci-info/LICENSE delete mode 100644 node_modules/ci-info/README.md delete mode 100644 node_modules/ci-info/index.js delete mode 100644 node_modules/ci-info/package.json delete mode 100644 node_modules/ci-info/vendors.json delete mode 100644 node_modules/cliui/CHANGELOG.md delete mode 100644 node_modules/cliui/LICENSE.txt delete mode 100644 node_modules/cliui/README.md delete mode 100644 node_modules/cliui/index.mjs delete mode 100644 node_modules/cliui/package.json delete mode 100644 node_modules/compare-versions/CHANGELOG.md delete mode 100644 node_modules/compare-versions/LICENSE delete mode 100644 node_modules/compare-versions/README.md delete mode 100644 node_modules/compare-versions/index.d.ts delete mode 100644 node_modules/compare-versions/index.js delete mode 100644 node_modules/compare-versions/package.json create mode 100644 node_modules/conventional-changelog-core/lib/merge-config.js create mode 100644 node_modules/conventional-changelog-writer/lib/util.js create mode 100644 node_modules/conventional-commits-parser/lib/parser.js create mode 100644 node_modules/conventional-commits-parser/lib/regex.js create mode 100644 node_modules/core-util-is/lib/util.js delete mode 100644 node_modules/cosmiconfig/CHANGELOG.md delete mode 100644 node_modules/cosmiconfig/LICENSE delete mode 100644 node_modules/cosmiconfig/README.md delete mode 100644 node_modules/cosmiconfig/dist/Explorer.d.ts delete mode 100644 node_modules/cosmiconfig/dist/Explorer.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/Explorer.js delete mode 100644 node_modules/cosmiconfig/dist/Explorer.js.map delete mode 100644 node_modules/cosmiconfig/dist/ExplorerBase.d.ts delete mode 100644 node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/ExplorerBase.js delete mode 100644 node_modules/cosmiconfig/dist/ExplorerBase.js.map delete mode 100644 node_modules/cosmiconfig/dist/ExplorerSync.d.ts delete mode 100644 node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/ExplorerSync.js delete mode 100644 node_modules/cosmiconfig/dist/ExplorerSync.js.map delete mode 100644 node_modules/cosmiconfig/dist/cacheWrapper.d.ts delete mode 100644 node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/cacheWrapper.js delete mode 100644 node_modules/cosmiconfig/dist/cacheWrapper.js.map delete mode 100644 node_modules/cosmiconfig/dist/getDirectory.d.ts delete mode 100644 node_modules/cosmiconfig/dist/getDirectory.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/getDirectory.js delete mode 100644 node_modules/cosmiconfig/dist/getDirectory.js.map delete mode 100644 node_modules/cosmiconfig/dist/getPropertyByPath.d.ts delete mode 100644 node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/getPropertyByPath.js delete mode 100644 node_modules/cosmiconfig/dist/getPropertyByPath.js.map delete mode 100644 node_modules/cosmiconfig/dist/index.d.ts delete mode 100644 node_modules/cosmiconfig/dist/index.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/index.js delete mode 100644 node_modules/cosmiconfig/dist/index.js.map delete mode 100644 node_modules/cosmiconfig/dist/loaders.d.ts delete mode 100644 node_modules/cosmiconfig/dist/loaders.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/loaders.js delete mode 100644 node_modules/cosmiconfig/dist/loaders.js.map delete mode 100644 node_modules/cosmiconfig/dist/readFile.d.ts delete mode 100644 node_modules/cosmiconfig/dist/readFile.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/readFile.js delete mode 100644 node_modules/cosmiconfig/dist/readFile.js.map delete mode 100644 node_modules/cosmiconfig/dist/types.d.ts delete mode 100644 node_modules/cosmiconfig/dist/types.d.ts.map delete mode 100644 node_modules/cosmiconfig/dist/types.js delete mode 100644 node_modules/cosmiconfig/dist/types.js.map delete mode 100644 node_modules/cosmiconfig/node_modules/path-type/index.d.ts delete mode 100644 node_modules/cosmiconfig/node_modules/path-type/index.js delete mode 100644 node_modules/cosmiconfig/node_modules/path-type/license delete mode 100644 node_modules/cosmiconfig/node_modules/path-type/package.json delete mode 100644 node_modules/cosmiconfig/node_modules/path-type/readme.md delete mode 100644 node_modules/cosmiconfig/package.json delete mode 100644 node_modules/create-require/CHANGELOG.md delete mode 100644 node_modules/create-require/LICENSE delete mode 100644 node_modules/create-require/README.md delete mode 100644 node_modules/create-require/create-require.d.ts delete mode 100644 node_modules/create-require/create-require.js delete mode 100644 node_modules/create-require/package.json delete mode 100644 node_modules/cross-spawn/CHANGELOG.md delete mode 100644 node_modules/cross-spawn/LICENSE delete mode 100644 node_modules/cross-spawn/README.md delete mode 100644 node_modules/cross-spawn/index.js delete mode 100644 node_modules/cross-spawn/package.json create mode 100644 node_modules/dateformat/lib/dateformat.js delete mode 100644 node_modules/diff/CONTRIBUTING.md delete mode 100644 node_modules/diff/LICENSE delete mode 100644 node_modules/diff/README.md delete mode 100644 node_modules/diff/dist/diff.js delete mode 100644 node_modules/diff/dist/diff.min.js delete mode 100644 node_modules/diff/package.json delete mode 100644 node_modules/diff/release-notes.md delete mode 100644 node_modules/diff/runtime.js delete mode 100644 node_modules/execa/index.d.ts delete mode 100644 node_modules/execa/index.js delete mode 100644 node_modules/execa/license delete mode 100644 node_modules/execa/package.json delete mode 100644 node_modules/execa/readme.md delete mode 100644 node_modules/find-versions/index.d.ts delete mode 100644 node_modules/find-versions/index.js delete mode 100644 node_modules/find-versions/license delete mode 100644 node_modules/find-versions/package.json delete mode 100644 node_modules/find-versions/readme.md delete mode 100644 node_modules/fs-extra/CHANGELOG.md delete mode 100644 node_modules/fs-extra/LICENSE delete mode 100644 node_modules/fs-extra/README.md delete mode 100644 node_modules/fs-extra/package.json rename node_modules/{cliui/build/index.cjs => get-pkg-repo/node_modules/cliui/build/lib/index.js} (96%) create mode 100644 node_modules/get-pkg-repo/node_modules/cliui/build/lib/string-utils.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/_stream_readable.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/_stream_transform.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/_stream_writable.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/internal/streams/BufferList.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/internal/streams/destroy.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/internal/streams/stream-browser.js create mode 100644 node_modules/get-pkg-repo/node_modules/readable-stream/lib/internal/streams/stream.js create mode 100644 node_modules/get-pkg-repo/node_modules/string_decoder/lib/string_decoder.js create mode 100644 node_modules/get-pkg-repo/node_modules/y18n/build/lib/cjs.js rename node_modules/{y18n/build/index.cjs => get-pkg-repo/node_modules/y18n/build/lib/index.js} (91%) create mode 100644 node_modules/get-pkg-repo/node_modules/y18n/build/lib/platform-shims/node.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/argsert.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/command.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/completion-templates.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/completion.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/middleware.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/parse-command.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/typings/common-types.js rename node_modules/{ts-node/dist/index.spec.d.ts => get-pkg-repo/node_modules/yargs/build/lib/typings/yargs-parser-types.js} (100%) create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/usage.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/apply-extends.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/is-promise.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/levenshtein.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/obj-filter.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/process-argv.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/set-blocking.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/utils/which-module.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/validation.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/yargs-factory.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/build/lib/yerror.js create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/lib/platform-shims/browser.mjs create mode 100644 node_modules/get-pkg-repo/node_modules/yargs/lib/platform-shims/esm.mjs delete mode 100644 node_modules/get-stream/buffer-stream.js delete mode 100644 node_modules/get-stream/index.d.ts delete mode 100644 node_modules/get-stream/index.js delete mode 100644 node_modules/get-stream/license delete mode 100644 node_modules/get-stream/package.json delete mode 100644 node_modules/get-stream/readme.md delete mode 100644 node_modules/global-dirs/index.js delete mode 100644 node_modules/global-dirs/license delete mode 100644 node_modules/global-dirs/package.json delete mode 100644 node_modules/global-dirs/readme.md create mode 100644 node_modules/handlebars/lib/handlebars.js create mode 100644 node_modules/handlebars/lib/handlebars.runtime.js create mode 100644 node_modules/handlebars/lib/handlebars/base.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/ast.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/base.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/code-gen.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/compiler.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/helpers.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/parser.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/printer.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/visitor.js create mode 100644 node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js create mode 100644 node_modules/handlebars/lib/handlebars/decorators.js create mode 100644 node_modules/handlebars/lib/handlebars/decorators/inline.js create mode 100644 node_modules/handlebars/lib/handlebars/exception.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/each.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/helper-missing.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/if.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/log.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/lookup.js create mode 100644 node_modules/handlebars/lib/handlebars/helpers/with.js create mode 100644 node_modules/handlebars/lib/handlebars/internal/create-new-lookup-object.js create mode 100644 node_modules/handlebars/lib/handlebars/internal/proto-access.js create mode 100644 node_modules/handlebars/lib/handlebars/internal/wrapHelper.js create mode 100644 node_modules/handlebars/lib/handlebars/logger.js create mode 100644 node_modules/handlebars/lib/handlebars/no-conflict.js create mode 100644 node_modules/handlebars/lib/handlebars/runtime.js create mode 100644 node_modules/handlebars/lib/handlebars/safe-string.js create mode 100644 node_modules/handlebars/lib/handlebars/utils.js create mode 100644 node_modules/handlebars/lib/index.js create mode 100644 node_modules/handlebars/lib/precompiler.js delete mode 100644 node_modules/human-signals/CHANGELOG.md delete mode 100644 node_modules/human-signals/LICENSE delete mode 100644 node_modules/human-signals/README.md delete mode 100644 node_modules/human-signals/build/src/core.js delete mode 100644 node_modules/human-signals/build/src/core.js.map delete mode 100644 node_modules/human-signals/build/src/main.d.ts delete mode 100644 node_modules/human-signals/build/src/main.js delete mode 100644 node_modules/human-signals/build/src/main.js.map delete mode 100644 node_modules/human-signals/build/src/realtime.js delete mode 100644 node_modules/human-signals/build/src/realtime.js.map delete mode 100644 node_modules/human-signals/build/src/signals.js delete mode 100644 node_modules/human-signals/build/src/signals.js.map delete mode 100644 node_modules/human-signals/package.json delete mode 100644 node_modules/husky/.husky/_/husky.sh delete mode 100644 node_modules/husky/CHANGELOG.md delete mode 100644 node_modules/husky/LICENSE delete mode 100644 node_modules/husky/README.md delete mode 100755 node_modules/husky/bin/run.js delete mode 100644 node_modules/husky/husky.js delete mode 100644 node_modules/husky/node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/husky/node_modules/ansi-styles/index.js delete mode 100644 node_modules/husky/node_modules/ansi-styles/license delete mode 100644 node_modules/husky/node_modules/ansi-styles/package.json delete mode 100644 node_modules/husky/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/husky/node_modules/chalk/index.d.ts delete mode 100644 node_modules/husky/node_modules/chalk/license delete mode 100644 node_modules/husky/node_modules/chalk/package.json delete mode 100644 node_modules/husky/node_modules/chalk/readme.md delete mode 100644 node_modules/husky/node_modules/chalk/source/index.js delete mode 100644 node_modules/husky/node_modules/chalk/source/templates.js delete mode 100644 node_modules/husky/node_modules/chalk/source/util.js delete mode 100644 node_modules/husky/node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/husky/node_modules/color-convert/LICENSE delete mode 100644 node_modules/husky/node_modules/color-convert/README.md delete mode 100644 node_modules/husky/node_modules/color-convert/conversions.js delete mode 100644 node_modules/husky/node_modules/color-convert/index.js delete mode 100644 node_modules/husky/node_modules/color-convert/package.json delete mode 100644 node_modules/husky/node_modules/color-convert/route.js delete mode 100644 node_modules/husky/node_modules/color-name/LICENSE delete mode 100644 node_modules/husky/node_modules/color-name/README.md delete mode 100644 node_modules/husky/node_modules/color-name/index.js delete mode 100644 node_modules/husky/node_modules/color-name/package.json delete mode 100644 node_modules/husky/node_modules/has-flag/index.d.ts delete mode 100644 node_modules/husky/node_modules/has-flag/index.js delete mode 100644 node_modules/husky/node_modules/has-flag/license delete mode 100644 node_modules/husky/node_modules/has-flag/package.json delete mode 100644 node_modules/husky/node_modules/has-flag/readme.md delete mode 100644 node_modules/husky/node_modules/supports-color/browser.js delete mode 100644 node_modules/husky/node_modules/supports-color/index.js delete mode 100644 node_modules/husky/node_modules/supports-color/license delete mode 100644 node_modules/husky/node_modules/supports-color/package.json delete mode 100644 node_modules/husky/node_modules/supports-color/readme.md delete mode 100644 node_modules/husky/package.json delete mode 100644 node_modules/husky/sh/husky.sh delete mode 100644 node_modules/import-fresh/index.d.ts delete mode 100644 node_modules/import-fresh/index.js delete mode 100644 node_modules/import-fresh/license delete mode 100644 node_modules/import-fresh/node_modules/resolve-from/index.js delete mode 100644 node_modules/import-fresh/node_modules/resolve-from/license delete mode 100644 node_modules/import-fresh/node_modules/resolve-from/package.json delete mode 100644 node_modules/import-fresh/node_modules/resolve-from/readme.md delete mode 100644 node_modules/import-fresh/package.json delete mode 100644 node_modules/import-fresh/readme.md delete mode 100644 node_modules/is-stream/index.d.ts delete mode 100644 node_modules/is-stream/index.js delete mode 100644 node_modules/is-stream/license delete mode 100644 node_modules/is-stream/package.json delete mode 100644 node_modules/is-stream/readme.md delete mode 100644 node_modules/isexe/.npmignore delete mode 100644 node_modules/isexe/LICENSE delete mode 100644 node_modules/isexe/README.md delete mode 100644 node_modules/isexe/index.js delete mode 100644 node_modules/isexe/mode.js delete mode 100644 node_modules/isexe/package.json delete mode 100644 node_modules/isexe/test/basic.js delete mode 100644 node_modules/isexe/windows.js delete mode 100644 node_modules/jsonfile/CHANGELOG.md delete mode 100644 node_modules/jsonfile/LICENSE delete mode 100644 node_modules/jsonfile/README.md delete mode 100644 node_modules/jsonfile/index.js delete mode 100644 node_modules/jsonfile/package.json delete mode 100644 node_modules/jsonfile/utils.js delete mode 100644 node_modules/lodash.get/LICENSE delete mode 100644 node_modules/lodash.get/README.md delete mode 100644 node_modules/lodash.get/index.js delete mode 100644 node_modules/lodash.get/package.json delete mode 100644 node_modules/make-error/LICENSE delete mode 100644 node_modules/make-error/README.md delete mode 100644 node_modules/make-error/dist/make-error.js delete mode 100644 node_modules/make-error/index.d.ts delete mode 100644 node_modules/make-error/index.js delete mode 100644 node_modules/make-error/package.json create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/extract_description.js create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/fixer.js create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/make_warning.js create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/normalize.js create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/safe_format.js create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/typos.json create mode 100644 node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data/lib/warning_messages.json delete mode 100644 node_modules/merge-stream/LICENSE delete mode 100644 node_modules/merge-stream/README.md delete mode 100644 node_modules/merge-stream/index.js delete mode 100644 node_modules/merge-stream/package.json delete mode 100644 node_modules/mimic-fn/index.d.ts delete mode 100644 node_modules/mimic-fn/index.js delete mode 100644 node_modules/mimic-fn/license delete mode 100644 node_modules/mimic-fn/package.json delete mode 100644 node_modules/mimic-fn/readme.md create mode 100644 node_modules/normalize-package-data/lib/extract_description.js create mode 100644 node_modules/normalize-package-data/lib/fixer.js create mode 100644 node_modules/normalize-package-data/lib/make_warning.js create mode 100644 node_modules/normalize-package-data/lib/normalize.js create mode 100644 node_modules/normalize-package-data/lib/safe_format.js create mode 100644 node_modules/normalize-package-data/lib/typos.json create mode 100644 node_modules/normalize-package-data/lib/warning_messages.json delete mode 100644 node_modules/npm-run-path/index.d.ts delete mode 100644 node_modules/npm-run-path/index.js delete mode 100644 node_modules/npm-run-path/license delete mode 100644 node_modules/npm-run-path/package.json delete mode 100644 node_modules/npm-run-path/readme.md delete mode 100644 node_modules/onetime/index.d.ts delete mode 100644 node_modules/onetime/index.js delete mode 100644 node_modules/onetime/license delete mode 100644 node_modules/onetime/package.json delete mode 100644 node_modules/onetime/readme.md delete mode 100644 node_modules/opencollective-postinstall/LICENSE delete mode 100644 node_modules/opencollective-postinstall/README.md delete mode 100755 node_modules/opencollective-postinstall/index.js delete mode 100644 node_modules/opencollective-postinstall/package.json delete mode 100644 node_modules/parent-module/index.js delete mode 100644 node_modules/parent-module/license delete mode 100644 node_modules/parent-module/package.json delete mode 100644 node_modules/parent-module/readme.md delete mode 100644 node_modules/path-key/index.d.ts delete mode 100644 node_modules/path-key/index.js delete mode 100644 node_modules/path-key/license delete mode 100644 node_modules/path-key/package.json delete mode 100644 node_modules/path-key/readme.md delete mode 100644 node_modules/pkg-dir/index.d.ts delete mode 100644 node_modules/pkg-dir/index.js delete mode 100644 node_modules/pkg-dir/license delete mode 100644 node_modules/pkg-dir/package.json delete mode 100644 node_modules/pkg-dir/readme.md delete mode 100644 node_modules/please-upgrade-node/.eslintrc.js delete mode 100644 node_modules/please-upgrade-node/.github/FUNDING.yml delete mode 100644 node_modules/please-upgrade-node/LICENSE delete mode 100644 node_modules/please-upgrade-node/README.md delete mode 100644 node_modules/please-upgrade-node/index.d.ts delete mode 100644 node_modules/please-upgrade-node/index.js delete mode 100644 node_modules/please-upgrade-node/package.json create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/extract_description.js create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/fixer.js create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/make_warning.js create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/normalize.js create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/safe_format.js create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/typos.json create mode 100644 node_modules/read-pkg/node_modules/normalize-package-data/lib/warning_messages.json create mode 100644 node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 node_modules/readable-stream/lib/_stream_readable.js create mode 100644 node_modules/readable-stream/lib/_stream_transform.js create mode 100644 node_modules/readable-stream/lib/_stream_writable.js create mode 100644 node_modules/readable-stream/lib/internal/streams/async_iterator.js create mode 100644 node_modules/readable-stream/lib/internal/streams/buffer_list.js create mode 100644 node_modules/readable-stream/lib/internal/streams/destroy.js create mode 100644 node_modules/readable-stream/lib/internal/streams/end-of-stream.js create mode 100644 node_modules/readable-stream/lib/internal/streams/from-browser.js create mode 100644 node_modules/readable-stream/lib/internal/streams/from.js create mode 100644 node_modules/readable-stream/lib/internal/streams/pipeline.js create mode 100644 node_modules/readable-stream/lib/internal/streams/state.js create mode 100644 node_modules/readable-stream/lib/internal/streams/stream-browser.js create mode 100644 node_modules/readable-stream/lib/internal/streams/stream.js delete mode 100644 node_modules/resolve-from/index.d.ts delete mode 100644 node_modules/resolve-from/index.js delete mode 100644 node_modules/resolve-from/license delete mode 100644 node_modules/resolve-from/package.json delete mode 100644 node_modules/resolve-from/readme.md delete mode 100644 node_modules/resolve-global/index.d.ts delete mode 100644 node_modules/resolve-global/index.js delete mode 100644 node_modules/resolve-global/license delete mode 100644 node_modules/resolve-global/package.json delete mode 100644 node_modules/resolve-global/readme.md create mode 100644 node_modules/resolve/lib/async.js create mode 100644 node_modules/resolve/lib/caller.js create mode 100644 node_modules/resolve/lib/core.js create mode 100644 node_modules/resolve/lib/core.json create mode 100644 node_modules/resolve/lib/is-core.js create mode 100644 node_modules/resolve/lib/node-modules-paths.js create mode 100644 node_modules/resolve/lib/normalize-options.js create mode 100644 node_modules/resolve/lib/sync.js create mode 100644 node_modules/resolve/test/resolver/other_path/lib/other-lib.js delete mode 100644 node_modules/semver-compare/.travis.yml delete mode 100644 node_modules/semver-compare/LICENSE delete mode 100644 node_modules/semver-compare/example/cmp.js delete mode 100644 node_modules/semver-compare/example/lex.js delete mode 100644 node_modules/semver-compare/index.js delete mode 100644 node_modules/semver-compare/package.json delete mode 100644 node_modules/semver-compare/readme.markdown delete mode 100644 node_modules/semver-compare/test/cmp.js delete mode 100644 node_modules/semver-regex/index.js delete mode 100644 node_modules/semver-regex/license delete mode 100644 node_modules/semver-regex/package.json delete mode 100644 node_modules/semver-regex/readme.md delete mode 100644 node_modules/shebang-command/index.js delete mode 100644 node_modules/shebang-command/license delete mode 100644 node_modules/shebang-command/package.json delete mode 100644 node_modules/shebang-command/readme.md delete mode 100644 node_modules/shebang-regex/index.d.ts delete mode 100644 node_modules/shebang-regex/index.js delete mode 100644 node_modules/shebang-regex/license delete mode 100644 node_modules/shebang-regex/package.json delete mode 100644 node_modules/shebang-regex/readme.md delete mode 100644 node_modules/signal-exit/LICENSE.txt delete mode 100644 node_modules/signal-exit/README.md delete mode 100644 node_modules/signal-exit/index.js delete mode 100644 node_modules/signal-exit/package.json delete mode 100644 node_modules/signal-exit/signals.js delete mode 100644 node_modules/slash/index.d.ts delete mode 100644 node_modules/slash/index.js delete mode 100644 node_modules/slash/license delete mode 100644 node_modules/slash/package.json delete mode 100644 node_modules/slash/readme.md delete mode 100644 node_modules/source-map-support/LICENSE.md delete mode 100644 node_modules/source-map-support/README.md delete mode 100644 node_modules/source-map-support/browser-source-map-support.js delete mode 100644 node_modules/source-map-support/package.json delete mode 100644 node_modules/source-map-support/register.js delete mode 100644 node_modules/source-map-support/source-map-support.js create mode 100644 node_modules/source-map/lib/array-set.js create mode 100644 node_modules/source-map/lib/base64-vlq.js create mode 100644 node_modules/source-map/lib/base64.js create mode 100644 node_modules/source-map/lib/binary-search.js create mode 100644 node_modules/source-map/lib/mapping-list.js create mode 100644 node_modules/source-map/lib/quick-sort.js create mode 100644 node_modules/source-map/lib/source-map-consumer.js create mode 100644 node_modules/source-map/lib/source-map-generator.js create mode 100644 node_modules/source-map/lib/source-node.js create mode 100644 node_modules/source-map/lib/util.js create mode 100644 node_modules/string_decoder/lib/string_decoder.js delete mode 100644 node_modules/strip-final-newline/index.js delete mode 100644 node_modules/strip-final-newline/license delete mode 100644 node_modules/strip-final-newline/package.json delete mode 100644 node_modules/strip-final-newline/readme.md delete mode 100644 node_modules/ts-node/LICENSE delete mode 100644 node_modules/ts-node/README.md delete mode 100644 node_modules/ts-node/dist-raw/README.md delete mode 100644 node_modules/ts-node/dist-raw/node-cjs-loader-utils.js delete mode 100644 node_modules/ts-node/dist-raw/node-errors.js delete mode 100644 node_modules/ts-node/dist-raw/node-esm-resolve-implementation.js delete mode 100644 node_modules/ts-node/dist-raw/node-internal-fs.js delete mode 100644 node_modules/ts-node/dist-raw/node-options.js delete mode 100644 node_modules/ts-node/dist-raw/node-package-json-reader.js delete mode 100644 node_modules/ts-node/dist-raw/node-primordials.js delete mode 100644 node_modules/ts-node/dist/bin-script-deprecated.d.ts delete mode 100755 node_modules/ts-node/dist/bin-script-deprecated.js delete mode 100644 node_modules/ts-node/dist/bin-script-deprecated.js.map delete mode 100644 node_modules/ts-node/dist/bin-script.d.ts delete mode 100755 node_modules/ts-node/dist/bin-script.js delete mode 100644 node_modules/ts-node/dist/bin-script.js.map delete mode 100644 node_modules/ts-node/dist/bin-transpile.d.ts delete mode 100755 node_modules/ts-node/dist/bin-transpile.js delete mode 100644 node_modules/ts-node/dist/bin-transpile.js.map delete mode 100644 node_modules/ts-node/dist/bin.d.ts delete mode 100755 node_modules/ts-node/dist/bin.js delete mode 100644 node_modules/ts-node/dist/bin.js.map delete mode 100644 node_modules/ts-node/dist/esm.d.ts delete mode 100644 node_modules/ts-node/dist/esm.js delete mode 100644 node_modules/ts-node/dist/esm.js.map delete mode 100644 node_modules/ts-node/dist/index.d.ts delete mode 100644 node_modules/ts-node/dist/index.js delete mode 100644 node_modules/ts-node/dist/index.js.map delete mode 100644 node_modules/ts-node/dist/index.spec.js delete mode 100644 node_modules/ts-node/dist/index.spec.js.map delete mode 100644 node_modules/ts-node/dist/repl.d.ts delete mode 100644 node_modules/ts-node/dist/repl.js delete mode 100644 node_modules/ts-node/dist/repl.js.map delete mode 100644 node_modules/ts-node/dist/tsconfig-schema.d.ts delete mode 100644 node_modules/ts-node/dist/tsconfig-schema.js.map delete mode 100644 node_modules/ts-node/esm.mjs delete mode 100644 node_modules/ts-node/esm/transpile-only.mjs delete mode 100644 node_modules/ts-node/package.json delete mode 100644 node_modules/ts-node/register/files.js delete mode 100644 node_modules/ts-node/register/index.js delete mode 100644 node_modules/ts-node/register/transpile-only.js delete mode 100644 node_modules/ts-node/register/type-check.js delete mode 100644 node_modules/ts-node/tsconfig.schema.json delete mode 100644 node_modules/ts-node/tsconfig.schemastore-schema.json delete mode 100644 node_modules/tslib/CopyrightNotice.txt delete mode 100644 node_modules/tslib/LICENSE.txt delete mode 100644 node_modules/tslib/README.md delete mode 100644 node_modules/tslib/modules/index.js delete mode 100644 node_modules/tslib/modules/package.json delete mode 100644 node_modules/tslib/package.json delete mode 100644 node_modules/tslib/tslib.d.ts delete mode 100644 node_modules/tslib/tslib.es6.html delete mode 100644 node_modules/tslib/tslib.es6.js delete mode 100644 node_modules/tslib/tslib.html delete mode 100644 node_modules/tslib/tslib.js create mode 100644 node_modules/tunnel/lib/tunnel.js create mode 100644 node_modules/uglify-js/lib/ast.js create mode 100644 node_modules/uglify-js/lib/compress.js create mode 100644 node_modules/uglify-js/lib/minify.js create mode 100644 node_modules/uglify-js/lib/mozilla-ast.js create mode 100644 node_modules/uglify-js/lib/output.js create mode 100644 node_modules/uglify-js/lib/parse.js create mode 100644 node_modules/uglify-js/lib/propmangle.js create mode 100644 node_modules/uglify-js/lib/scope.js create mode 100644 node_modules/uglify-js/lib/sourcemap.js create mode 100644 node_modules/uglify-js/lib/transform.js create mode 100644 node_modules/uglify-js/lib/utils.js delete mode 100644 node_modules/universalify/LICENSE delete mode 100644 node_modules/universalify/README.md delete mode 100644 node_modules/universalify/index.js delete mode 100644 node_modules/universalify/package.json delete mode 100644 node_modules/which-pm-runs/LICENSE delete mode 100644 node_modules/which-pm-runs/README.md delete mode 100644 node_modules/which-pm-runs/index.js delete mode 100644 node_modules/which-pm-runs/package.json delete mode 100644 node_modules/which/CHANGELOG.md delete mode 100644 node_modules/which/LICENSE delete mode 100644 node_modules/which/README.md delete mode 100755 node_modules/which/bin/node-which delete mode 100644 node_modules/which/package.json delete mode 100644 node_modules/which/which.js delete mode 100755 node_modules/wrap-ansi/index.js delete mode 100644 node_modules/wrap-ansi/license delete mode 100644 node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts delete mode 100644 node_modules/wrap-ansi/node_modules/ansi-styles/index.js delete mode 100644 node_modules/wrap-ansi/node_modules/ansi-styles/license delete mode 100644 node_modules/wrap-ansi/node_modules/ansi-styles/package.json delete mode 100644 node_modules/wrap-ansi/node_modules/ansi-styles/readme.md delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/CHANGELOG.md delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/LICENSE delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/README.md delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/conversions.js delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/index.js delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/package.json delete mode 100644 node_modules/wrap-ansi/node_modules/color-convert/route.js delete mode 100644 node_modules/wrap-ansi/node_modules/color-name/LICENSE delete mode 100644 node_modules/wrap-ansi/node_modules/color-name/README.md delete mode 100644 node_modules/wrap-ansi/node_modules/color-name/index.js delete mode 100644 node_modules/wrap-ansi/node_modules/color-name/package.json delete mode 100644 node_modules/wrap-ansi/package.json delete mode 100644 node_modules/wrap-ansi/readme.md delete mode 100644 node_modules/y18n/CHANGELOG.md delete mode 100644 node_modules/y18n/LICENSE delete mode 100644 node_modules/y18n/README.md delete mode 100644 node_modules/y18n/index.mjs delete mode 100644 node_modules/y18n/package.json create mode 100644 node_modules/yargs-parser/build/lib/index.js create mode 100644 node_modules/yargs-parser/build/lib/string-utils.js create mode 100644 node_modules/yargs-parser/build/lib/tokenize-arg-string.js create mode 100644 node_modules/yargs-parser/build/lib/yargs-parser-types.js create mode 100644 node_modules/yargs-parser/build/lib/yargs-parser.js delete mode 100644 node_modules/yargs/CHANGELOG.md delete mode 100644 node_modules/yargs/LICENSE delete mode 100644 node_modules/yargs/README.md delete mode 100644 node_modules/yargs/browser.mjs delete mode 100644 node_modules/yargs/build/index.cjs delete mode 100644 node_modules/yargs/helpers/helpers.mjs delete mode 100644 node_modules/yargs/helpers/index.js delete mode 100644 node_modules/yargs/helpers/package.json delete mode 100644 node_modules/yargs/index.cjs delete mode 100644 node_modules/yargs/index.mjs delete mode 100644 node_modules/yargs/locales/be.json delete mode 100644 node_modules/yargs/locales/de.json delete mode 100644 node_modules/yargs/locales/en.json delete mode 100644 node_modules/yargs/locales/es.json delete mode 100644 node_modules/yargs/locales/fi.json delete mode 100644 node_modules/yargs/locales/fr.json delete mode 100644 node_modules/yargs/locales/hi.json delete mode 100644 node_modules/yargs/locales/hu.json delete mode 100644 node_modules/yargs/locales/id.json delete mode 100644 node_modules/yargs/locales/it.json delete mode 100644 node_modules/yargs/locales/ja.json delete mode 100644 node_modules/yargs/locales/ko.json delete mode 100644 node_modules/yargs/locales/nb.json delete mode 100644 node_modules/yargs/locales/nl.json delete mode 100644 node_modules/yargs/locales/nn.json delete mode 100644 node_modules/yargs/locales/pirate.json delete mode 100644 node_modules/yargs/locales/pl.json delete mode 100644 node_modules/yargs/locales/pt.json delete mode 100644 node_modules/yargs/locales/pt_BR.json delete mode 100644 node_modules/yargs/locales/ru.json delete mode 100644 node_modules/yargs/locales/th.json delete mode 100644 node_modules/yargs/locales/tr.json delete mode 100644 node_modules/yargs/locales/uk_UA.json delete mode 100644 node_modules/yargs/locales/uz.json delete mode 100644 node_modules/yargs/locales/zh_CN.json delete mode 100644 node_modules/yargs/locales/zh_TW.json delete mode 100644 node_modules/yargs/package.json delete mode 100644 node_modules/yargs/yargs delete mode 100644 node_modules/yn/index.d.ts delete mode 100644 node_modules/yn/index.js delete mode 100644 node_modules/yn/lenient.js delete mode 100644 node_modules/yn/license delete mode 100644 node_modules/yn/package.json delete mode 100644 node_modules/yn/readme.md delete mode 100644 node_modules/yocto-queue/index.d.ts delete mode 100644 node_modules/yocto-queue/index.js delete mode 100644 node_modules/yocto-queue/license delete mode 100644 node_modules/yocto-queue/package.json delete mode 100644 node_modules/yocto-queue/readme.md diff --git a/CHANGELOG.md b/CHANGELOG.md index fa7e28c..f423c66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [3.9.6](https://github.com/TriPSs/conventional-changelog-action/compare/v3.9.5...v3.9.6) (2021-10-05) + + +### Bug Fixes + +* Redeploy with src/action again ([8977e61](https://github.com/TriPSs/conventional-changelog-action/commit/8977e6168a89eec51d459921bc0a85f7aaa494c6)) + + + ## [3.9.5](https://github.com/TriPSs/conventional-changelog-action/compare/v3.9.4...v3.9.5) (2021-10-05) @@ -34,12 +43,3 @@ -## [3.9.1](https://github.com/TriPSs/conventional-changelog-action/compare/v3.9.0...v3.9.1) (2021-10-05) - - -### Bug Fixes - -* Reformat code so we can release ([0ba6821](https://github.com/TriPSs/conventional-changelog-action/commit/0ba68212f41940954beb406ee679b4e89c792a3a)) - - - diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts new file mode 100644 index 0000000..53f8f4b --- /dev/null +++ b/node_modules/@actions/core/lib/command.d.ts @@ -0,0 +1,15 @@ +export interface CommandProperties { + [key: string]: any; +} +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; +export declare function issue(name: string, message?: string): void; diff --git a/node_modules/@actions/core/lib/command.js b/node_modules/@actions/core/lib/command.js new file mode 100644 index 0000000..0b28c66 --- /dev/null +++ b/node_modules/@actions/core/lib/command.js @@ -0,0 +1,92 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.issue = exports.issueCommand = void 0; +const os = __importStar(require("os")); +const utils_1 = require("./utils"); +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message = '') { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_STRING = '::'; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_STRING + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + let first = true; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + if (first) { + first = false; + } + else { + cmdStr += ','; + } + cmdStr += `${key}=${escapeProperty(val)}`; + } + } + } + } + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; + return cmdStr; + } +} +function escapeData(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); +} +function escapeProperty(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); +} +//# sourceMappingURL=command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/command.js.map b/node_modules/@actions/core/lib/command.js.map new file mode 100644 index 0000000..51c7c63 --- /dev/null +++ b/node_modules/@actions/core/lib/command.js.map @@ -0,0 +1 @@ +{"version":3,"file":"command.js","sourceRo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,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,IAAI,KAAK,EAAE;4BACT,KAAK,GAAG,KAAK,CAAA;yBACd;6BAAM;4BACL,MAAM,IAAI,GAAG,CAAA;yBACd;wBAED,MAAM,IAAI,GAAG,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,EAAE,CAAA;qBAC1C;iBACF;aACF;SACF;QAED,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAA;QACpD,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAM;IACxB,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAC1B,CAAC;AAED,SAAS,cAAc,CAAC,CAAM;IAC5B,OAAO,sBAAc,CAAC,CAAC,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.d.ts b/node_modules/@actions/core/lib/core.d.ts new file mode 100644 index 0000000..356872e --- /dev/null +++ b/node_modules/@actions/core/lib/core.d.ts @@ -0,0 +1,186 @@ +/** + * Interface for getInput options + */ +export interface InputOptions { + /** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */ + required?: boolean; + /** Optional. Whether leading/trailing whitespace will be trimmed for the input. Defaults to true */ + trimWhitespace?: boolean; +} +/** + * The code to exit an action + */ +export declare enum ExitCode { + /** + * A code indicating that the action was successful + */ + Success = 0, + /** + * A code indicating that the action was a failure + */ + Failure = 1 +} +/** + * Optional properties that can be sent with annotatation commands (notice, error, and warning) + * See: https://docs.github.com/en/rest/reference/checks#create-a-check-run for more information about annotations. + */ +export interface AnnotationProperties { + /** + * A title for the annotation. + */ + title?: string; + /** + * The path of the file for which the annotation should be created. + */ + file?: string; + /** + * The start line for the annotation. + */ + startLine?: number; + /** + * The end line for the annotation. Defaults to `startLine` when `startLine` is provided. + */ + endLine?: number; + /** + * The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values. + */ + startColumn?: number; + /** + * The start column for the annotation. Cannot be sent when `startLine` and `endLine` are different values. + * Defaults to `startColumn` when `startColumn` is provided. + */ + endColumn?: number; +} +/** + * Sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify + */ +export declare function exportVariable(name: string, val: any): void; +/** + * Registers a secret which will get masked from logs + * @param secret value of the secret + */ +export declare function setSecret(secret: string): void; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +export declare function addPath(inputPath: string): void; +/** + * Gets the value of an input. + * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. + * Returns an empty string if the value is not defined. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +export declare function getInput(name: string, options?: InputOptions): string; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +export declare function getMultilineInput(name: string, options?: InputOptions): string[]; +/** + * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. + * Support boolean input list: `true | True | TRUE | false | False | FALSE` . + * The return value is also in boolean type. + * ref: https://yaml.org/spec/1.2/spec.html#id2804923 + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns boolean + */ +export declare function getBooleanInput(name: string, options?: InputOptions): boolean; +/** + * Sets the value of an output. + * + * @param name name of the output to set + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +export declare function setOutput(name: string, value: any): void; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +export declare function setCommandEcho(enabled: boolean): void; +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +export declare function setFailed(message: string | Error): void; +/** + * Gets whether Actions Step Debug is on or not + */ +export declare function isDebug(): boolean; +/** + * Writes debug message to user log + * @param message debug message + */ +export declare function debug(message: string): void; +/** + * Adds an error issue + * @param message error issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +export declare function error(message: string | Error, properties?: AnnotationProperties): void; +/** + * Adds a warning issue + * @param message warning issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +export declare function warning(message: string | Error, properties?: AnnotationProperties): void; +/** + * Adds a notice issue + * @param message notice issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +export declare function notice(message: string | Error, properties?: AnnotationProperties): void; +/** + * Writes info to log with console.log. + * @param message info message + */ +export declare function info(message: string): void; +/** + * Begin an output group. + * + * Output until the next `groupEnd` will be foldable in this group + * + * @param name The name of the output group + */ +export declare function startGroup(name: string): void; +/** + * End an output group. + */ +export declare function endGroup(): void; +/** + * Wrap an asynchronous function call in a group. + * + * Returns the same type as the function itself. + * + * @param name The name of the group + * @param fn The function to wrap in the group + */ +export declare function group(name: string, fn: () => Promise): Promise; +/** + * Saves state for current action, the state can only be retrieved by this action's post job execution. + * + * @param name name of the state to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +export declare function saveState(name: string, value: any): void; +/** + * Gets the value of an state set by this action's main execution. + * + * @param name name of the state to get + * @returns string + */ +export declare function getState(name: string): string; +export declare function getIDToken(aud?: string): Promise; diff --git a/node_modules/@actions/core/lib/core.js b/node_modules/@actions/core/lib/core.js new file mode 100644 index 0000000..e0ceced --- /dev/null +++ b/node_modules/@actions/core/lib/core.js @@ -0,0 +1,312 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; +const command_1 = require("./command"); +const file_command_1 = require("./file-command"); +const utils_1 = require("./utils"); +const os = __importStar(require("os")); +const path = __importStar(require("path")); +const oidc_utils_1 = require("./oidc-utils"); +/** + * The code to exit an action + */ +var ExitCode; +(function (ExitCode) { + /** + * A code indicating that the action was successful + */ + ExitCode[ExitCode["Success"] = 0] = "Success"; + /** + * A code indicating that the action was a failure + */ + ExitCode[ExitCode["Failure"] = 1] = "Failure"; +})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); +//----------------------------------------------------------------------- +// Variables +//----------------------------------------------------------------------- +/** + * Sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function exportVariable(name, val) { + const convertedVal = utils_1.toCommandValue(val); + process.env[name] = convertedVal; + const filePath = process.env['GITHUB_ENV'] || ''; + if (filePath) { + const delimiter = '_GitHubActionsFileCommandDelimeter_'; + const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; + file_command_1.issueCommand('ENV', commandValue); + } + else { + command_1.issueCommand('set-env', { name }, convertedVal); + } +} +exports.exportVariable = exportVariable; +/** + * Registers a secret which will get masked from logs + * @param secret value of the secret + */ +function setSecret(secret) { + command_1.issueCommand('add-mask', {}, secret); +} +exports.setSecret = setSecret; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +function addPath(inputPath) { + const filePath = process.env['GITHUB_PATH'] || ''; + if (filePath) { + file_command_1.issueCommand('PATH', inputPath); + } + else { + command_1.issueCommand('add-path', {}, inputPath); + } + process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; +} +exports.addPath = addPath; +/** + * Gets the value of an input. + * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. + * Returns an empty string if the value is not defined. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +function getInput(name, options) { + const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; + if (options && options.required && !val) { + throw new Error(`Input required and not supplied: ${name}`); + } + if (options && options.trimWhitespace === false) { + return val; + } + return val.trim(); +} +exports.getInput = getInput; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +function getMultilineInput(name, options) { + const inputs = getInput(name, options) + .split('\n') + .filter(x => x !== ''); + return inputs; +} +exports.getMultilineInput = getMultilineInput; +/** + * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. + * Support boolean input list: `true | True | TRUE | false | False | FALSE` . + * The return value is also in boolean type. + * ref: https://yaml.org/spec/1.2/spec.html#id2804923 + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns boolean + */ +function getBooleanInput(name, options) { + const trueValue = ['true', 'True', 'TRUE']; + const falseValue = ['false', 'False', 'FALSE']; + const val = getInput(name, options); + if (trueValue.includes(val)) + return true; + if (falseValue.includes(val)) + return false; + throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); +} +exports.getBooleanInput = getBooleanInput; +/** + * Sets the value of an output. + * + * @param name name of the output to set + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function setOutput(name, value) { + process.stdout.write(os.EOL); + command_1.issueCommand('set-output', { name }, value); +} +exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + command_1.issue('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; +//----------------------------------------------------------------------- +// Results +//----------------------------------------------------------------------- +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +function setFailed(message) { + process.exitCode = ExitCode.Failure; + error(message); +} +exports.setFailed = setFailed; +//----------------------------------------------------------------------- +// Logging Commands +//----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; +/** + * Writes debug message to user log + * @param message debug message + */ +function debug(message) { + command_1.issueCommand('debug', {}, message); +} +exports.debug = debug; +/** + * Adds an error issue + * @param message error issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function error(message, properties = {}) { + command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.error = error; +/** + * Adds a warning issue + * @param message warning issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function warning(message, properties = {}) { + command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.warning = warning; +/** + * Adds a notice issue + * @param message notice issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function notice(message, properties = {}) { + command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.notice = notice; +/** + * Writes info to log with console.log. + * @param message info message + */ +function info(message) { + process.stdout.write(message + os.EOL); +} +exports.info = info; +/** + * Begin an output group. + * + * Output until the next `groupEnd` will be foldable in this group + * + * @param name The name of the output group + */ +function startGroup(name) { + command_1.issue('group', name); +} +exports.startGroup = startGroup; +/** + * End an output group. + */ +function endGroup() { + command_1.issue('endgroup'); +} +exports.endGroup = endGroup; +/** + * Wrap an asynchronous function call in a group. + * + * Returns the same type as the function itself. + * + * @param name The name of the group + * @param fn The function to wrap in the group + */ +function group(name, fn) { + return __awaiter(this, void 0, void 0, function* () { + startGroup(name); + let result; + try { + result = yield fn(); + } + finally { + endGroup(); + } + return result; + }); +} +exports.group = group; +//----------------------------------------------------------------------- +// Wrapper action state +//----------------------------------------------------------------------- +/** + * Saves state for current action, the state can only be retrieved by this action's post job execution. + * + * @param name name of the state to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function saveState(name, value) { + command_1.issueCommand('save-state', { name }, value); +} +exports.saveState = saveState; +/** + * Gets the value of an state set by this action's main execution. + * + * @param name name of the state to get + * @returns string + */ +function getState(name) { + return process.env[`STATE_${name}`] || ''; +} +exports.getState = getState; +function getIDToken(aud) { + return __awaiter(this, void 0, void 0, function* () { + return yield oidc_utils_1.OidcClient.getIDToken(aud); + }); +} +exports.getIDToken = getIDToken; +//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/core.js.map b/node_modules/@actions/core/lib/core.js.map new file mode 100644 index 0000000..087a91d --- /dev/null +++ b/node_modules/@actions/core/lib/core.js.map @@ -0,0 +1 @@ +{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAA2D;AAE3D,uCAAwB;AACxB,2CAA4B;AAE5B,6CAAuC;AAavC;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAuCD,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,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EC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC;AAED,SAAsB,UAAU,CAAC,GAAY;;QAC3C,OAAO,MAAM,uBAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;IACzC,CAAC;CAAA;AAFD,gCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.d.ts b/node_modules/@actions/core/lib/file-command.d.ts new file mode 100644 index 0000000..ed408eb --- /dev/null +++ b/node_modules/@actions/core/lib/file-command.d.ts @@ -0,0 +1 @@ +export declare function issueCommand(command: string, message: any): void; diff --git a/node_modules/@actions/core/lib/file-command.js b/node_modules/@actions/core/lib/file-command.js new file mode 100644 index 0000000..55e3e9f --- /dev/null +++ b/node_modules/@actions/core/lib/file-command.js @@ -0,0 +1,42 @@ +"use strict"; +// For internal use, subject to change. +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.issueCommand = void 0; +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +const fs = __importStar(require("fs")); +const os = __importStar(require("os")); +const utils_1 = require("./utils"); +function issueCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error(`Unable to find environment variable for file command ${command}`); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { + encoding: 'utf8' + }); +} +exports.issueCommand = issueCommand; +//# sourceMappingURL=file-command.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/file-command.js.map b/node_modules/@actions/core/lib/file-command.js.map new file mode 100644 index 0000000..ee35699 --- /dev/null +++ b/node_modules/@actions/core/lib/file-command.js.map @@ -0,0 +1 @@ +{"version":3,"file":"file-command.js","sourceRoot":"","sources":["../src/file-command.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;;;;;;;;;;;;;;;;;;;;AAEvC,mCAAmC;AACnC,uDAAuD;AAEvD,uCAAwB;AACxB,uCAAwB;AACxB,mCAAsC;AAEtC,SAAgB,YAAY,CAAC,OAAe,EAAE,OAAY;IACxD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,EAAE,CAAC,CAAA;IACjD,IAAI,CAAC,QAAQ,EAAE;QACb,MAAM,IAAI,KAAK,CACb,wDAAwD,OAAO,EAAE,CAClE,CAAA;KACF;IACD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QAC5B,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,EAAE,CAAC,CAAA;KACrD;IAED,EAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,sBAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;QACjE,QAAQ,EAAE,MAAM;KACjB,CAAC,CAAA;AACJ,CAAC;AAdD,oCAcC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/oidc-utils.d.ts b/node_modules/@actions/core/lib/oidc-utils.d.ts new file mode 100644 index 0000000..657c7f4 --- /dev/null +++ b/node_modules/@actions/core/lib/oidc-utils.d.ts @@ -0,0 +1,7 @@ +export declare class OidcClient { + private static createHttpClient; + private static getRequestToken; + private static getIDTokenUrl; + private static getCall; + static getIDToken(audience?: string): Promise; +} diff --git a/node_modules/@actions/core/lib/oidc-utils.js b/node_modules/@actions/core/lib/oidc-utils.js new file mode 100644 index 0000000..9ee10fa --- /dev/null +++ b/node_modules/@actions/core/lib/oidc-utils.js @@ -0,0 +1,77 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OidcClient = void 0; +const http_client_1 = require("@actions/http-client"); +const auth_1 = require("@actions/http-client/auth"); +const core_1 = require("./core"); +class OidcClient { + static createHttpClient(allowRetry = true, maxRetry = 10) { + const requestOptions = { + allowRetries: allowRetry, + maxRetries: maxRetry + }; + return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions); + } + static getRequestToken() { + const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']; + if (!token) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable'); + } + return token; + } + static getIDTokenUrl() { + const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']; + if (!runtimeUrl) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable'); + } + return runtimeUrl; + } + static getCall(id_token_url) { + var _a; + return __awaiter(this, void 0, void 0, function* () { + const httpclient = OidcClient.createHttpClient(); + const res = yield httpclient + .getJson(id_token_url) + .catch(error => { + throw new Error(`Failed to get ID Token. \n + Error Code : ${error.statusCode}\n + Error Message: ${error.result.message}`); + }); + const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; + if (!id_token) { + throw new Error('Response json body do not have ID Token field'); + } + return id_token; + }); + } + static getIDToken(audience) { + return __awaiter(this, void 0, void 0, function* () { + try { + // New ID Token is requested from action service + let id_token_url = OidcClient.getIDTokenUrl(); + if (audience) { + const encodedAudience = encodeURIComponent(audience); + id_token_url = `${id_token_url}&audience=${encodedAudience}`; + } + core_1.debug(`ID token url is ${id_token_url}`); + const id_token = yield OidcClient.getCall(id_token_url); + core_1.setSecret(id_token); + return id_token; + } + catch (error) { + throw new Error(`Error message: ${error.message}`); + } + }); + } +} +exports.OidcClient = OidcClient; +//# sourceMappingURL=oidc-utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/oidc-utils.js.map b/node_modules/@actions/core/lib/oidc-utils.js.map new file mode 100644 index 0000000..0ddbca9 --- /dev/null +++ b/node_modules/@actions/core/lib/oidc-utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"oidc-utils.js","sourceRoot":"","sources":["../src/oidc-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,sDAA+C;AAC/C,oDAAiE;AACjE,iCAAuC;AAKvC,MAAa,UAAU;IACb,MAAM,CAAC,gBAAgB,CAC7B,UAAU,GAAG,IAAI,EACjB,QAAQ,GAAG,EAAE;QAEb,MAAM,cAAc,GAAoB;YACtC,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,QAAQ;SACrB,CAAA;QAED,OAAO,IAAI,wBAAU,CACnB,qBAAqB,EACrB,CAAC,IAAI,8BAAuB,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,EAC3D,cAAc,CACf,CAAA;IACH,CAAC;IAEO,MAAM,CAAC,eAAe;QAC5B,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAA;QAC3D,IAAI,CAAC,KAAK,EAAE;YACV,MAAM,IAAI,KAAK,CACb,2DAA2D,CAC5D,CAAA;SACF;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAEO,MAAM,CAAC,aAAa;QAC1B,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAA;QAC9D,IAAI,CAAC,UAAU,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAA;SAC3E;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;IAEO,MAAM,CAAO,OAAO,CAAC,YAAoB;;;YAC/C,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,EAAE,CAAA;YAEhD,MAAM,GAAG,GAAG,MAAM,UAAU;iBACzB,OAAO,CAAgB,YAAY,CAAC;iBACpC,KAAK,CAAC,KAAK,CAAC,EAAE;gBACb,MAAM,IAAI,KAAK,CACb;uBACa,KAAK,CAAC,UAAU;yBACd,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CACtC,CAAA;YACH,CAAC,CAAC,CAAA;YAEJ,MAAM,QAAQ,SAAG,GAAG,CAAC,MAAM,0CAAE,KAAK,CAAA;YAClC,IAAI,CAAC,QAAQ,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;aACjE;YACD,OAAO,QAAQ,CAAA;;KAChB;IAED,MAAM,CAAO,UAAU,CAAC,QAAiB;;YACvC,IAAI;gBACF,gDAAgD;gBAChD,IAAI,YAAY,GAAW,UAAU,CAAC,aAAa,EAAE,CAAA;gBACrD,IAAI,QAAQ,EAAE;oBACZ,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;oBACpD,YAAY,GAAG,GAAG,YAAY,aAAa,eAAe,EAAE,CAAA;iBAC7D;gBAED,YAAK,CAAC,mBAAmB,YAAY,EAAE,CAAC,CAAA;gBAExC,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;gBACvD,gBAAS,CAAC,QAAQ,CAAC,CAAA;gBACnB,OAAO,QAAQ,CAAA;aAChB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,IAAI,KAAK,CAAC,kBAAkB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;aACnD;QACH,CAAC;KAAA;CACF;AAzED,gCAyEC"} \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.d.ts b/node_modules/@actions/core/lib/utils.d.ts new file mode 100644 index 0000000..3b9e28d --- /dev/null +++ b/node_modules/@actions/core/lib/utils.d.ts @@ -0,0 +1,14 @@ +import { AnnotationProperties } from './core'; +import { CommandProperties } from './command'; +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +export declare function toCommandValue(input: any): string; +/** + * + * @param annotationProperties + * @returns The command properties to send with the actual annotation command + * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 + */ +export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; diff --git a/node_modules/@actions/core/lib/utils.js b/node_modules/@actions/core/lib/utils.js new file mode 100644 index 0000000..9b5ca44 --- /dev/null +++ b/node_modules/@actions/core/lib/utils.js @@ -0,0 +1,40 @@ +"use strict"; +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.toCommandProperties = exports.toCommandValue = void 0; +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; +/** + * + * @param annotationProperties + * @returns The command properties to send with the actual annotation command + * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 + */ +function toCommandProperties(annotationProperties) { + if (!Object.keys(annotationProperties).length) { + return {}; + } + return { + title: annotationProperties.title, + file: annotationProperties.file, + line: annotationProperties.startLine, + endLine: annotationProperties.endLine, + col: annotationProperties.startColumn, + endColumn: annotationProperties.endColumn + }; +} +exports.toCommandProperties = toCommandProperties; +//# sourceMappingURL=utils.js.map \ No newline at end of file diff --git a/node_modules/@actions/core/lib/utils.js.map b/node_modules/@actions/core/lib/utils.js.map new file mode 100644 index 0000000..8211bb7 --- /dev/null +++ b/node_modules/@actions/core/lib/utils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/exec.d.ts b/node_modules/@actions/exec/lib/exec.d.ts new file mode 100644 index 0000000..baedcdb --- /dev/null +++ b/node_modules/@actions/exec/lib/exec.d.ts @@ -0,0 +1,24 @@ +import { ExecOptions, ExecOutput, ExecListeners } from './interfaces'; +export { ExecOptions, ExecOutput, ExecListeners }; +/** + * Exec a command. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code + */ +export declare function exec(commandLine: string, args?: string[], options?: ExecOptions): Promise; +/** + * Exec a command and get the output. + * Output will be streamed to the live console. + * Returns promise with the exit code and collected stdout and stderr + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code, stdout, and stderr + */ +export declare function getExecOutput(commandLine: string, args?: string[], options?: ExecOptions): Promise; diff --git a/node_modules/@actions/exec/lib/exec.js b/node_modules/@actions/exec/lib/exec.js new file mode 100644 index 0000000..72c7a9c --- /dev/null +++ b/node_modules/@actions/exec/lib/exec.js @@ -0,0 +1,103 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getExecOutput = exports.exec = void 0; +const string_decoder_1 = require("string_decoder"); +const tr = __importStar(require("./toolrunner")); +/** + * Exec a command. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code + */ +function exec(commandLine, args, options) { + return __awaiter(this, void 0, void 0, function* () { + const commandArgs = tr.argStringToArray(commandLine); + if (commandArgs.length === 0) { + throw new Error(`Parameter 'commandLine' cannot be null or empty.`); + } + // Path to tool to execute should be first arg + const toolPath = commandArgs[0]; + args = commandArgs.slice(1).concat(args || []); + const runner = new tr.ToolRunner(toolPath, args, options); + return runner.exec(); + }); +} +exports.exec = exec; +/** + * Exec a command and get the output. + * Output will be streamed to the live console. + * Returns promise with the exit code and collected stdout and stderr + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code, stdout, and stderr + */ +function getExecOutput(commandLine, args, options) { + var _a, _b; + return __awaiter(this, void 0, void 0, function* () { + let stdout = ''; + let stderr = ''; + //Using string decoder covers the case where a mult-byte character is split + const stdoutDecoder = new string_decoder_1.StringDecoder('utf8'); + const stderrDecoder = new string_decoder_1.StringDecoder('utf8'); + const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout; + const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr; + const stdErrListener = (data) => { + stderr += stderrDecoder.write(data); + if (originalStdErrListener) { + originalStdErrListener(data); + } + }; + const stdOutListener = (data) => { + stdout += stdoutDecoder.write(data); + if (originalStdoutListener) { + originalStdoutListener(data); + } + }; + const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), { stdout: stdOutListener, stderr: stdErrListener }); + const exitCode = yield exec(commandLine, args, Object.assign(Object.assign({}, options), { listeners })); + //flush any remaining characters + stdout += stdoutDecoder.end(); + stderr += stderrDecoder.end(); + return { + exitCode, + stdout, + stderr + }; + }); +} +exports.getExecOutput = getExecOutput; +//# sourceMappingURL=exec.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/exec.js.map b/node_modules/@actions/exec/lib/exec.js.map new file mode 100644 index 0000000..0762636 --- /dev/null +++ b/node_modules/@actions/exec/lib/exec.js.map @@ -0,0 +1 @@ +{"version":3,"file":"exec.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C,MAAM,IAAI,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;YACnC,IAAI,sBAAsB,EAAE;gBAC1B,sBAAsB,CAAC,IAAI,CAAC,CAAA;aAC7B;QACH,CAAC,CAAA;QAED,MAAM,cAAc,GAAG,CAAC,IAAY,EAAQ,EAAE;YAC5C,MAAM,IAAI,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;YACnC,IAAI,sBAAsB,EAAE;gBAC1B,sBAAsB,CAAC,IAAI,CAAC,CAAA;aAC7B;QACH,CAAC,CAAA;QAED,MAAM,SAAS,mCACV,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,KACrB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,cAAc,GACvB,CAAA;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,IAAI,kCAAM,OAAO,KAAE,SAAS,IAAE,CAAA;QAEvE,gCAAgC;QAChC,MAAM,IAAI,aAAa,CAAC,GAAG,EAAE,CAAA;QAC7B,MAAM,IAAI,aAAa,CAAC,GAAG,EAAE,CAAA;QAE7B,OAAO;YACL,QAAQ;YACR,MAAM;YACN,MAAM;SACP,CAAA;;CACF;AA9CD,sCA8CC"} \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/interfaces.d.ts b/node_modules/@actions/exec/lib/interfaces.d.ts new file mode 100644 index 0000000..8ae20e4 --- /dev/null +++ b/node_modules/@actions/exec/lib/interfaces.d.ts @@ -0,0 +1,57 @@ +/// +import * as stream from 'stream'; +/** + * Interface for exec options + */ +export interface ExecOptions { + /** optional working directory. defaults to current */ + cwd?: string; + /** optional envvar dictionary. defaults to current process's env */ + env?: { + [key: string]: string; + }; + /** optional. defaults to false */ + silent?: boolean; + /** optional out stream to use. Defaults to process.stdout */ + outStream?: stream.Writable; + /** optional err stream to use. Defaults to process.stderr */ + errStream?: stream.Writable; + /** optional. whether to skip quoting/escaping arguments if needed. defaults to false. */ + windowsVerbatimArguments?: boolean; + /** optional. whether to fail if output to stderr. defaults to false */ + failOnStdErr?: boolean; + /** optional. defaults to failing on non zero. ignore will not fail leaving it up to the caller */ + ignoreReturnCode?: boolean; + /** optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000 */ + delay?: number; + /** optional. input to write to the process on STDIN. */ + input?: Buffer; + /** optional. Listeners for output. Callback functions that will be called on these events */ + listeners?: ExecListeners; +} +/** + * Interface for the output of getExecOutput() + */ +export interface ExecOutput { + /**The exit code of the process */ + exitCode: number; + /**The entire stdout of the process as a string */ + stdout: string; + /**The entire stderr of the process as a string */ + stderr: string; +} +/** + * The user defined listeners for an exec call + */ +export interface ExecListeners { + /** A call back for each buffer of stdout */ + stdout?: (data: Buffer) => void; + /** A call back for each buffer of stderr */ + stderr?: (data: Buffer) => void; + /** A call back for each line of stdout */ + stdline?: (data: string) => void; + /** A call back for each line of stderr */ + errline?: (data: string) => void; + /** A call back for each debug log */ + debug?: (data: string) => void; +} diff --git a/node_modules/ts-node/dist/tsconfig-schema.js b/node_modules/@actions/exec/lib/interfaces.js similarity index 64% rename from node_modules/ts-node/dist/tsconfig-schema.js rename to node_modules/@actions/exec/lib/interfaces.js index 945d414..db91911 100644 --- a/node_modules/ts-node/dist/tsconfig-schema.js +++ b/node_modules/@actions/exec/lib/interfaces.js @@ -1,3 +1,3 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=tsconfig-schema.js.map \ No newline at end of file +//# sourceMappingURL=interfaces.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/interfaces.js.map b/node_modules/@actions/exec/lib/interfaces.js.map new file mode 100644 index 0000000..8fb5f7d --- /dev/null +++ b/node_modules/@actions/exec/lib/interfaces.js.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/toolrunner.d.ts b/node_modules/@actions/exec/lib/toolrunner.d.ts new file mode 100644 index 0000000..9bbbb1e --- /dev/null +++ b/node_modules/@actions/exec/lib/toolrunner.d.ts @@ -0,0 +1,37 @@ +/// +import * as events from 'events'; +import * as im from './interfaces'; +export declare class ToolRunner extends events.EventEmitter { + constructor(toolPath: string, args?: string[], options?: im.ExecOptions); + private toolPath; + private args; + private options; + private _debug; + private _getCommandString; + private _processLineBuffer; + private _getSpawnFileName; + private _getSpawnArgs; + private _endsWith; + private _isCmdFile; + private _windowsQuoteCmdArg; + private _uvQuoteCmdArg; + private _cloneExecOptions; + private _getSpawnOptions; + /** + * Exec a tool. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param tool path to tool to exec + * @param options optional exec options. See ExecOptions + * @returns number + */ + exec(): Promise; +} +/** + * Convert an arg string to an array of args. Handles escaping + * + * @param argString string of arguments + * @returns string[] array of arguments + */ +export declare function argStringToArray(argString: string): string[]; diff --git a/node_modules/@actions/exec/lib/toolrunner.js b/node_modules/@actions/exec/lib/toolrunner.js new file mode 100644 index 0000000..e456a72 --- /dev/null +++ b/node_modules/@actions/exec/lib/toolrunner.js @@ -0,0 +1,618 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.argStringToArray = exports.ToolRunner = void 0; +const os = __importStar(require("os")); +const events = __importStar(require("events")); +const child = __importStar(require("child_process")); +const path = __importStar(require("path")); +const io = __importStar(require("@actions/io")); +const ioUtil = __importStar(require("@actions/io/lib/io-util")); +const timers_1 = require("timers"); +/* eslint-disable @typescript-eslint/unbound-method */ +const IS_WINDOWS = process.platform === 'win32'; +/* + * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way. + */ +class ToolRunner extends events.EventEmitter { + constructor(toolPath, args, options) { + super(); + if (!toolPath) { + throw new Error("Parameter 'toolPath' cannot be null or empty."); + } + this.toolPath = toolPath; + this.args = args || []; + this.options = options || {}; + } + _debug(message) { + if (this.options.listeners && this.options.listeners.debug) { + this.options.listeners.debug(message); + } + } + _getCommandString(options, noPrefix) { + const toolPath = this._getSpawnFileName(); + const args = this._getSpawnArgs(options); + let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool + if (IS_WINDOWS) { + // Windows + cmd file + if (this._isCmdFile()) { + cmd += toolPath; + for (const a of args) { + cmd += ` ${a}`; + } + } + // Windows + verbatim + else if (options.windowsVerbatimArguments) { + cmd += `"${toolPath}"`; + for (const a of args) { + cmd += ` ${a}`; + } + } + // Windows (regular) + else { + cmd += this._windowsQuoteCmdArg(toolPath); + for (const a of args) { + cmd += ` ${this._windowsQuoteCmdArg(a)}`; + } + } + } + else { + // OSX/Linux - this can likely be improved with some form of quoting. + // creating processes on Unix is fundamentally different than Windows. + // on Unix, execvp() takes an arg array. + cmd += toolPath; + for (const a of args) { + cmd += ` ${a}`; + } + } + return cmd; + } + _processLineBuffer(data, strBuffer, onLine) { + try { + let s = strBuffer + data.toString(); + let n = s.indexOf(os.EOL); + while (n > -1) { + const line = s.substring(0, n); + onLine(line); + // the rest of the string ... + s = s.substring(n + os.EOL.length); + n = s.indexOf(os.EOL); + } + return s; + } + catch (err) { + // streaming lines to console is best effort. Don't fail a build. + this._debug(`error processing line. Failed with error ${err}`); + return ''; + } + } + _getSpawnFileName() { + if (IS_WINDOWS) { + if (this._isCmdFile()) { + return process.env['COMSPEC'] || 'cmd.exe'; + } + } + return this.toolPath; + } + _getSpawnArgs(options) { + if (IS_WINDOWS) { + if (this._isCmdFile()) { + let argline = `/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`; + for (const a of this.args) { + argline += ' '; + argline += options.windowsVerbatimArguments + ? a + : this._windowsQuoteCmdArg(a); + } + argline += '"'; + return [argline]; + } + } + return this.args; + } + _endsWith(str, end) { + return str.endsWith(end); + } + _isCmdFile() { + const upperToolPath = this.toolPath.toUpperCase(); + return (this._endsWith(upperToolPath, '.CMD') || + this._endsWith(upperToolPath, '.BAT')); + } + _windowsQuoteCmdArg(arg) { + // for .exe, apply the normal quoting rules that libuv applies + if (!this._isCmdFile()) { + return this._uvQuoteCmdArg(arg); + } + // otherwise apply quoting rules specific to the cmd.exe command line parser. + // the libuv rules are generic and are not designed specifically for cmd.exe + // command line parser. + // + // for a detailed description of the cmd.exe command line parser, refer to + // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912 + // need quotes for empty arg + if (!arg) { + return '""'; + } + // determine whether the arg needs to be quoted + const cmdSpecialChars = [ + ' ', + '\t', + '&', + '(', + ')', + '[', + ']', + '{', + '}', + '^', + '=', + ';', + '!', + "'", + '+', + ',', + '`', + '~', + '|', + '<', + '>', + '"' + ]; + let needsQuotes = false; + for (const char of arg) { + if (cmdSpecialChars.some(x => x === char)) { + needsQuotes = true; + break; + } + } + // short-circuit if quotes not needed + if (!needsQuotes) { + return arg; + } + // the following quoting rules are very similar to the rules that by libuv applies. + // + // 1) wrap the string in quotes + // + // 2) double-up quotes - i.e. " => "" + // + // this is different from the libuv quoting rules. libuv replaces " with \", which unfortunately + // doesn't work well with a cmd.exe command line. + // + // note, replacing " with "" also works well if the arg is passed to a downstream .NET console app. + // for example, the command line: + // foo.exe "myarg:""my val""" + // is parsed by a .NET console app into an arg array: + // [ "myarg:\"my val\"" ] + // which is the same end result when applying libuv quoting rules. although the actual + // command line from libuv quoting rules would look like: + // foo.exe "myarg:\"my val\"" + // + // 3) double-up slashes that precede a quote, + // e.g. hello \world => "hello \world" + // hello\"world => "hello\\""world" + // hello\\"world => "hello\\\\""world" + // hello world\ => "hello world\\" + // + // technically this is not required for a cmd.exe command line, or the batch argument parser. + // the reasons for including this as a .cmd quoting rule are: + // + // a) this is optimized for the scenario where the argument is passed from the .cmd file to an + // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule. + // + // b) it's what we've been doing previously (by deferring to node default behavior) and we + // haven't heard any complaints about that aspect. + // + // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be + // escaped when used on the command line directly - even though within a .cmd file % can be escaped + // by using %%. + // + // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts + // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing. + // + // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would + // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the + // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args + // to an external program. + // + // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file. + // % can be escaped within a .cmd file. + let reverse = '"'; + let quoteHit = true; + for (let i = arg.length; i > 0; i--) { + // walk the string in reverse + reverse += arg[i - 1]; + if (quoteHit && arg[i - 1] === '\\') { + reverse += '\\'; // double the slash + } + else if (arg[i - 1] === '"') { + quoteHit = true; + reverse += '"'; // double the quote + } + else { + quoteHit = false; + } + } + reverse += '"'; + return reverse + .split('') + .reverse() + .join(''); + } + _uvQuoteCmdArg(arg) { + // Tool runner wraps child_process.spawn() and needs to apply the same quoting as + // Node in certain cases where the undocumented spawn option windowsVerbatimArguments + // is used. + // + // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV, + // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details), + // pasting copyright notice from Node within this function: + // + // Copyright Joyent, Inc. and other Node contributors. All rights reserved. + // + // Permission is hereby granted, free of charge, to any person obtaining a copy + // of this software and associated documentation files (the "Software"), to + // deal in the Software without restriction, including without limitation the + // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + // sell copies of the Software, and to permit persons to whom the Software is + // furnished to do so, subject to the following conditions: + // + // The above copyright notice and this permission notice shall be included in + // all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + // IN THE SOFTWARE. + if (!arg) { + // Need double quotation for empty argument + return '""'; + } + if (!arg.includes(' ') && !arg.includes('\t') && !arg.includes('"')) { + // No quotation needed + return arg; + } + if (!arg.includes('"') && !arg.includes('\\')) { + // No embedded double quotes or backslashes, so I can just wrap + // quote marks around the whole thing. + return `"${arg}"`; + } + // Expected input/output: + // input : hello"world + // output: "hello\"world" + // input : hello""world + // output: "hello\"\"world" + // input : hello\world + // output: hello\world + // input : hello\\world + // output: hello\\world + // input : hello\"world + // output: "hello\\\"world" + // input : hello\\"world + // output: "hello\\\\\"world" + // input : hello world\ + // output: "hello world\\" - note the comment in libuv actually reads "hello world\" + // but it appears the comment is wrong, it should be "hello world\\" + let reverse = '"'; + let quoteHit = true; + for (let i = arg.length; i > 0; i--) { + // walk the string in reverse + reverse += arg[i - 1]; + if (quoteHit && arg[i - 1] === '\\') { + reverse += '\\'; + } + else if (arg[i - 1] === '"') { + quoteHit = true; + reverse += '\\'; + } + else { + quoteHit = false; + } + } + reverse += '"'; + return reverse + .split('') + .reverse() + .join(''); + } + _cloneExecOptions(options) { + options = options || {}; + const result = { + cwd: options.cwd || process.cwd(), + env: options.env || process.env, + silent: options.silent || false, + windowsVerbatimArguments: options.windowsVerbatimArguments || false, + failOnStdErr: options.failOnStdErr || false, + ignoreReturnCode: options.ignoreReturnCode || false, + delay: options.delay || 10000 + }; + result.outStream = options.outStream || process.stdout; + result.errStream = options.errStream || process.stderr; + return result; + } + _getSpawnOptions(options, toolPath) { + options = options || {}; + const result = {}; + result.cwd = options.cwd; + result.env = options.env; + result['windowsVerbatimArguments'] = + options.windowsVerbatimArguments || this._isCmdFile(); + if (options.windowsVerbatimArguments) { + result.argv0 = `"${toolPath}"`; + } + return result; + } + /** + * Exec a tool. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param tool path to tool to exec + * @param options optional exec options. See ExecOptions + * @returns number + */ + exec() { + return __awaiter(this, void 0, void 0, function* () { + // root the tool path if it is unrooted and contains relative pathing + if (!ioUtil.isRooted(this.toolPath) && + (this.toolPath.includes('/') || + (IS_WINDOWS && this.toolPath.includes('\\')))) { + // prefer options.cwd if it is specified, however options.cwd may also need to be rooted + this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath); + } + // if the tool is only a file name, then resolve it from the PATH + // otherwise verify it exists (add extension on Windows if necessary) + this.toolPath = yield io.which(this.toolPath, true); + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + this._debug(`exec tool: ${this.toolPath}`); + this._debug('arguments:'); + for (const arg of this.args) { + this._debug(` ${arg}`); + } + const optionsNonNull = this._cloneExecOptions(this.options); + if (!optionsNonNull.silent && optionsNonNull.outStream) { + optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL); + } + const state = new ExecState(optionsNonNull, this.toolPath); + state.on('debug', (message) => { + this._debug(message); + }); + if (this.options.cwd && !(yield ioUtil.exists(this.options.cwd))) { + return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`)); + } + const fileName = this._getSpawnFileName(); + const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName)); + let stdbuffer = ''; + if (cp.stdout) { + cp.stdout.on('data', (data) => { + if (this.options.listeners && this.options.listeners.stdout) { + this.options.listeners.stdout(data); + } + if (!optionsNonNull.silent && optionsNonNull.outStream) { + optionsNonNull.outStream.write(data); + } + stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => { + if (this.options.listeners && this.options.listeners.stdline) { + this.options.listeners.stdline(line); + } + }); + }); + } + let errbuffer = ''; + if (cp.stderr) { + cp.stderr.on('data', (data) => { + state.processStderr = true; + if (this.options.listeners && this.options.listeners.stderr) { + this.options.listeners.stderr(data); + } + if (!optionsNonNull.silent && + optionsNonNull.errStream && + optionsNonNull.outStream) { + const s = optionsNonNull.failOnStdErr + ? optionsNonNull.errStream + : optionsNonNull.outStream; + s.write(data); + } + errbuffer = this._processLineBuffer(data, errbuffer, (line) => { + if (this.options.listeners && this.options.listeners.errline) { + this.options.listeners.errline(line); + } + }); + }); + } + cp.on('error', (err) => { + state.processError = err.message; + state.processExited = true; + state.processClosed = true; + state.CheckComplete(); + }); + cp.on('exit', (code) => { + state.processExitCode = code; + state.processExited = true; + this._debug(`Exit code ${code} received from tool '${this.toolPath}'`); + state.CheckComplete(); + }); + cp.on('close', (code) => { + state.processExitCode = code; + state.processExited = true; + state.processClosed = true; + this._debug(`STDIO streams have closed for tool '${this.toolPath}'`); + state.CheckComplete(); + }); + state.on('done', (error, exitCode) => { + if (stdbuffer.length > 0) { + this.emit('stdline', stdbuffer); + } + if (errbuffer.length > 0) { + this.emit('errline', errbuffer); + } + cp.removeAllListeners(); + if (error) { + reject(error); + } + else { + resolve(exitCode); + } + }); + if (this.options.input) { + if (!cp.stdin) { + throw new Error('child process missing stdin'); + } + cp.stdin.end(this.options.input); + } + })); + }); + } +} +exports.ToolRunner = ToolRunner; +/** + * Convert an arg string to an array of args. Handles escaping + * + * @param argString string of arguments + * @returns string[] array of arguments + */ +function argStringToArray(argString) { + const args = []; + let inQuotes = false; + let escaped = false; + let arg = ''; + function append(c) { + // we only escape double quotes. + if (escaped && c !== '"') { + arg += '\\'; + } + arg += c; + escaped = false; + } + for (let i = 0; i < argString.length; i++) { + const c = argString.charAt(i); + if (c === '"') { + if (!escaped) { + inQuotes = !inQuotes; + } + else { + append(c); + } + continue; + } + if (c === '\\' && escaped) { + append(c); + continue; + } + if (c === '\\' && inQuotes) { + escaped = true; + continue; + } + if (c === ' ' && !inQuotes) { + if (arg.length > 0) { + args.push(arg); + arg = ''; + } + continue; + } + append(c); + } + if (arg.length > 0) { + args.push(arg.trim()); + } + return args; +} +exports.argStringToArray = argStringToArray; +class ExecState extends events.EventEmitter { + constructor(options, toolPath) { + super(); + this.processClosed = false; // tracks whether the process has exited and stdio is closed + this.processError = ''; + this.processExitCode = 0; + this.processExited = false; // tracks whether the process has exited + this.processStderr = false; // tracks whether stderr was written to + this.delay = 10000; // 10 seconds + this.done = false; + this.timeout = null; + if (!toolPath) { + throw new Error('toolPath must not be empty'); + } + this.options = options; + this.toolPath = toolPath; + if (options.delay) { + this.delay = options.delay; + } + } + CheckComplete() { + if (this.done) { + return; + } + if (this.processClosed) { + this._setResult(); + } + else if (this.processExited) { + this.timeout = timers_1.setTimeout(ExecState.HandleTimeout, this.delay, this); + } + } + _debug(message) { + this.emit('debug', message); + } + _setResult() { + // determine whether there is an error + let error; + if (this.processExited) { + if (this.processError) { + error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`); + } + else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) { + error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`); + } + else if (this.processStderr && this.options.failOnStdErr) { + error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`); + } + } + // clear the timeout + if (this.timeout) { + clearTimeout(this.timeout); + this.timeout = null; + } + this.done = true; + this.emit('done', error, this.processExitCode); + } + static HandleTimeout(state) { + if (state.done) { + return; + } + if (!state.processClosed && state.processExited) { + const message = `The STDIO streams did not close within ${state.delay / + 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`; + state._debug(message); + } + state._setResult(); + } +} +//# sourceMappingURL=toolrunner.js.map \ No newline at end of file diff --git a/node_modules/@actions/exec/lib/toolrunner.js.map b/node_modules/@actions/exec/lib/toolrunner.js.map new file mode 100644 index 0000000..6eaf183 --- /dev/null +++ b/node_modules/@actions/exec/lib/toolrunner.js.map @@ -0,0 +1 @@ +{"version":3,"file":"toolrunner.js","sourceRoot":"","sources":["../src/toolrunner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,+CAAgC;AAChC,qDAAsC;AACtC,2CAA4B;AAG5B,gDAAiC;AACjC,gEAAiD;AACjD,mCAAiC;AAEjC,sDAAsD;AAEtD,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAE/C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,YAAY;IACjD,YAAY,QAAgB,EAAE,IAAe,EAAE,OAAwB;QACrE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAA;SACjE;QAED,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,EAAE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K;gBACnE,IAAI,4CACJ,KAAK,CAAC,QACR,0FAA0F,CAAA;YAC1F,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACtB;QAED,KAAK,CAAC,UAAU,EAAE,CAAA;IACpB,CAAC;CACF"} \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io-util.d.ts b/node_modules/@actions/io/lib/io-util.d.ts new file mode 100644 index 0000000..0cddd31 --- /dev/null +++ b/node_modules/@actions/io/lib/io-util.d.ts @@ -0,0 +1,19 @@ +/// +import * as fs from 'fs'; +export declare const chmod: typeof fs.promises.chmod, copyFile: typeof fs.promises.copyFile, lstat: typeof fs.promises.lstat, mkdir: typeof fs.promises.mkdir, readdir: typeof fs.promises.readdir, readlink: typeof fs.promises.readlink, rename: typeof fs.promises.rename, rmdir: typeof fs.promises.rmdir, stat: typeof fs.promises.stat, symlink: typeof fs.promises.symlink, unlink: typeof fs.promises.unlink; +export declare const IS_WINDOWS: boolean; +export declare function exists(fsPath: string): Promise; +export declare function isDirectory(fsPath: string, useStat?: boolean): Promise; +/** + * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: + * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). + */ +export declare function isRooted(p: string): boolean; +/** + * Best effort attempt to determine whether a file exists and is executable. + * @param filePath file path to check + * @param extensions additional file extensions to try + * @return if file exists and is executable, returns the file path. otherwise empty string. + */ +export declare function tryGetExecutablePath(filePath: string, extensions: string[]): Promise; +export declare function getCmdPath(): string; diff --git a/node_modules/@actions/io/lib/io-util.js b/node_modules/@actions/io/lib/io-util.js new file mode 100644 index 0000000..aae903c --- /dev/null +++ b/node_modules/@actions/io/lib/io-util.js @@ -0,0 +1,177 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var _a; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rename = exports.readlink = exports.readdir = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; +const fs = __importStar(require("fs")); +const path = __importStar(require("path")); +_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; +exports.IS_WINDOWS = process.platform === 'win32'; +function exists(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + try { + yield exports.stat(fsPath); + } + catch (err) { + if (err.code === 'ENOENT') { + return false; + } + throw err; + } + return true; + }); +} +exports.exists = exists; +function isDirectory(fsPath, useStat = false) { + return __awaiter(this, void 0, void 0, function* () { + const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + return stats.isDirectory(); + }); +} +exports.isDirectory = isDirectory; +/** + * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: + * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). + */ +function isRooted(p) { + p = normalizeSeparators(p); + if (!p) { + throw new Error('isRooted() parameter "p" cannot be empty'); + } + if (exports.IS_WINDOWS) { + return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello + ); // e.g. C: or C:\hello + } + return p.startsWith('/'); +} +exports.isRooted = isRooted; +/** + * Best effort attempt to determine whether a file exists and is executable. + * @param filePath file path to check + * @param extensions additional file extensions to try + * @return if file exists and is executable, returns the file path. otherwise empty string. + */ +function tryGetExecutablePath(filePath, extensions) { + return __awaiter(this, void 0, void 0, function* () { + let stats = undefined; + try { + // test file exists + stats = yield exports.stat(filePath); + } + catch (err) { + if (err.code !== 'ENOENT') { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); + } + } + if (stats && stats.isFile()) { + if (exports.IS_WINDOWS) { + // on Windows, test for valid extension + const upperExt = path.extname(filePath).toUpperCase(); + if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { + return filePath; + } + } + else { + if (isUnixExecutable(stats)) { + return filePath; + } + } + } + // try each extension + const originalFilePath = filePath; + for (const extension of extensions) { + filePath = originalFilePath + extension; + stats = undefined; + try { + stats = yield exports.stat(filePath); + } + catch (err) { + if (err.code !== 'ENOENT') { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); + } + } + if (stats && stats.isFile()) { + if (exports.IS_WINDOWS) { + // preserve the case of the actual file (since an extension was appended) + try { + const directory = path.dirname(filePath); + const upperName = path.basename(filePath).toUpperCase(); + for (const actualName of yield exports.readdir(directory)) { + if (upperName === actualName.toUpperCase()) { + filePath = path.join(directory, actualName); + break; + } + } + } + catch (err) { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`); + } + return filePath; + } + else { + if (isUnixExecutable(stats)) { + return filePath; + } + } + } + } + return ''; + }); +} +exports.tryGetExecutablePath = tryGetExecutablePath; +function normalizeSeparators(p) { + p = p || ''; + if (exports.IS_WINDOWS) { + // convert slashes on Windows + p = p.replace(/\//g, '\\'); + // remove redundant slashes + return p.replace(/\\\\+/g, '\\'); + } + // remove redundant slashes + return p.replace(/\/\/+/g, '/'); +} +// on Mac/Linux, test the execute bit +// R W X R W X R W X +// 256 128 64 32 16 8 4 2 1 +function isUnixExecutable(stats) { + return ((stats.mode & 1) > 0 || + ((stats.mode & 8) > 0 && stats.gid === process.getgid()) || + ((stats.mode & 64) > 0 && stats.uid === process.getuid())); +} +// Get the path of cmd.exe in windows +function getCmdPath() { + var _a; + return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; +} +exports.getCmdPath = getCmdPath; +//# sourceMappingURL=io-util.js.map \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io-util.js.map b/node_modules/@actions/io/lib/io-util.js.map new file mode 100644 index 0000000..ad5eebb --- /dev/null +++ b/node_modules/@actions/io/lib/io-util.js.map @@ -0,0 +1 @@ +{"version":3,"file":"io-util.js","sourceRoot":"","sources":["../src/io-util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAwB;AACxB,2CAA4B;AAEf,KAYT,EAAE,CAAC,QAAQ,EAXb,aAAK,aACL,gBAAQ,gBACR,aAAK,aACL,aAAK,aACL,eAAO,eACP,gBAAQ,gBACR,cAAM,cACN,aAAK,aACL,YAAI,YACJ,eAAO,eACP,cAAM,aACO;AAEF,QAAA,UAAU,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAA;AAEtD,SAAsB,MAAM,CAAC,MAAc;;QACzC,IAAI;YACF,MAAM,YAAI,CAAC,MAAM,CAAC,CAAA;SACnB;QAAC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CAAqC;AACrC,SAAgB,UAAU;;IACxB,aAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAA;AAC5C,CAAC;AAFD,gCAEC"} \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io.d.ts b/node_modules/@actions/io/lib/io.d.ts new file mode 100644 index 0000000..a674522 --- /dev/null +++ b/node_modules/@actions/io/lib/io.d.ts @@ -0,0 +1,64 @@ +/** + * Interface for cp/mv options + */ +export interface CopyOptions { + /** Optional. Whether to recursively copy all subdirectories. Defaults to false */ + recursive?: boolean; + /** Optional. Whether to overwrite existing files in the destination. Defaults to true */ + force?: boolean; + /** Optional. Whether to copy the source directory along with all the files. Only takes effect when recursive=true and copying a directory. Default is true*/ + copySourceDirectory?: boolean; +} +/** + * Interface for cp/mv options + */ +export interface MoveOptions { + /** Optional. Whether to overwrite existing files in the destination. Defaults to true */ + force?: boolean; +} +/** + * Copies a file or folder. + * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js + * + * @param source source path + * @param dest destination path + * @param options optional. See CopyOptions. + */ +export declare function cp(source: string, dest: string, options?: CopyOptions): Promise; +/** + * Moves a path. + * + * @param source source path + * @param dest destination path + * @param options optional. See MoveOptions. + */ +export declare function mv(source: string, dest: string, options?: MoveOptions): Promise; +/** + * Remove a path recursively with force + * + * @param inputPath path to remove + */ +export declare function rmRF(inputPath: string): Promise; +/** + * Make a directory. Creates the full path with folders in between + * Will throw if it fails + * + * @param fsPath path to create + * @returns Promise + */ +export declare function mkdirP(fsPath: string): Promise; +/** + * Returns path of a tool had the tool actually been invoked. Resolves via paths. + * If you check and the tool does not exist, it will throw. + * + * @param tool name of the tool + * @param check whether to check if tool exists + * @returns Promise path to tool + */ +export declare function which(tool: string, check?: boolean): Promise; +/** + * Returns a list of all occurrences of the given tool on the system path. + * + * @returns Promise the paths of the tool + */ +export declare function findInPath(tool: string): Promise; diff --git a/node_modules/@actions/io/lib/io.js b/node_modules/@actions/io/lib/io.js new file mode 100644 index 0000000..4dc1fc3 --- /dev/null +++ b/node_modules/@actions/io/lib/io.js @@ -0,0 +1,341 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; +const assert_1 = require("assert"); +const childProcess = __importStar(require("child_process")); +const path = __importStar(require("path")); +const util_1 = require("util"); +const ioUtil = __importStar(require("./io-util")); +const exec = util_1.promisify(childProcess.exec); +const execFile = util_1.promisify(childProcess.execFile); +/** + * Copies a file or folder. + * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js + * + * @param source source path + * @param dest destination path + * @param options optional. See CopyOptions. + */ +function cp(source, dest, options = {}) { + return __awaiter(this, void 0, void 0, function* () { + const { force, recursive, copySourceDirectory } = readCopyOptions(options); + const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null; + // Dest is an existing file, but not forcing + if (destStat && destStat.isFile() && !force) { + return; + } + // If dest is an existing directory, should copy inside. + const newDest = destStat && destStat.isDirectory() && copySourceDirectory + ? path.join(dest, path.basename(source)) + : dest; + if (!(yield ioUtil.exists(source))) { + throw new Error(`no such file or directory: ${source}`); + } + const sourceStat = yield ioUtil.stat(source); + if (sourceStat.isDirectory()) { + if (!recursive) { + throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`); + } + else { + yield cpDirRecursive(source, newDest, 0, force); + } + } + else { + if (path.relative(source, newDest) === '') { + // a file cannot be copied to itself + throw new Error(`'${newDest}' and '${source}' are the same file`); + } + yield copyFile(source, newDest, force); + } + }); +} +exports.cp = cp; +/** + * Moves a path. + * + * @param source source path + * @param dest destination path + * @param options optional. See MoveOptions. + */ +function mv(source, dest, options = {}) { + return __awaiter(this, void 0, void 0, function* () { + if (yield ioUtil.exists(dest)) { + let destExists = true; + if (yield ioUtil.isDirectory(dest)) { + // If dest is directory copy src into dest + dest = path.join(dest, path.basename(source)); + destExists = yield ioUtil.exists(dest); + } + if (destExists) { + if (options.force == null || options.force) { + yield rmRF(dest); + } + else { + throw new Error('Destination already exists'); + } + } + } + yield mkdirP(path.dirname(dest)); + yield ioUtil.rename(source, dest); + }); +} +exports.mv = mv; +/** + * Remove a path recursively with force + * + * @param inputPath path to remove + */ +function rmRF(inputPath) { + return __awaiter(this, void 0, void 0, function* () { + if (ioUtil.IS_WINDOWS) { + // Node doesn't provide a delete operation, only an unlink function. This means that if the file is being used by another + // program (e.g. antivirus), it won't be deleted. To address this, we shell out the work to rd/del. + // Check for invalid characters + // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file + if (/[*"<>|]/.test(inputPath)) { + throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows'); + } + try { + const cmdPath = ioUtil.getCmdPath(); + if (yield ioUtil.isDirectory(inputPath, true)) { + yield exec(`${cmdPath} /s /c "rd /s /q "%inputPath%""`, { + env: { inputPath } + }); + } + else { + yield exec(`${cmdPath} /s /c "del /f /a "%inputPath%""`, { + env: { inputPath } + }); + } + } + catch (err) { + // if you try to delete a file that doesn't exist, desired result is achieved + // other errors are valid + if (err.code !== 'ENOENT') + throw err; + } + // Shelling out fails to remove a symlink folder with missing source, this unlink catches that + try { + yield ioUtil.unlink(inputPath); + } + catch (err) { + // if you try to delete a file that doesn't exist, desired result is achieved + // other errors are valid + if (err.code !== 'ENOENT') + throw err; + } + } + else { + let isDir = false; + try { + isDir = yield ioUtil.isDirectory(inputPath); + } + catch (err) { + // if you try to delete a file that doesn't exist, desired result is achieved + // other errors are valid + if (err.code !== 'ENOENT') + throw err; + return; + } + if (isDir) { + yield execFile(`rm`, [`-rf`, `${inputPath}`]); + } + else { + yield ioUtil.unlink(inputPath); + } + } + }); +} +exports.rmRF = rmRF; +/** + * Make a directory. Creates the full path with folders in between + * Will throw if it fails + * + * @param fsPath path to create + * @returns Promise + */ +function mkdirP(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + assert_1.ok(fsPath, 'a path argument must be provided'); + yield ioUtil.mkdir(fsPath, { recursive: true }); + }); +} +exports.mkdirP = mkdirP; +/** + * Returns path of a tool had the tool actually been invoked. Resolves via paths. + * If you check and the tool does not exist, it will throw. + * + * @param tool name of the tool + * @param check whether to check if tool exists + * @returns Promise path to tool + */ +function which(tool, check) { + return __awaiter(this, void 0, void 0, function* () { + if (!tool) { + throw new Error("parameter 'tool' is required"); + } + // recursive when check=true + if (check) { + const result = yield which(tool, false); + if (!result) { + if (ioUtil.IS_WINDOWS) { + throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`); + } + else { + throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`); + } + } + return result; + } + const matches = yield findInPath(tool); + if (matches && matches.length > 0) { + return matches[0]; + } + return ''; + }); +} +exports.which = which; +/** + * Returns a list of all occurrences of the given tool on the system path. + * + * @returns Promise the paths of the tool + */ +function findInPath(tool) { + return __awaiter(this, void 0, void 0, function* () { + if (!tool) { + throw new Error("parameter 'tool' is required"); + } + // build the list of extensions to try + const extensions = []; + if (ioUtil.IS_WINDOWS && process.env['PATHEXT']) { + for (const extension of process.env['PATHEXT'].split(path.delimiter)) { + if (extension) { + extensions.push(extension); + } + } + } + // if it's rooted, return it if exists. otherwise return empty. + if (ioUtil.isRooted(tool)) { + const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions); + if (filePath) { + return [filePath]; + } + return []; + } + // if any path separators, return empty + if (tool.includes(path.sep)) { + return []; + } + // build the list of directories + // + // Note, technically "where" checks the current directory on Windows. From a toolkit perspective, + // it feels like we should not do this. Checking the current directory seems like more of a use + // case of a shell, and the which() function exposed by the toolkit should strive for consistency + // across platforms. + const directories = []; + if (process.env.PATH) { + for (const p of process.env.PATH.split(path.delimiter)) { + if (p) { + directories.push(p); + } + } + } + // find all matches + const matches = []; + for (const directory of directories) { + const filePath = yield ioUtil.tryGetExecutablePath(path.join(directory, tool), extensions); + if (filePath) { + matches.push(filePath); + } + } + return matches; + }); +} +exports.findInPath = findInPath; +function readCopyOptions(options) { + const force = options.force == null ? true : options.force; + const recursive = Boolean(options.recursive); + const copySourceDirectory = options.copySourceDirectory == null + ? true + : Boolean(options.copySourceDirectory); + return { force, recursive, copySourceDirectory }; +} +function cpDirRecursive(sourceDir, destDir, currentDepth, force) { + return __awaiter(this, void 0, void 0, function* () { + // Ensure there is not a run away recursive copy + if (currentDepth >= 255) + return; + currentDepth++; + yield mkdirP(destDir); + const files = yield ioUtil.readdir(sourceDir); + for (const fileName of files) { + const srcFile = `${sourceDir}/${fileName}`; + const destFile = `${destDir}/${fileName}`; + const srcFileStat = yield ioUtil.lstat(srcFile); + if (srcFileStat.isDirectory()) { + // Recurse + yield cpDirRecursive(srcFile, destFile, currentDepth, force); + } + else { + yield copyFile(srcFile, destFile, force); + } + } + // Change the mode for the newly created directory + yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode); + }); +} +// Buffered file copy +function copyFile(srcFile, destFile, force) { + return __awaiter(this, void 0, void 0, function* () { + if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) { + // unlink/re-link it + try { + yield ioUtil.lstat(destFile); + yield ioUtil.unlink(destFile); + } + catch (e) { + // Try to override file permission + if (e.code === 'EPERM') { + yield ioUtil.chmod(destFile, '0666'); + yield ioUtil.unlink(destFile); + } + // other errors = it doesn't exist, no work to do + } + // Copy over symlink + const symlinkFull = yield ioUtil.readlink(srcFile); + yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null); + } + else if (!(yield ioUtil.exists(destFile)) || force) { + yield ioUtil.copyFile(srcFile, destFile); + } + }); +} +//# sourceMappingURL=io.js.map \ No newline at end of file diff --git a/node_modules/@actions/io/lib/io.js.map b/node_modules/@actions/io/lib/io.js.map new file mode 100644 index 0000000..3249d7d --- /dev/null +++ b/node_modules/@actions/io/lib/io.js.map @@ -0,0 +1 @@ +{"version":3,"file":"io.js","sourceRoot":"","sources":["../src/io.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAyB;AACzB,4DAA6C;AAC7C,2CAA4B;AAC5B,+BAA8B;AAC9B,kDAAmC;AAEnC,MAAM,IAAI,GAAG,gBAAS,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;AACzC,MAAM,QAAQ,GAAG,gBAAS,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAA;AAsBjD;;;;;;;GAOG;AACH,SAAsB,EAAE,CACtB,MAAc,EACd,IAAY,EACZ,UAAuB,EAAE;;QAEzB,MAAM,EAAC,KAAK,EAAE,SAA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AAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAClE,CAAC;CAAA;AAED,qBAAqB;AACrB,SAAe,QAAQ,CACrB,OAAe,EACf,QAAgB,EAChB,KAAc;;QAEd,IAAI,CAAC,MAAM,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE;YAClD,oBAAoB;YACpB,IAAI;gBACF,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;gBAC5B,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;aAC9B;YAAC,OAAO,CAAC,EAAE;gBACV,kCAAkC;gBAClC,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,EAAE;oBACtB,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;oBACpC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;iBAC9B;gBACD,iDAAiD;aAClD;YAED,oBAAoB;YACpB,MAAM,WAAW,GAAW,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;YAC1D,MAAM,MAAM,CAAC,OAAO,CAClB,WAAW,EACX,QAAQ,EACR,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CACtC,CAAA;SACF;aAAM,IAAI,CAAC,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,KAAK,EAAE;YACpD,MAAM,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;SACzC;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/node_modules/@babel/code-frame/lib/index.js b/node_modules/@babel/code-frame/lib/index.js new file mode 100644 index 0000000..28d86f7 --- /dev/null +++ b/node_modules/@babel/code-frame/lib/index.js @@ -0,0 +1,167 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.codeFrameColumns = codeFrameColumns; +exports.default = _default; + +var _highlight = _interopRequireWildcard(require("@babel/highlight")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +let deprecationWarningShown = false; + +function getDefs(chalk) { + return { + gutter: chalk.grey, + marker: chalk.red.bold, + message: chalk.red.bold + }; +} + +const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; + +function getMarkerLines(loc, source, opts) { + const startLoc = Object.assign({ + column: 0, + line: -1 + }, loc.start); + const endLoc = Object.assign({}, startLoc, loc.end); + const { + linesAbove = 2, + linesBelow = 3 + } = opts || {}; + const startLine = startLoc.line; + const startColumn = startLoc.column; + const endLine = endLoc.line; + const endColumn = endLoc.column; + let start = Math.max(startLine - (linesAbove + 1), 0); + let end = Math.min(source.length, endLine + linesBelow); + + if (startLine === -1) { + start = 0; + } + + if (endLine === -1) { + end = source.length; + } + + const lineDiff = endLine - startLine; + const markerLines = {}; + + if (lineDiff) { + for (let i = 0; i <= lineDiff; i++) { + const lineNumber = i + startLine; + + if (!startColumn) { + markerLines[lineNumber] = true; + } else if (i === 0) { + const sourceLength = source[lineNumber - 1].length; + markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; + } else if (i === lineDiff) { + markerLines[lineNumber] = [0, endColumn]; + } else { + const sourceLength = source[lineNumber - i].length; + markerLines[lineNumber] = [0, sourceLength]; + } + } + } else { + if (startColumn === endColumn) { + if (startColumn) { + markerLines[startLine] = [startColumn, 0]; + } else { + markerLines[startLine] = true; + } + } else { + markerLines[startLine] = [startColumn, endColumn - startColumn]; + } + } + + return { + start, + end, + markerLines + }; +} + +function codeFrameColumns(rawLines, loc, opts = {}) { + const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts); + const chalk = (0, _highlight.getChalk)(opts); + const defs = getDefs(chalk); + + const maybeHighlight = (chalkFn, string) => { + return highlighted ? chalkFn(string) : string; + }; + + const lines = rawLines.split(NEWLINE); + const { + start, + end, + markerLines + } = getMarkerLines(loc, lines, opts); + const hasColumns = loc.start && typeof loc.start.column === "number"; + const numberMaxWidth = String(end).length; + const highlightedLines = highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines; + let frame = highlightedLines.split(NEWLINE).slice(start, end).map((line, index) => { + const number = start + 1 + index; + const paddedNumber = ` ${number}`.slice(-numberMaxWidth); + const gutter = ` ${paddedNumber} | `; + const hasMarker = markerLines[number]; + const lastMarkerLine = !markerLines[number + 1]; + + if (hasMarker) { + let markerLine = ""; + + if (Array.isArray(hasMarker)) { + const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); + const numberOfMarkers = hasMarker[1] || 1; + markerLine = ["\n ", maybeHighlight(defs.gutter, gutter.replace(/\d/g, " ")), markerSpacing, maybeHighlight(defs.marker, "^").repeat(numberOfMarkers)].join(""); + + if (lastMarkerLine && opts.message) { + markerLine += " " + maybeHighlight(defs.message, opts.message); + } + } + + return [maybeHighlight(defs.marker, ">"), maybeHighlight(defs.gutter, gutter), line, markerLine].join(""); + } else { + return ` ${maybeHighlight(defs.gutter, gutter)}${line}`; + } + }).join("\n"); + + if (opts.message && !hasColumns) { + frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`; + } + + if (highlighted) { + return chalk.reset(frame); + } else { + return frame; + } +} + +function _default(rawLines, lineNumber, colNumber, opts = {}) { + if (!deprecationWarningShown) { + deprecationWarningShown = true; + const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; + + if (process.emitWarning) { + process.emitWarning(message, "DeprecationWarning"); + } else { + const deprecationError = new Error(message); + deprecationError.name = "DeprecationWarning"; + console.warn(new Error(message)); + } + } + + colNumber = Math.max(colNumber, 0); + const location = { + start: { + column: colNumber, + line: lineNumber + } + }; + return codeFrameColumns(rawLines, location, opts); +} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/identifier.js b/node_modules/@babel/helper-validator-identifier/lib/identifier.js new file mode 100644 index 0000000..51ec763 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/lib/identifier.js @@ -0,0 +1,77 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isIdentifierStart = isIdentifierStart; +exports.isIdentifierChar = isIdentifierChar; +exports.isIdentifierName = isIdentifierName; +let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"; +let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f"; +const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]"); +const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]"); +nonASCIIidentifierStartChars = nonASCIIidentifierChars = null; +const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938]; +const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; + +function isInAstralSet(code, set) { + let pos = 0x10000; + + for (let i = 0, length = set.length; i < length; i += 2) { + pos += set[i]; + if (pos > code) return false; + pos += set[i + 1]; + if (pos >= code) return true; + } + + return false; +} + +function isIdentifierStart(code) { + if (code < 65) return code === 36; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + + if (code <= 0xffff) { + return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)); + } + + return isInAstralSet(code, astralIdentifierStartCodes); +} + +function isIdentifierChar(code) { + if (code < 48) return code === 36; + if (code < 58) return true; + if (code < 65) return false; + if (code <= 90) return true; + if (code < 97) return code === 95; + if (code <= 122) return true; + + if (code <= 0xffff) { + return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)); + } + + return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes); +} + +function isIdentifierName(name) { + let isFirst = true; + + for (let _i = 0, _Array$from = Array.from(name); _i < _Array$from.length; _i++) { + const char = _Array$from[_i]; + const cp = char.codePointAt(0); + + if (isFirst) { + if (!isIdentifierStart(cp)) { + return false; + } + + isFirst = false; + } else if (!isIdentifierChar(cp)) { + return false; + } + } + + return !isFirst; +} \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/index.js b/node_modules/@babel/helper-validator-identifier/lib/index.js new file mode 100644 index 0000000..7b623c9 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/lib/index.js @@ -0,0 +1,57 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +Object.defineProperty(exports, "isIdentifierName", { + enumerable: true, + get: function () { + return _identifier.isIdentifierName; + } +}); +Object.defineProperty(exports, "isIdentifierChar", { + enumerable: true, + get: function () { + return _identifier.isIdentifierChar; + } +}); +Object.defineProperty(exports, "isIdentifierStart", { + enumerable: true, + get: function () { + return _identifier.isIdentifierStart; + } +}); +Object.defineProperty(exports, "isReservedWord", { + enumerable: true, + get: function () { + return _keyword.isReservedWord; + } +}); +Object.defineProperty(exports, "isStrictBindOnlyReservedWord", { + enumerable: true, + get: function () { + return _keyword.isStrictBindOnlyReservedWord; + } +}); +Object.defineProperty(exports, "isStrictBindReservedWord", { + enumerable: true, + get: function () { + return _keyword.isStrictBindReservedWord; + } +}); +Object.defineProperty(exports, "isStrictReservedWord", { + enumerable: true, + get: function () { + return _keyword.isStrictReservedWord; + } +}); +Object.defineProperty(exports, "isKeyword", { + enumerable: true, + get: function () { + return _keyword.isKeyword; + } +}); + +var _identifier = require("./identifier"); + +var _keyword = require("./keyword"); \ No newline at end of file diff --git a/node_modules/@babel/helper-validator-identifier/lib/keyword.js b/node_modules/@babel/helper-validator-identifier/lib/keyword.js new file mode 100644 index 0000000..110cee4 --- /dev/null +++ b/node_modules/@babel/helper-validator-identifier/lib/keyword.js @@ -0,0 +1,38 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.isReservedWord = isReservedWord; +exports.isStrictReservedWord = isStrictReservedWord; +exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord; +exports.isStrictBindReservedWord = isStrictBindReservedWord; +exports.isKeyword = isKeyword; +const reservedWords = { + keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"], + strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"], + strictBind: ["eval", "arguments"] +}; +const keywords = new Set(reservedWords.keyword); +const reservedWordsStrictSet = new Set(reservedWords.strict); +const reservedWordsStrictBindSet = new Set(reservedWords.strictBind); + +function isReservedWord(word, inModule) { + return inModule && word === "await" || word === "enum"; +} + +function isStrictReservedWord(word, inModule) { + return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word); +} + +function isStrictBindOnlyReservedWord(word) { + return reservedWordsStrictBindSet.has(word); +} + +function isStrictBindReservedWord(word, inModule) { + return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word); +} + +function isKeyword(word) { + return keywords.has(word); +} \ No newline at end of file diff --git a/node_modules/@babel/highlight/lib/index.js b/node_modules/@babel/highlight/lib/index.js new file mode 100644 index 0000000..b0d1be7 --- /dev/null +++ b/node_modules/@babel/highlight/lib/index.js @@ -0,0 +1,107 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.shouldHighlight = shouldHighlight; +exports.getChalk = getChalk; +exports.default = highlight; + +var _jsTokens = _interopRequireWildcard(require("js-tokens")); + +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); + +var _chalk = _interopRequireDefault(require("chalk")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + +function getDefs(chalk) { + return { + keyword: chalk.cyan, + capitalized: chalk.yellow, + jsx_tag: chalk.yellow, + punctuator: chalk.yellow, + number: chalk.magenta, + string: chalk.green, + regex: chalk.magenta, + comment: chalk.grey, + invalid: chalk.white.bgRed.bold + }; +} + +const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; +const JSX_TAG = /^[a-z][\w-]*$/i; +const BRACKET = /^[()[\]{}]$/; + +function getTokenType(match) { + const [offset, text] = match.slice(-2); + const token = (0, _jsTokens.matchToToken)(match); + + if (token.type === "name") { + if ((0, _helperValidatorIdentifier.isKeyword)(token.value) || (0, _helperValidatorIdentifier.isReservedWord)(token.value)) { + return "keyword"; + } + + if (JSX_TAG.test(token.value) && (text[offset - 1] === "<" || text.substr(offset - 2, 2) == " colorize(str)).join("\n"); + } else { + return args[0]; + } + }); +} + +function shouldHighlight(options) { + return _chalk.default.supportsColor || options.forceColor; +} + +function getChalk(options) { + let chalk = _chalk.default; + + if (options.forceColor) { + chalk = new _chalk.default.constructor({ + enabled: true, + level: 1 + }); + } + + return chalk; +} + +function highlight(code, options = {}) { + if (shouldHighlight(options)) { + const chalk = getChalk(options); + const defs = getDefs(chalk); + return highlightTokens(defs, code); + } else { + return code; + } +} \ No newline at end of file diff --git a/node_modules/@commitlint/cli/CHANGELOG.md b/node_modules/@commitlint/cli/CHANGELOG.md deleted file mode 100644 index b837d0f..0000000 --- a/node_modules/@commitlint/cli/CHANGELOG.md +++ /dev/null @@ -1,852 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28) - -**Note:** Version bump only for package @commitlint/cli - - - - - -# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24) - - -### Bug Fixes - -* **cli:** remove hard coded comment char with linting `COMMIT_EDIT_MSG` ([#2618](https://github.com/conventional-changelog/commitlint/issues/2618)) ([5badf6d](https://github.com/conventional-changelog/commitlint/commit/5badf6dc08116ed3557e6c780e55764b4f07ca67)), closes [#2351](https://github.com/conventional-changelog/commitlint/issues/2351) - - - - - -# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) - - -* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596) - - -### BREAKING CHANGES - -* minimum node version is 12 - - - - - -## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12) - - -### Bug Fixes - -* update dependency fs-extra to v10 ([#2575](https://github.com/conventional-changelog/commitlint/issues/2575)) ([d47d2b5](https://github.com/conventional-changelog/commitlint/commit/d47d2b595b980adadd4fb8ff198c1914caeff18f)) -* update dependency yargs to v17 ([#2574](https://github.com/conventional-changelog/commitlint/issues/2574)) ([81c38dd](https://github.com/conventional-changelog/commitlint/commit/81c38ddf15f239b525f673b26b2ee6606f2ee8f6)) - - - - - -## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29) - -**Note:** Version bump only for package @commitlint/cli - - - - - -## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) - -**Note:** Version bump only for package @commitlint/cli - - - - - -# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) - -**Note:** Version bump only for package @commitlint/cli - - - - - -## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) - -**Note:** Version bump only for package @commitlint/cli - - - - - -# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) - - -### Bug Fixes - -* update dependency execa to v5 ([#2341](https://github.com/conventional-changelog/commitlint/issues/2341)) ([f349df9](https://github.com/conventional-changelog/commitlint/commit/f349df90f08096a9bcad46b5e55b411aac327a24)) -* update dependency yargs to v16 ([204f36d](https://github.com/conventional-changelog/commitlint/commit/204f36d0a522afaf3a88739b401aea15ffa0b891)) - - -### Features - -* **cli:** implement print-config cli flag ([#2391](https://github.com/conventional-changelog/commitlint/issues/2391)) ([8626883](https://github.com/conventional-changelog/commitlint/commit/86268833946dea9dcf1c15459456cd4427d17835)) -* **load:** allow specifying helpUrl via config ([#2180](https://github.com/conventional-changelog/commitlint/issues/2180)) ([d6795a3](https://github.com/conventional-changelog/commitlint/commit/d6795a3c4633ba6efd7a0fcff48339dc291cd832)) - - - - - -# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) - - -### Bug Fixes - -* **cli:** remove default value from edit option [#2065](https://github.com/conventional-changelog/commitlint/issues/2065) ([3d4116d](https://github.com/conventional-changelog/commitlint/commit/3d4116d044a2f5149a9c9c1d9fa35abf5e232479)) - - - - - -# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16) - - -### Bug Fixes - -* update dependency execa to v4 ([#1936](https://github.com/conventional-changelog/commitlint/issues/1936)) ([8efb441](https://github.com/conventional-changelog/commitlint/commit/8efb44193058d286f7325327a6d33936b273ec91)) -* update dependency fs-extra to v9 ([#1018](https://github.com/conventional-changelog/commitlint/issues/1018)) ([2df49fa](https://github.com/conventional-changelog/commitlint/commit/2df49fac907993ae78199a1012e918b0e2ff5621)) -* update dependency get-stdin to v8 ([#1938](https://github.com/conventional-changelog/commitlint/issues/1938)) ([f94a5c8](https://github.com/conventional-changelog/commitlint/commit/f94a5c82861523aa1cf407ffe062f99ecbbfb4e4)) - - -* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999) - - -### BREAKING CHANGES - -* remove node 8 from circle-ci checks - -also remove node 13 because we do not support experimental versions - -* docs: update node v10 to latest LTS 10 version - -Co-authored-by: Cedric van Putten - -Co-authored-by: Cedric van Putten - - - - - -## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) - -**Note:** Version bump only for package @commitlint/cli - - - - - -## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) - -**Note:** Version bump only for package @commitlint/cli - - - - - -# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) - - -### Bug Fixes - -* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) -* update dependency regenerator-runtime to v0.13.5 ([#1017](https://github.com/conventional-changelog/commitlint/issues/1017)) ([9c4fdf1](https://github.com/conventional-changelog/commitlint/commit/9c4fdf1b5f42677422532dad655af9aed9b43881)) - - - - - -## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) - - -### Bug Fixes - -* add missing @babel/runtime dep [#1738](https://github.com/conventional-changelog/commitlint/issues/1738) ([#1754](https://github.com/conventional-changelog/commitlint/issues/1754)) ([09afcd6](https://github.com/conventional-changelog/commitlint/commit/09afcd647a2c1d00538cf1c970e3790d936111f8)) - - - - - -# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) - - -### Bug Fixes - -* **cli:** add missing regenerator-runtime to dependencies ([#919](https://github.com/conventional-changelog/commitlint/issues/919)) ([ee5eac9](https://github.com/conventional-changelog/commitlint/commit/ee5eac98fa97ba5ba17030c8d2705aee5c7f3a3a)) -* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) - - - - - -## [8.3.5](https://github.com/conventional-changelog/commitlint/compare/v8.3.4...v8.3.5) (2020-01-15) - -**Note:** Version bump only for package @commitlint/cli - - - - - -## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) - -**Note:** Version bump only for package @commitlint/cli - - - - - -## [8.3.1](https://github.com/conventional-changelog/commitlint/compare/v8.3.0...v8.3.1) (2019-10-16) - -**Note:** Version bump only for package @commitlint/cli - - - - - -# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) - - -### Features - -* **cli:** add helpurl flag ([#789](https://github.com/conventional-changelog/commitlint/issues/789)) ([75cef4e](https://github.com/conventional-changelog/commitlint/commit/75cef4e)) - - - - - -# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) - - -### Bug Fixes - -* pass defaultIgnores from configuration in @commitlint/cli ([#771](https://github.com/conventional-changelog/commitlint/issues/771)) ([a259014](https://github.com/conventional-changelog/commitlint/commit/a259014)) - - - - - -# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15) - - -### Bug Fixes - -* pass ignores from configuration in @commitlint/cli ([#668](https://github.com/conventional-changelog/commitlint/issues/668)) ([da99aaa](https://github.com/conventional-changelog/commitlint/commit/da99aaa)) - - - - - -## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09) - -**Note:** Version bump only for package @commitlint/cli - - - - - -# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06) - - -### Bug Fixes - -* avoid excessive help text [#606](https://github.com/conventional-changelog/commitlint/issues/606) ([#637](https://github.com/conventional-changelog/commitlint/issues/637)) ([8f3c3b1](https://github.com/conventional-changelog/commitlint/commit/8f3c3b1)) - - -### Features - -* adds support for plugins ([#228](https://github.com/conventional-changelog/commitlint/issues/228)) ([#588](https://github.com/conventional-changelog/commitlint/issues/588)) ([cea4564](https://github.com/conventional-changelog/commitlint/commit/cea4564)) - - - - - -## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11) - - -### Bug Fixes - -* **cli:** replace old links with new organisation links ([#578](https://github.com/conventional-changelog/commitlint/issues/578)) ([4075903](https://github.com/conventional-changelog/commitlint/commit/4075903)) - - - - - -## [7.5.1](https://github.com/conventional-changelog/commitlint/compare/v7.5.0...v7.5.1) (2019-02-09) - -**Note:** Version bump only for package @commitlint/cli - - - - - - -# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31) - - -### Bug Fixes - -* **cli:** avoid linebreak in empty input ([#523](https://github.com/conventional-changelog/commitlint/issues/523)) ([3141882](https://github.com/conventional-changelog/commitlint/commit/3141882)) -* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a)) -* cleanup message for input with no config ([#519](https://github.com/conventional-changelog/commitlint/issues/519)) ([7d9e760](https://github.com/conventional-changelog/commitlint/commit/7d9e760)) -* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd)) -* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1)) - - - - - -# [7.4.0](https://github.com/conventional-changelog/commitlint/compare/v7.3.2...v7.4.0) (2019-01-27) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [7.3.2](https://github.com/conventional-changelog/commitlint/compare/v7.3.1...v7.3.2) (2019-01-15) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) - - -### Bug Fixes - -* add fallback with husky git params to deprecation handling ([#498](https://github.com/conventional-changelog/commitlint/issues/498)) ([5a34b8c](https://github.com/conventional-changelog/commitlint/commit/5a34b8c)) -* avoid truncated output on macOS ([#503](https://github.com/conventional-changelog/commitlint/issues/503)) ([3192368](https://github.com/conventional-changelog/commitlint/commit/3192368)) -* respect String.protoype.repeat API contract ([f27e7ac](https://github.com/conventional-changelog/commitlint/commit/f27e7ac)) -* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b)) -* use correct label for failing empty subjects ([#481](https://github.com/conventional-changelog/commitlint/issues/481)) ([2e7e34d](https://github.com/conventional-changelog/commitlint/commit/2e7e34d)), closes [#476](https://github.com/conventional-changelog/commitlint/issues/476) - - -### Features - -* check stage before entering prompt ([#495](https://github.com/conventional-changelog/commitlint/issues/495)) ([3b3667a](https://github.com/conventional-changelog/commitlint/commit/3b3667a)), closes [#51](https://github.com/conventional-changelog/commitlint/issues/51) [#51](https://github.com/conventional-changelog/commitlint/issues/51) -* warn on empty config ([#491](https://github.com/conventional-changelog/commitlint/issues/491)) ([b6bd36e](https://github.com/conventional-changelog/commitlint/commit/b6bd36e)), closes [#107](https://github.com/conventional-changelog/commitlint/issues/107) [#107](https://github.com/conventional-changelog/commitlint/issues/107) - - - - - -## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11) - - -### Bug Fixes - -* improve format module resolving ([#464](https://github.com/conventional-changelog/commitlint/issues/464)) ([baed8b1](https://github.com/conventional-changelog/commitlint/commit/baed8b1)) - - - - - -# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05) - - -### Features - -* **cli:** add format option for report output ([1ecf097](https://github.com/conventional-changelog/commitlint/commit/1ecf097)) - - - - - -## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [6.2.0](https://github.com/conventional-changelog/commitlint/compare/v6.1.3...v6.2.0) (2018-05-01) - - -### Features - -* print commit message when the message is invalid ([86c34f1](https://github.com/conventional-changelog/commitlint/commit/86c34f1)), closes [#222](https://github.com/conventional-changelog/commitlint/issues/222) - - - - - -## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03) - - -### Features - -* add "--config" option ([#261](https://github.com/conventional-changelog/commitlint/issues/261)) ([2c03ec6](https://github.com/conventional-changelog/commitlint/commit/2c03ec6)) - - - - - -## [6.0.5](https://github.com/conventional-changelog/commitlint/compare/v6.0.4...v6.0.5) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [6.0.1](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.1) (2018-01-09) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09) - - -### Bug Fixes - -* correctly resolve parserOpts [#115](https://github.com/conventional-changelog/commitlint/issues/115) [#95](https://github.com/conventional-changelog/commitlint/issues/95) ([1353dd5](https://github.com/conventional-changelog/commitlint/commit/1353dd5)) - - - - - -## [5.2.6](https://github.com/conventional-changelog/commitlint/compare/v5.2.5...v5.2.6) (2017-12-21) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [5.2.5](https://github.com/conventional-changelog/commitlint/compare/v5.2.4...v5.2.5) (2017-12-08) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [5.2.4](https://github.com/conventional-changelog/commitlint/compare/v5.2.3...v5.2.4) (2017-12-08) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [5.2.3](https://github.com/conventional-changelog/commitlint/compare/v5.2.2...v5.2.3) (2017-12-05) - - -### Bug Fixes - -* **cli:** add support for GIT_PARAMS on windows ([c62bd41](https://github.com/conventional-changelog/commitlint/commit/c62bd41)), closes [#103](https://github.com/conventional-changelog/commitlint/issues/103) [#175](https://github.com/conventional-changelog/commitlint/issues/175) - - - - - -# [5.2.0](https://github.com/conventional-changelog/commitlint/compare/v5.1.3...v5.2.0) (2017-11-30) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [5.1.1](https://github.com/conventional-changelog/commitlint/compare/v5.1.0...v5.1.1) (2017-11-24) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [5.1.0](https://github.com/conventional-changelog/commitlint/compare/v5.0.2...v5.1.0) (2017-11-24) - - -### Bug Fixes - -* update dependency concurrently to v3.5.1 ([#147](https://github.com/conventional-changelog/commitlint/issues/147)) ([a809d0f](https://github.com/conventional-changelog/commitlint/commit/a809d0f)) - - -### Features - -* **travis-cli:** add reusable travis command line interface ([3e6e6a8](https://github.com/conventional-changelog/commitlint/commit/3e6e6a8)) - - - - - -## [5.0.1](https://github.com/conventional-changelog/commitlint/compare/v5.0.0...v5.0.1) (2017-11-19) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [4.3.0](https://github.com/conventional-changelog/commitlint/compare/v4.2.2...v4.3.0) (2017-11-08) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [4.2.2](https://github.com/conventional-changelog/commitlint/compare/v4.2.1...v4.2.2) (2017-10-26) - - - - -**Note:** Version bump only for package @commitlint/cli - - -## [4.2.1](https://github.com/conventional-changelog/commitlint/compare/v4.2.0...v4.2.1) (2017-10-18) - - -### Bug Fixes - -* nicer error messages ([#93](https://github.com/conventional-changelog/commitlint/issues/93)) ([dcfad61](https://github.com/conventional-changelog/commitlint/commit/dcfad61)) -* **core:** consider config outside of current git repo ([f7234b6](https://github.com/conventional-changelog/commitlint/commit/f7234b6)) - - - - - -# [4.2.0](https://github.com/conventional-changelog/commitlint/compare/v4.1.1...v4.2.0) (2017-10-14) - - -### Features - -* edit flag now accepts the path to the commit file ([c881433](https://github.com/conventional-changelog/commitlint/commit/c881433)), closes [#40](https://github.com/conventional-changelog/commitlint/issues/40) - - - - - -## [4.1.1](https://github.com/conventional-changelog/commitlint/compare/v4.1.0...v4.1.1) (2017-10-09) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [4.1.0](https://github.com/conventional-changelog/commitlint/compare/v4.0.0...v4.1.0) (2017-10-05) - - - - -**Note:** Version bump only for package @commitlint/cli - - -# [4.0.0](https://github.com/conventional-changelog/commitlint/compare/v3.2.0...v4.0.0) (2017-10-04) - - -### Features - -* enable alternative config formats ([#83](https://github.com/conventional-changelog/commitlint/issues/83)) ([91968b8](https://github.com/conventional-changelog/commitlint/commit/91968b8)), closes [#73](https://github.com/conventional-changelog/commitlint/issues/73) - - -### BREAKING CHANGES - -* discontinue support of conventional-changelog-lintrc - -* test: make git setup reliable - - - - - -# 3.2.0 (2017-09-05) - - -### Features - -* add preset parser ([5cd2335](https://github.com/conventional-changelog/commitlint/commit/5cd2335)) - - - - -## 3.1.3 (2017-08-21) - - -### Bug Fixes - -* **core:** determine git root correctly in sub directories ([#64](https://github.com/conventional-changelog/commitlint/issues/64)) ([d594ec4](https://github.com/conventional-changelog/commitlint/commit/d594ec4)), closes [#62](https://github.com/conventional-changelog/commitlint/issues/62) - - - - -## 3.1.2 (2017-08-07) - - - - -## 3.1.1 (2017-08-07) - - - - -## 3.0.4 (2017-08-04) - - -### Bug Fixes - -* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26)) - - - - -## 3.0.3 (2017-07-16) - - - - -## 3.0.2 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.1.3 (2017-08-21) - - -### Bug Fixes - -* **core:** determine git root correctly in sub directories ([#64](https://github.com/conventional-changelog/commitlint/issues/64)) ([d594ec4](https://github.com/conventional-changelog/commitlint/commit/d594ec4)), closes [#62](https://github.com/conventional-changelog/commitlint/issues/62) - - - - -## 3.1.2 (2017-08-07) - - - - -## 3.1.1 (2017-08-07) - - - - -## 3.0.4 (2017-08-04) - - -### Bug Fixes - -* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26)) - - - - -## 3.0.3 (2017-07-16) - - - - -## 3.0.2 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.1.2 (2017-08-07) - - - - -## 3.1.1 (2017-08-07) - - - - -## 3.0.4 (2017-08-04) - - -### Bug Fixes - -* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26)) - - - - -## 3.0.3 (2017-07-16) - - - - -## 3.0.2 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.0.4 (2017-08-04) - - -### Bug Fixes - -* **core:** correct type validation message ([09c2b26](https://github.com/conventional-changelog/commitlint/commit/09c2b26)) - - - - -## 3.0.3 (2017-07-16) - - - - -## 3.0.2 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.0.3 (2017-07-16) - - - - -## 3.0.2 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.0.2 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.0.1 (2017-07-11) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([fe8caff](https://github.com/conventional-changelog/commitlint/commit/fe8caff)) -* ensure node4 compat ([bfeb653](https://github.com/conventional-changelog/commitlint/commit/bfeb653)) - - - - - -## 3.0.1 (2017-07-11) - - - - -# 3.0.0 (2017-07-10) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([94437e8](https://github.com/conventional-changelog/commitlint/commit/94437e8)) -* ensure node4 compat ([a5e658a](https://github.com/conventional-changelog/commitlint/commit/a5e658a)) - - - - - -# 3.0.0 (2017-07-10) - - -### Bug Fixes - -* **cli:** remove destructuring for node 4 support ([94437e8](https://github.com/conventional-changelog/commitlint/commit/94437e8)) -* ensure node4 compat ([a5e658a](https://github.com/conventional-changelog/commitlint/commit/a5e658a)) diff --git a/node_modules/@commitlint/cli/README.md b/node_modules/@commitlint/cli/README.md deleted file mode 100644 index 75f3b0f..0000000 --- a/node_modules/@commitlint/cli/README.md +++ /dev/null @@ -1,16 +0,0 @@ -> Lint commit messages - -

- -

- -# @commitlint/cli - -## Getting started - -``` -npm install --save-dev @commitlint/cli @commitlint/config-angular -echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint.config.js -``` - -Consult [docs/cli](https://conventional-changelog.github.io/commitlint/#/reference-cli) for comprehensive documentation. diff --git a/node_modules/@commitlint/cli/cli.js b/node_modules/@commitlint/cli/cli.js deleted file mode 100755 index 4856fd7..0000000 --- a/node_modules/@commitlint/cli/cli.js +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env node -require('./lib/cli.js'); diff --git a/node_modules/@commitlint/cli/index.js b/node_modules/@commitlint/cli/index.js deleted file mode 100644 index bc56366..0000000 --- a/node_modules/@commitlint/cli/index.js +++ /dev/null @@ -1,3 +0,0 @@ -const path = require('path'); - -module.exports = path.join(__dirname, 'cli.js'); diff --git a/node_modules/@commitlint/cli/license.md b/node_modules/@commitlint/cli/license.md deleted file mode 100644 index 9f7de65..0000000 --- a/node_modules/@commitlint/cli/license.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 - present Mario Nebl - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@commitlint/cli/package.json b/node_modules/@commitlint/cli/package.json deleted file mode 100644 index de05bfb..0000000 --- a/node_modules/@commitlint/cli/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "@commitlint/cli", - "version": "13.2.0", - "description": "Lint your commit messages", - "files": [ - "index.js", - "cli.js", - "lib" - ], - "bin": { - "commitlint": "./cli.js" - }, - "scripts": { - "deps": "dep-check", - "pkg": "pkg-check" - }, - "engines": { - "node": ">=v12" - }, - "repository": { - "type": "git", - "url": "https://github.com/conventional-changelog/commitlint.git" - }, - "bugs": { - "url": "https://github.com/conventional-changelog/commitlint/issues" - }, - "homepage": "https://github.com/conventional-changelog/commitlint#readme", - "keywords": [ - "conventional-changelog", - "commitlint", - "cli" - ], - "author": { - "name": "Mario Nebl", - "email": "hello@herebecode.com" - }, - "license": "MIT", - "devDependencies": { - "@commitlint/test": "^13.2.0", - "@commitlint/utils": "^13.2.0", - "@types/node": "12.20.27", - "@types/yargs": "^17.0.0", - "execa": "^5.0.0", - "fs-extra": "^10.0.0" - }, - "dependencies": { - "@commitlint/format": "^13.2.0", - "@commitlint/lint": "^13.2.0", - "@commitlint/load": "^13.2.0", - "@commitlint/read": "^13.2.0", - "@commitlint/types": "^13.2.0", - "lodash": "^4.17.19", - "resolve-from": "5.0.0", - "resolve-global": "1.0.0", - "yargs": "^17.0.0" - }, - "gitHead": "65e45339c79e46d01e35ec067edf14d225a3528a" - -,"_resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-13.2.0.tgz" -,"_integrity": "sha512-RqG0cxxiwaL9OgQbA2ZEfZaVIRJmbtsZgnj5G07AjN7///s/40grSN4/kDl8YjUgvAZskPfJRoGGYNvHJ4zHWA==" -,"_from": "@commitlint/cli@13.2.0" -} \ No newline at end of file diff --git a/node_modules/@commitlint/config-conventional/CHANGELOG.md b/node_modules/@commitlint/config-conventional/CHANGELOG.md deleted file mode 100644 index f600b62..0000000 --- a/node_modules/@commitlint/config-conventional/CHANGELOG.md +++ /dev/null @@ -1,353 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24) - - -### Bug Fixes - -* **cz-commitlint:** fix minor formatting issues ([99d8881](https://github.com/conventional-changelog/commitlint/commit/99d8881d0d951deded6d9e31bbb279d04101549b)) - - - - - -# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) - - -### Features - -* add subject-exclamation-mark rule to improve error messages ([#2593](https://github.com/conventional-changelog/commitlint/issues/2593)) ([be701bd](https://github.com/conventional-changelog/commitlint/commit/be701bdb1de4e667b7a872767244285c4fa4fda4)) - - -* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596) - - -### BREAKING CHANGES - -* minimum node version is 12 - - - - - -## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16) - - -### Bug Fixes - -* update dependency ([#1993](https://github.com/conventional-changelog/commitlint/issues/1993)) ([32667e8](https://github.com/conventional-changelog/commitlint/commit/32667e8aa665cf94fe669ba048ad7abaf6abac6e)) - - -* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999) - - -### BREAKING CHANGES - -* remove node 8 from circle-ci checks - -also remove node 13 because we do not support experimental versions - -* docs: update node v10 to latest LTS 10 version - -Co-authored-by: Cedric van Putten - -Co-authored-by: Cedric van Putten - - - - - -## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) - - -### Bug Fixes - -* update dependency conventional-changelog-conventionalcommits to v4.3.0 ([#1816](https://github.com/conventional-changelog/commitlint/issues/1816)) ([f99aeda](https://github.com/conventional-changelog/commitlint/commit/f99aeda068aabdb250e2c9819da7229a695154b9)) - - - - - -## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) - - -### Bug Fixes - -* drop support for 'improvement' type ([#899](https://github.com/conventional-changelog/commitlint/issues/899)) ([b27ab08](https://github.com/conventional-changelog/commitlint/commit/b27ab08544373cfb72a4808756e2e8126ea96a97)) - - -### Features - -* **config-conventional:** footer/body-max-line ([#436](https://github.com/conventional-changelog/commitlint/issues/436)) ([8b394c9](https://github.com/conventional-changelog/commitlint/commit/8b394c94ffe37322d734bd4944add4a6cb2a4689)) -* **config-conventional:** increase header-max-length to 100 ([#860](https://github.com/conventional-changelog/commitlint/issues/860)) ([ff11998](https://github.com/conventional-changelog/commitlint/commit/ff11998e0cf6fcd4f03bc18ab27b1bdd6bf21906)), closes [#859](https://github.com/conventional-changelog/commitlint/issues/859) - - -### BREAKING CHANGES - -* 'improvement' type will now be rejected by this config. - - - - - -## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) - - -### Features - -* **config-conventional:** use parser with short breaking change support ([#821](https://github.com/conventional-changelog/commitlint/issues/821)) ([4b5300a](https://github.com/conventional-changelog/commitlint/commit/4b5300a)) - - - - - -# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - -# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06) - -**Note:** Version bump only for package @commitlint/config-conventional - - - - - - -# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31) - - -### Bug Fixes - -* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a)) -* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd)) -* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1)) - - - - - -## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [5.2.3](https://github.com/conventional-changelog/commitlint/compare/v5.2.2...v5.2.3) (2017-12-05) - - - - -**Note:** Version bump only for package @commitlint/config-conventional - - -## [5.1.3](https://github.com/conventional-changelog/commitlint/compare/v5.1.2...v5.1.3) (2017-11-24) - - -### Bug Fixes - -* **config-conventional:** add missing applicable attribute to type-enum ([a8db0b1](https://github.com/conventional-changelog/commitlint/commit/a8db0b1)) - - - - - -## [5.1.1](https://github.com/conventional-changelog/commitlint/compare/v5.1.0...v5.1.1) (2017-11-24) - - -### Bug Fixes - -* set access for npm ([8aeaec2](https://github.com/conventional-changelog/commitlint/commit/8aeaec2)) - - - - - -# [5.1.0](https://github.com/conventional-changelog/commitlint/compare/v5.0.2...v5.1.0) (2017-11-24) - - -### Bug Fixes - -* **config-conventional:** remove unneeded dependency ([d0e62fd](https://github.com/conventional-changelog/commitlint/commit/d0e62fd)) - - -### Features - -* add conventional-changelog package ([8bb0a85](https://github.com/conventional-changelog/commitlint/commit/8bb0a85)) diff --git a/node_modules/@commitlint/config-conventional/README.md b/node_modules/@commitlint/config-conventional/README.md deleted file mode 100644 index c0dbebe..0000000 --- a/node_modules/@commitlint/config-conventional/README.md +++ /dev/null @@ -1,224 +0,0 @@ -> Lint your conventional commits - -# @commitlint/config-conventional - -Shareable `commitlint` config enforcing [conventional commits](https://conventionalcommits.org/). -Use with [@commitlint/cli](https://npm.im/@commitlint/cli) and [@commitlint/prompt-cli](https://npm.im/@commitlint/prompt-cli). - -## Getting started - -```sh -npm install --save-dev @commitlint/config-conventional @commitlint/cli -echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js -``` - -## Rules - -### Problems - -The following rules are considered problems for `@commitlint/config-conventional` and will yield a non-zero exit code when not met. - -Consult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules. - -#### type-enum - -- **condition**: `type` is found in value -- **rule**: `always` -- **level**: `error` -- **value** - - ``` - [ - 'build', - 'chore', - 'ci', - 'docs', - 'feat', - 'fix', - 'perf', - 'refactor', - 'revert', - 'style', - 'test' - ]; - ``` - -```sh -echo "foo: some message" # fails -echo "fix: some message" # passes -``` - -#### type-case - -- **description**: `type` is in case `value` -- **rule**: `always` -- **level**: `error` -- **value** - ``` - 'lowerCase' - ``` - -```sh -echo "FIX: some message" # fails -echo "fix: some message" # passes -``` - -#### type-empty - -- **condition**: `type` is empty -- **rule**: `never` -- **level**: `error` - -```sh -echo ": some message" # fails -echo "fix: some message" # passes -``` - -#### scope-case - -- **condition**: `scope` is in case `value` -- **rule**: `always` -- **level**: `error` - -``` -'lowerCase' -``` - -```sh -echo "fix(SCOPE): some message" # fails -echo "fix(scope): some message" # passes -``` - -#### subject-case - -- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']` -- **rule**: `never` -- **level**: `error` - -```sh -echo "fix(SCOPE): Some message" # fails -echo "fix(SCOPE): Some Message" # fails -echo "fix(SCOPE): SomeMessage" # fails -echo "fix(SCOPE): SOMEMESSAGE" # fails -echo "fix(scope): some message" # passes -echo "fix(scope): some Message" # passes -``` - -#### subject-empty - -- **condition**: `subject` is empty -- **rule**: `never` -- **level**: `error` - -```sh -echo "fix:" # fails -echo "fix: some message" # passes -``` - -#### subject-full-stop - -- **condition**: `subject` ends with `value` -- **rule**: `never` -- **level**: `error` -- **value** - -``` -'.' -``` - -```sh -echo "fix: some message." # fails -echo "fix: some message" # passes -``` - -#### header-max-length - -- **condition**: `header` has `value` or less characters -- **rule**: `always` -- **level**: `error` -- **value** - -``` -100 -``` - -```sh -echo "fix: some message that is way too long and breaks the line max-length by several characters" # fails -echo "fix: some message" # passes -``` - -#### footer-leading-blank - -- **condition**: `footer` should have a leading blank line -- **rule**: `always` -- level: `warning` - -```sh -echo "fix: some message -BREAKING CHANGE: It will be significant" # warning - -echo "fix: some message - -BREAKING CHANGE: It will be significant" # passes -``` - -#### footer-max-line-length - -- **condition**: `footer` each line has `value` or less characters -- **rule**: `always` -- level: `error` -- **value** - -``` -100 -``` - -```sh -echo "fix: some message - -BREAKING CHANGE: footer with multiple lines -has a message that is way too long and will break the line rule 'line-max-length' by several characters" # fails - -echo "fix: some message - -BREAKING CHANGE: footer with multiple lines -but still no line is too long" # passes -``` - -#### body-leading-blank - -- **condition**: `body` should have a leading blank line -- **rule**: `always` -- level: `warning` - -```sh -echo "fix: some message -body" # warning - -echo "fix: some message - -body" # passes -``` - -#### body-max-line-length - -- **condition**: `body` each line has `value` or less characters -- **rule**: `always` -- level: `error` -- **value** - -``` -100 -``` - -```sh -echo "fix: some message - -body with multiple lines -has a message that is way too long and will break the line rule 'line-max-length' by several characters" # fails - -echo "fix: some message - -body with multiple lines -but still no line is too long" # passes -``` diff --git a/node_modules/@commitlint/config-conventional/index.js b/node_modules/@commitlint/config-conventional/index.js deleted file mode 100644 index a2e917d..0000000 --- a/node_modules/@commitlint/config-conventional/index.js +++ /dev/null @@ -1,135 +0,0 @@ -module.exports = { - parserPreset: 'conventional-changelog-conventionalcommits', - rules: { - 'body-leading-blank': [1, 'always'], - 'body-max-line-length': [2, 'always', 100], - 'footer-leading-blank': [1, 'always'], - 'footer-max-line-length': [2, 'always', 100], - 'header-max-length': [2, 'always', 100], - 'subject-case': [ - 2, - 'never', - ['sentence-case', 'start-case', 'pascal-case', 'upper-case'], - ], - 'subject-empty': [2, 'never'], - 'subject-full-stop': [2, 'never', '.'], - 'type-case': [2, 'always', 'lower-case'], - 'type-empty': [2, 'never'], - 'type-enum': [ - 2, - 'always', - [ - 'build', - 'chore', - 'ci', - 'docs', - 'feat', - 'fix', - 'perf', - 'refactor', - 'revert', - 'style', - 'test', - ], - ], - }, - prompt: { - questions: { - type: { - description: "Select the type of change that you're committing", - enum: { - feat: { - description: 'A new feature', - title: 'Features', - emoji: '✨', - }, - fix: { - description: 'A bug fix', - title: 'Bug Fixes', - emoji: '🐛', - }, - docs: { - description: 'Documentation only changes', - title: 'Documentation', - emoji: '📚', - }, - style: { - description: - 'Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)', - title: 'Styles', - emoji: '💎', - }, - refactor: { - description: - 'A code change that neither fixes a bug nor adds a feature', - title: 'Code Refactoring', - emoji: '📦', - }, - perf: { - description: 'A code change that improves performance', - title: 'Performance Improvements', - emoji: '🚀', - }, - test: { - description: 'Adding missing tests or correcting existing tests', - title: 'Tests', - emoji: '🚨', - }, - build: { - description: - 'Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)', - title: 'Builds', - emoji: '🛠', - }, - ci: { - description: - 'Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)', - title: 'Continuous Integrations', - emoji: '⚙️', - }, - chore: { - description: "Other changes that don't modify src or test files", - title: 'Chores', - emoji: '♻️', - }, - revert: { - description: 'Reverts a previous commit', - title: 'Reverts', - emoji: '🗑', - }, - }, - }, - scope: { - description: - 'What is the scope of this change (e.g. component or file name)', - }, - subject: { - description: - 'Write a short, imperative tense description of the change', - }, - body: { - description: 'Provide a longer description of the change', - }, - isBreaking: { - description: 'Are there any breaking changes?', - }, - breakingBody: { - description: - 'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself', - }, - breaking: { - description: 'Describe the breaking changes', - }, - isIssueAffected: { - description: 'Does this change affect any open issues?', - }, - issuesBody: { - description: - 'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself', - }, - issues: { - description: 'Add issue references (e.g. "fix #123", "re #123".)', - }, - }, - }, -}; diff --git a/node_modules/@commitlint/config-conventional/license.md b/node_modules/@commitlint/config-conventional/license.md deleted file mode 100644 index 9f7de65..0000000 --- a/node_modules/@commitlint/config-conventional/license.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 - present Mario Nebl - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@commitlint/config-conventional/package.json b/node_modules/@commitlint/config-conventional/package.json deleted file mode 100644 index a837cc5..0000000 --- a/node_modules/@commitlint/config-conventional/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@commitlint/config-conventional", - "version": "13.2.0", - "description": "Shareable commitlint config enforcing conventional commits", - "files": [ - "index.js" - ], - "scripts": { - "deps": "dep-check", - "pkg": "pkg-check" - }, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/conventional-changelog/commitlint.git" - }, - "keywords": [ - "conventional-changelog", - "commitlint", - "commitlint-config", - "angular" - ], - "author": "Mario Nebl ", - "license": "MIT", - "bugs": { - "url": "https://github.com/conventional-changelog/commitlint/issues" - }, - "homepage": "https://github.com/conventional-changelog/commitlint#readme", - "engines": { - "node": ">=v12" - }, - "devDependencies": { - "@commitlint/lint": "^13.2.0", - "@commitlint/utils": "^13.2.0" - }, - "dependencies": { - "conventional-changelog-conventionalcommits": "^4.3.1" - }, - "gitHead": "65e45339c79e46d01e35ec067edf14d225a3528a" - -,"_resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-13.2.0.tgz" -,"_integrity": "sha512-7u7DdOiF+3qSdDlbQGfpvCH8DCQdLFvnI2+VucYmmV7E92iD6t9PBj+UjIoSQCaMAzYp27Vkall78AkcXBh6Xw==" -,"_from": "@commitlint/config-conventional@13.2.0" -} \ No newline at end of file diff --git a/node_modules/@commitlint/ensure/CHANGELOG.md b/node_modules/@commitlint/ensure/CHANGELOG.md deleted file mode 100644 index 70c14c7..0000000 --- a/node_modules/@commitlint/ensure/CHANGELOG.md +++ /dev/null @@ -1,312 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) - - -* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596) - - -### BREAKING CHANGES - -* minimum node version is 12 - - - - - -## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16) - - -* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999) - - -### BREAKING CHANGES - -* remove node 8 from circle-ci checks - -also remove node 13 because we do not support experimental versions - -* docs: update node v10 to latest LTS 10 version - -Co-authored-by: Cedric van Putten - -Co-authored-by: Cedric van Putten - - - - - -## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) - - -### Bug Fixes - -* [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644)) - - - - - -## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06) - -**Note:** Version bump only for package @commitlint/ensure - - - - - -## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11) - - -### Bug Fixes - -* failing sentence-case for subjects with slashes ([#574](https://github.com/conventional-changelog/commitlint/issues/574)) ([48a8602](https://github.com/conventional-changelog/commitlint/commit/48a8602)) - - - - - - -# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31) - - -### Bug Fixes - -* `sentence-case` allow upper-case characters in first word ([#531](https://github.com/conventional-changelog/commitlint/issues/531)) ([5a6a4a8](https://github.com/conventional-changelog/commitlint/commit/5a6a4a8)), closes [#211](https://github.com/conventional-changelog/commitlint/issues/211) -* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd)) -* slash in scope [#291](https://github.com/conventional-changelog/commitlint/issues/291) ([#529](https://github.com/conventional-changelog/commitlint/issues/529)) ([b2b63e5](https://github.com/conventional-changelog/commitlint/commit/b2b63e5)) - - - - - -## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/ensure - - -# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) - - -### Bug Fixes - -* fall back to conventional commit-parser settings for missing keys ([#496](https://github.com/conventional-changelog/commitlint/issues/496)) ([831a141](https://github.com/conventional-changelog/commitlint/commit/831a141)), closes [#399](https://github.com/conventional-changelog/commitlint/issues/399) -* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b)) - - - - - -# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05) - - -### Bug Fixes - -* handle case rules for numerics correctly ([cadcfed](https://github.com/conventional-changelog/commitlint/commit/cadcfed)) - - - - - -## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) - - - - -**Note:** Version bump only for package @commitlint/ensure - - -# [7.1.0](https://github.com/conventional-changelog/commitlint/compare/v7.0.1...v7.1.0) (2018-08-29) - - -### Features - -* add max line length to body/footer ([542f50e](https://github.com/conventional-changelog/commitlint/commit/542f50e)) - - - - - -## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) - - -### Bug Fixes - -* **ensure:** ignore word delimiters for case matching [#291](https://github.com/conventional-changelog/commitlint/issues/291) ([fa69299](https://github.com/conventional-changelog/commitlint/commit/fa69299)) - - - - - -# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03) - - - - -**Note:** Version bump only for package @commitlint/ensure - - -## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/ensure - - -## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/ensure - - -## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12) - - - - -**Note:** Version bump only for package @commitlint/ensure - - -# [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09) - - -### Bug Fixes - -* sanitize ensure.case [#211](https://github.com/conventional-changelog/commitlint/issues/211) ([#217](https://github.com/conventional-changelog/commitlint/issues/217)) ([03aeefc](https://github.com/conventional-changelog/commitlint/commit/03aeefc)) diff --git a/node_modules/@commitlint/ensure/license.md b/node_modules/@commitlint/ensure/license.md deleted file mode 100644 index 9f7de65..0000000 --- a/node_modules/@commitlint/ensure/license.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 - present Mario Nebl - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@commitlint/ensure/package.json b/node_modules/@commitlint/ensure/package.json deleted file mode 100644 index 29865a6..0000000 --- a/node_modules/@commitlint/ensure/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@commitlint/ensure", - "version": "13.2.0", - "description": "Lint your commit messages", - "main": "lib/index.js", - "types": "lib/index.d.ts", - "files": [ - "lib/" - ], - "scripts": { - "deps": "dep-check", - "pkg": "pkg-check" - }, - "engines": { - "node": ">=v12" - }, - "repository": { - "type": "git", - "url": "https://github.com/conventional-changelog/commitlint.git" - }, - "bugs": { - "url": "https://github.com/conventional-changelog/commitlint/issues" - }, - "homepage": "https://github.com/conventional-changelog/commitlint#readme", - "keywords": [ - "conventional-changelog", - "commitlint", - "library", - "core" - ], - "author": { - "name": "Mario Nebl", - "email": "hello@herebecode.com" - }, - "license": "MIT", - "devDependencies": { - "@commitlint/utils": "^13.2.0", - "@types/lodash": "^4.14.161", - "globby": "^11.0.0" - }, - "dependencies": { - "@commitlint/types": "^13.2.0", - "lodash": "^4.17.19" - }, - "gitHead": "65e45339c79e46d01e35ec067edf14d225a3528a" - -,"_resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-13.2.0.tgz" -,"_integrity": "sha512-rqhT62RehdLTRBu8OrPHnRCCd/7RmHEE4TiTlT4BLlr5ls5jlZhecOQWJ8np872uCNirrJ5NFjnjYYdbkNoW9Q==" -,"_from": "@commitlint/ensure@13.2.0" -} \ No newline at end of file diff --git a/node_modules/@commitlint/execute-rule/CHANGELOG.md b/node_modules/@commitlint/execute-rule/CHANGELOG.md deleted file mode 100644 index 20a9777..0000000 --- a/node_modules/@commitlint/execute-rule/CHANGELOG.md +++ /dev/null @@ -1,251 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) - - -* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596) - - -### BREAKING CHANGES - -* minimum node version is 12 - - - - - -## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16) - - -* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999) - - -### BREAKING CHANGES - -* remove node 8 from circle-ci checks - -also remove node 13 because we do not support experimental versions - -* docs: update node v10 to latest LTS 10 version - -Co-authored-by: Cedric van Putten - -Co-authored-by: Cedric van Putten - - - - - -## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - -# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06) - -**Note:** Version bump only for package @commitlint/execute-rule - - - - - - -# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31) - - -### Bug Fixes - -* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd)) - - - - - -## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -# [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12) - - - - -**Note:** Version bump only for package @commitlint/execute-rule - - -# [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09) - - - - -**Note:** Version bump only for package @commitlint/execute-rule diff --git a/node_modules/@commitlint/execute-rule/license.md b/node_modules/@commitlint/execute-rule/license.md deleted file mode 100644 index 9f7de65..0000000 --- a/node_modules/@commitlint/execute-rule/license.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 - present Mario Nebl - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@commitlint/execute-rule/package.json b/node_modules/@commitlint/execute-rule/package.json deleted file mode 100644 index 6f9e880..0000000 --- a/node_modules/@commitlint/execute-rule/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "@commitlint/execute-rule", - "version": "13.2.0", - "description": "Lint your commit messages", - "main": "lib/index.js", - "types": "lib/index.d.ts", - "files": [ - "lib/" - ], - "scripts": { - "deps": "dep-check", - "pkg": "pkg-check" - }, - "engines": { - "node": ">=v12" - }, - "repository": { - "type": "git", - "url": "https://github.com/conventional-changelog/commitlint.git" - }, - "bugs": { - "url": "https://github.com/conventional-changelog/commitlint/issues" - }, - "homepage": "https://github.com/conventional-changelog/commitlint#readme", - "keywords": [ - "conventional-changelog", - "commitlint", - "library", - "core" - ], - "author": { - "name": "Mario Nebl", - "email": "hello@herebecode.com" - }, - "license": "MIT", - "devDependencies": { - "@commitlint/utils": "^13.2.0" - }, - "gitHead": "65e45339c79e46d01e35ec067edf14d225a3528a" - -,"_resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-13.2.0.tgz" -,"_integrity": "sha512-6nPwpN0hwTYmsH3WM4hCdN+NrMopgRIuQ0aqZa+jnwMoS/g6ljliQNYfL+m5WO306BaIu1W3yYpbW5aI8gEr0g==" -,"_from": "@commitlint/execute-rule@13.2.0" -} \ No newline at end of file diff --git a/node_modules/@commitlint/format/CHANGELOG.md b/node_modules/@commitlint/format/CHANGELOG.md deleted file mode 100644 index 12f6550..0000000 --- a/node_modules/@commitlint/format/CHANGELOG.md +++ /dev/null @@ -1,281 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) - - -* chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596) - - -### BREAKING CHANGES - -* minimum node version is 12 - - - - - -## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12) - -**Note:** Version bump only for package @commitlint/format - - - - - -## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29) - -**Note:** Version bump only for package @commitlint/format - - - - - -## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02) - -**Note:** Version bump only for package @commitlint/format - - - - - -## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23) - - -### Bug Fixes - -* **types:** correct chalkColor type ([#2420](https://github.com/conventional-changelog/commitlint/issues/2420)) ([ef8bdad](https://github.com/conventional-changelog/commitlint/commit/ef8bdad96c9ee7c3ad67f8280818c7f49c1df1fe)) - - - - - -# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16) - - -* refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999) - - -### BREAKING CHANGES - -* remove node 8 from circle-ci checks - -also remove node 13 because we do not support experimental versions - -* docs: update node v10 to latest LTS 10 version - -Co-authored-by: Cedric van Putten - -Co-authored-by: Cedric van Putten - - - - - -## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13) - -**Note:** Version bump only for package @commitlint/format - - - - - -## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21) - - -### Bug Fixes - -* update dependency chalk to v4 ([#1275](https://github.com/conventional-changelog/commitlint/issues/1275)) ([a5d8fa1](https://github.com/conventional-changelog/commitlint/commit/a5d8fa118e8221361f14f5fd2b21d7aaad008a27)) - - - - - -## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21) - -**Note:** Version bump only for package @commitlint/format - - - - - -## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16) - -**Note:** Version bump only for package @commitlint/format - - - - - -# [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15) - -**Note:** Version bump only for package @commitlint/format - - - - - -## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09) - - -### Bug Fixes - -* ensure format() is available as commonjs default export [#645](https://github.com/conventional-changelog/commitlint/issues/645) ([ec3da92](https://github.com/conventional-changelog/commitlint/commit/ec3da92)) - - - - - -# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06) - - -### Bug Fixes - -* avoid excessive help text [#606](https://github.com/conventional-changelog/commitlint/issues/606) ([#637](https://github.com/conventional-changelog/commitlint/issues/637)) ([8f3c3b1](https://github.com/conventional-changelog/commitlint/commit/8f3c3b1)) - - - - - - -# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31) - - -### Bug Fixes - -* all broken website references ([#564](https://github.com/conventional-changelog/commitlint/issues/564)) ([82eeb5a](https://github.com/conventional-changelog/commitlint/commit/82eeb5a)) -* cleanup message for input with no config ([#519](https://github.com/conventional-changelog/commitlint/issues/519)) ([7d9e760](https://github.com/conventional-changelog/commitlint/commit/7d9e760)) -* replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd)) -* replace all website references with conventional changelog ([#563](https://github.com/conventional-changelog/commitlint/issues/563)) ([6b86fb1](https://github.com/conventional-changelog/commitlint/commit/6b86fb1)) - - - - - -# [7.4.0](https://github.com/conventional-changelog/commitlint/compare/v7.3.2...v7.4.0) (2019-01-27) - - -### Bug Fixes - -* correction to need help link ([#540](https://github.com/conventional-changelog/commitlint/issues/540)) ([fa6168a](https://github.com/conventional-changelog/commitlint/commit/fa6168a)) - - - - - -## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11) - - - - -**Note:** Version bump only for package @commitlint/format - - -# [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11) - - -### Bug Fixes - -* **format:** add new line to result ([#518](https://github.com/conventional-changelog/commitlint/issues/518)) ([f1d443b](https://github.com/conventional-changelog/commitlint/commit/f1d443b)), closes [#504](https://github.com/conventional-changelog/commitlint/issues/504) -* update to security-patched dependency versions ([97c033b](https://github.com/conventional-changelog/commitlint/commit/97c033b)) - - - - - -## [7.2.1](https://github.com/conventional-changelog/commitlint/compare/v7.2.0...v7.2.1) (2018-10-11) - - - - -**Note:** Version bump only for package @commitlint/format - - -# [7.2.0](https://github.com/conventional-changelog/commitlint/compare/v7.1.2...v7.2.0) (2018-10-05) - - - - -**Note:** Version bump only for package @commitlint/format - - -## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04) - - - - -**Note:** Version bump only for package @commitlint/format - - -## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22) - - - - -**Note:** Version bump only for package @commitlint/format diff --git a/node_modules/@commitlint/format/README.md b/node_modules/@commitlint/format/README.md deleted file mode 100644 index b815fb8..0000000 --- a/node_modules/@commitlint/format/README.md +++ /dev/null @@ -1,65 +0,0 @@ -> Format commitlint reports - -# @commitlint/format - -## Getting started - -```shell -npm install --save @commitlint/format -``` - -## Example - -```js -const format = require('@commitlint/format').default; - -const output = format( - { - valid: false, - errorCount: 1, - warningCount: 1, - results: [ - { - valid: false, - input: 'some: commit message', - errors: [ - { - valid: false, - level: 2, - name: 'some-error', - message: 'This will show up red as it has level 2', - }, - ], - warnings: [ - { - valid: true, - level: 0, - name: 'some-hint', - message: 'This will not show up as it has level 0', - }, - { - valid: false, - level: 1, - name: 'some-warning', - message: 'This will show up yellow as it has level 1', - }, - ], - }, - ], - }, - { - color: false, - } -); - -process.stdout.write(output); - -/* => [ - '✖ This will show up red as it has level 2 [some-error]', - ' This will not show up as it has level 0 [some-hint]', - '⚠ This will show up yellow as it has level 1 [some-warning]', - '✖ found 1 problems, 2 warnings' -] */ -``` - -Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation. diff --git a/node_modules/@commitlint/format/license.md b/node_modules/@commitlint/format/license.md deleted file mode 100644 index 9f7de65..0000000 --- a/node_modules/@commitlint/format/license.md +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 - present Mario Nebl - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@commitlint/format/node_modules/ansi-styles/index.d.ts b/node_modules/@commitlint/format/node_modules/ansi-styles/index.d.ts deleted file mode 100644 index 44a907e..0000000 --- a/node_modules/@commitlint/format/node_modules/ansi-styles/index.d.ts +++ /dev/null @@ -1,345 +0,0 @@ -declare type CSSColor = - | 'aliceblue' - | 'antiquewhite' - | 'aqua' - | 'aquamarine' - | 'azure' - | 'beige' - | 'bisque' - | 'black' - | 'blanchedalmond' - | 'blue' - | 'blueviolet' - | 'brown' - | 'burlywood' - | 'cadetblue' - | 'chartreuse' - | 'chocolate' - | 'coral' - | 'cornflowerblue' - | 'cornsilk' - | 'crimson' - | 'cyan' - | 'darkblue' - | 'darkcyan' - | 'darkgoldenrod' - | 'darkgray' - | 'darkgreen' - | 'darkgrey' - | 'darkkhaki' - | 'darkmagenta' - | 'darkolivegreen' - | 'darkorange' - | 'darkorchid' - | 'darkred' - | 'darksalmon' - | 'darkseagreen' - | 'darkslateblue' - | 'darkslategray' - | 'darkslategrey' - | 'darkturquoise' - | 'darkviolet' - | 'deeppink' - | 'deepskyblue' - | 'dimgray' - | 'dimgrey' - | 'dodgerblue' - | 'firebrick' - | 'floralwhite' - | 'forestgreen' - | 'fuchsia' - | 'gainsboro' - | 'ghostwhite' - | 'gold' - | 'goldenrod' - | 'gray' - | 'green' - | 'greenyellow' - | 'grey' - | 'honeydew' - | 'hotpink' - | 'indianred' - | 'indigo' - | 'ivory' - | 'khaki' - | 'lavender' - | 'lavenderblush' - | 'lawngreen' - | 'lemonchiffon' - | 'lightblue' - | 'lightcoral' - | 'lightcyan' - | 'lightgoldenrodyellow' - | 'lightgray' - | 'lightgreen' - | 'lightgrey' - | 'lightpink' - | 'lightsalmon' - | 'lightseagreen' - | 'lightskyblue' - | 'lightslategray' - | 'lightslategrey' - | 'lightsteelblue' - | 'lightyellow' - | 'lime' - | 'limegreen' - | 'linen' - | 'magenta' - | 'maroon' - | 'mediumaquamarine' - | 'mediumblue' - | 'mediumorchid' - | 'mediumpurple' - | 'mediumseagreen' - | 'mediumslateblue' - | 'mediumspringgreen' - | 'mediumturquoise' - | 'mediumvioletred' - | 'midnightblue' - | 'mintcream' - | 'mistyrose' - | 'moccasin' - | 'navajowhite' - | 'navy' - | 'oldlace' - | 'olive' - | 'olivedrab' - | 'orange' - | 'orangered' - | 'orchid' - | 'palegoldenrod' - | 'palegreen' - | 'paleturquoise' - | 'palevioletred' - | 'papayawhip' - | 'peachpuff' - | 'peru' - | 'pink' - | 'plum' - | 'powderblue' - | 'purple' - | 'rebeccapurple' - | 'red' - | 'rosybrown' - | 'royalblue' - | 'saddlebrown' - | 'salmon' - | 'sandybrown' - | 'seagreen' - | 'seashell' - | 'sienna' - | 'silver' - | 'skyblue' - | 'slateblue' - | 'slategray' - | 'slategrey' - | 'snow' - | 'springgreen' - | 'steelblue' - | 'tan' - | 'teal' - | 'thistle' - | 'tomato' - | 'turquoise' - | 'violet' - | 'wheat' - | 'white' - | 'whitesmoke' - | 'yellow' - | 'yellowgreen'; - -declare namespace ansiStyles { - interface ColorConvert { - /** - The RGB color space. - - @param red - (`0`-`255`) - @param green - (`0`-`255`) - @param blue - (`0`-`255`) - */ - rgb(red: number, green: number, blue: number): string; - - /** - The RGB HEX color space. - - @param hex - A hexadecimal string containing RGB data. - */ - hex(hex: string): string; - - /** - @param keyword - A CSS color name. - */ - keyword(keyword: CSSColor): string; - - /** - The HSL color space. - - @param hue - (`0`-`360`) - @param saturation - (`0`-`100`) - @param lightness - (`0`-`100`) - */ - hsl(hue: number, saturation: number, lightness: number): string; - - /** - The HSV color space. - - @param hue - (`0`-`360`) - @param saturation - (`0`-`100`) - @param value - (`0`-`100`) - */ - hsv(hue: number, saturation: number, value: number): string; - - /** - The HSV color space. - - @param hue - (`0`-`360`) - @param whiteness - (`0`-`100`) - @param blackness - (`0`-`100`) - */ - hwb(hue: number, whiteness: number, blackness: number): string; - - /** - Use a [4-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4-bit) to set text color. - */ - ansi(ansi: number): string; - - /** - Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color. - */ - ansi256(ansi: number): string; - } - - interface CSPair { - /** - The ANSI terminal control sequence for starting this style. - */ - readonly open: string; - - /** - The ANSI terminal control sequence for ending this style. - */ - readonly close: string; - } - - interface ColorBase { - readonly ansi: ColorConvert; - readonly ansi256: ColorConvert; - readonly ansi16m: ColorConvert; - - /** - The ANSI terminal control sequence for ending this color. - */ - readonly close: string; - } - - interface Modifier { - /** - Resets the current color chain. - */ - readonly reset: CSPair; - - /** - Make text bold. - */ - readonly bold: CSPair; - - /** - Emitting only a small amount of light. - */ - readonly dim: CSPair; - - /** - Make text italic. (Not widely supported) - */ - readonly italic: CSPair; - - /** - Make text underline. (Not widely supported) - */ - readonly underline: CSPair; - - /** - Inverse background and foreground colors. - */ - readonly inverse: CSPair; - - /** - Prints the text, but makes it invisible. - */ - readonly hidden: CSPair; - - /** - Puts a horizontal line through the center of the text. (Not widely supported) - */ - readonly strikethrough: CSPair; - } - - interface ForegroundColor { - readonly black: CSPair; - readonly red: CSPair; - readonly green: CSPair; - readonly yellow: CSPair; - readonly blue: CSPair; - readonly cyan: CSPair; - readonly magenta: CSPair; - readonly white: CSPair; - - /** - Alias for `blackBright`. - */ - readonly gray: CSPair; - - /** - Alias for `blackBright`. - */ - readonly grey: CSPair; - - readonly blackBright: CSPair; - readonly redBright: CSPair; - readonly greenBright: CSPair; - readonly yellowBright: CSPair; - readonly blueBright: CSPair; - readonly cyanBright: CSPair; - readonly magentaBright: CSPair; - readonly whiteBright: CSPair; - } - - interface BackgroundColor { - readonly bgBlack: CSPair; - readonly bgRed: CSPair; - readonly bgGreen: CSPair; - readonly bgYellow: CSPair; - readonly bgBlue: CSPair; - readonly bgCyan: CSPair; - readonly bgMagenta: CSPair; - readonly bgWhite: CSPair; - - /** - Alias for `bgBlackBright`. - */ - readonly bgGray: CSPair; - - /** - Alias for `bgBlackBright`. - */ - readonly bgGrey: CSPair; - - readonly bgBlackBright: CSPair; - readonly bgRedBright: CSPair; - readonly bgGreenBright: CSPair; - readonly bgYellowBright: CSPair; - readonly bgBlueBright: CSPair; - readonly bgCyanBright: CSPair; - readonly bgMagentaBright: CSPair; - readonly bgWhiteBright: CSPair; - } -} - -declare const ansiStyles: { - readonly modifier: ansiStyles.Modifier; - readonly color: ansiStyles.ForegroundColor & ansiStyles.ColorBase; - readonly bgColor: ansiStyles.BackgroundColor & ansiStyles.ColorBase; - readonly codes: ReadonlyMap; -} & ansiStyles.BackgroundColor & ansiStyles.ForegroundColor & ansiStyles.Modifier; - -export = ansiStyles; diff --git a/node_modules/@commitlint/format/node_modules/ansi-styles/index.js b/node_modules/@commitlint/format/node_modules/ansi-styles/index.js deleted file mode 100644 index 5d82581..0000000 --- a/node_modules/@commitlint/format/node_modules/ansi-styles/index.js +++ /dev/null @@ -1,163 +0,0 @@ -'use strict'; - -const wrapAnsi16 = (fn, offset) => (...args) => { - const code = fn(...args); - return `\u001B[${code + offset}m`; -}; - -const wrapAnsi256 = (fn, offset) => (...args) => { - const code = fn(...args); - return `\u001B[${38 + offset};5;${code}m`; -}; - -const wrapAnsi16m = (fn, offset) => (...args) => { - const rgb = fn(...args); - return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; -}; - -const ansi2ansi = n => n; -const rgb2rgb = (r, g, b) => [r, g, b]; - -const setLazyProperty = (object, property, get) => { - Object.defineProperty(object, property, { - get: () => { - const value = get(); - - Object.defineProperty(object, property, { - value, - enumerable: true, - configurable: true - }); - - return value; - }, - enumerable: true, - configurable: true - }); -}; - -/** @type {typeof import('color-convert')} */ -let colorConvert; -const makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => { - if (colorConvert === undefined) { - colorConvert = require('color-convert'); - } - - const offset = isBackground ? 10 : 0; - const styles = {}; - - for (const [sourceSpace, suite] of Object.entries(colorConvert)) { - const name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace; - if (sourceSpace === targetSpace) { - styles[name] = wrap(identity, offset); - } else if (typeof suite === 'object') { - styles[name] = wrap(suite[targetSpace], offset); - } - } - - return styles; -}; - -function assembleStyles() { - const codes = new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - - // Bright color - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - - // Alias bright black as gray (and grey) - styles.color.gray = styles.color.blackBright; - styles.bgColor.bgGray = styles.bgColor.bgBlackBright; - styles.color.grey = styles.color.blackBright; - styles.bgColor.bgGrey = styles.bgColor.bgBlackBright; - - for (const [groupName, group] of Object.entries(styles)) { - for (const [styleName, style] of Object.entries(group)) { - styles[styleName] = { - open: `\u001B[${style[0]}m`, - close: `\u001B[${style[1]}m` - }; - - group[styleName] = styles[styleName]; - - codes.set(style[0], style[1]); - } - - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - } - - Object.defineProperty(styles, 'codes', { - value: codes, - enumerable: false - }); - - styles.color.close = '\u001B[39m'; - styles.bgColor.close = '\u001B[49m'; - - setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false)); - setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false)); - setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false)); - setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true)); - setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true)); - setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true)); - - return styles; -} - -// Make the export immutable -Object.defineProperty(module, 'exports', { - enumerable: true, - get: assembleStyles -}); diff --git a/node_modules/@commitlint/format/node_modules/ansi-styles/license b/node_modules/@commitlint/format/node_modules/ansi-styles/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/@commitlint/format/node_modules/ansi-styles/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@commitlint/format/node_modules/ansi-styles/package.json b/node_modules/@commitlint/format/node_modules/ansi-styles/package.json deleted file mode 100644 index 28f2a6d..0000000 --- a/node_modules/@commitlint/format/node_modules/ansi-styles/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "ansi-styles", - "version": "4.3.0", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "funding": "https://github.com/chalk/ansi-styles?sponsor=1", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "color-convert": "^2.0.1" - }, - "devDependencies": { - "@types/color-convert": "^1.9.0", - "ava": "^2.3.0", - "svg-term-cli": "^2.1.1", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } - -,"_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" -,"_integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==" -,"_from": "ansi-styles@4.3.0" -} \ No newline at end of file diff --git a/node_modules/@commitlint/format/node_modules/ansi-styles/readme.md b/node_modules/@commitlint/format/node_modules/ansi-styles/readme.md deleted file mode 100644 index 24883de..0000000 --- a/node_modules/@commitlint/format/node_modules/ansi-styles/readme.md +++ /dev/null @@ -1,152 +0,0 @@ -# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) - -> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal - -You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. - - - -## Install - -``` -$ npm install ansi-styles -``` - -## Usage - -```js -const style = require('ansi-styles'); - -console.log(`${style.green.open}Hello world!${style.green.close}`); - - -// Color conversion between 16/256/truecolor -// NOTE: If conversion goes to 16 colors or 256 colors, the original color -// may be degraded to fit that color palette. This means terminals -// that do not support 16 million colors will best-match the -// original color. -console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); -console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); -console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close); -``` - -## API - -Each style has an `open` and `close` property. - -## Styles - -### Modifiers - -- `reset` -- `bold` -- `dim` -- `italic` *(Not widely supported)* -- `underline` -- `inverse` -- `hidden` -- `strikethrough` *(Not widely supported)* - -### Colors - -- `black` -- `red` -- `green` -- `yellow` -- `blue` -- `magenta` -- `cyan` -- `white` -- `blackBright` (alias: `gray`, `grey`) -- `redBright` -- `greenBright` -- `yellowBright` -- `blueBright` -- `magentaBright` -- `cyanBright` -- `whiteBright` - -### Background colors - -- `bgBlack` -- `bgRed` -- `bgGreen` -- `bgYellow` -- `bgBlue` -- `bgMagenta` -- `bgCyan` -- `bgWhite` -- `bgBlackBright` (alias: `bgGray`, `bgGrey`) -- `bgRedBright` -- `bgGreenBright` -- `bgYellowBright` -- `bgBlueBright` -- `bgMagentaBright` -- `bgCyanBright` -- `bgWhiteBright` - -## Advanced usage - -By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. - -- `style.modifier` -- `style.color` -- `style.bgColor` - -###### Example - -```js -console.log(style.color.green.open); -``` - -Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. - -###### Example - -```js -console.log(style.codes.get(36)); -//=> 39 -``` - -## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) - -`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. - -The following color spaces from `color-convert` are supported: - -- `rgb` -- `hex` -- `keyword` -- `hsl` -- `hsv` -- `hwb` -- `ansi` -- `ansi256` - -To use these, call the associated conversion function with the intended output, for example: - -```js -style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code -style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code - -style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code -style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code - -style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code -style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code -``` - -## Related - -- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Josh Junon](https://github.com/qix-) - -## For enterprise - -Available as part of the Tidelift Subscription. - -The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) diff --git a/node_modules/@commitlint/format/node_modules/chalk/index.d.ts b/node_modules/@commitlint/format/node_modules/chalk/index.d.ts deleted file mode 100644 index 9cd88f3..0000000 --- a/node_modules/@commitlint/format/node_modules/chalk/index.d.ts +++ /dev/null @@ -1,415 +0,0 @@ -/** -Basic foreground colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type ForegroundColor = - | 'black' - | 'red' - | 'green' - | 'yellow' - | 'blue' - | 'magenta' - | 'cyan' - | 'white' - | 'gray' - | 'grey' - | 'blackBright' - | 'redBright' - | 'greenBright' - | 'yellowBright' - | 'blueBright' - | 'magentaBright' - | 'cyanBright' - | 'whiteBright'; - -/** -Basic background colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type BackgroundColor = - | 'bgBlack' - | 'bgRed' - | 'bgGreen' - | 'bgYellow' - | 'bgBlue' - | 'bgMagenta' - | 'bgCyan' - | 'bgWhite' - | 'bgGray' - | 'bgGrey' - | 'bgBlackBright' - | 'bgRedBright' - | 'bgGreenBright' - | 'bgYellowBright' - | 'bgBlueBright' - | 'bgMagentaBright' - | 'bgCyanBright' - | 'bgWhiteBright'; - -/** -Basic colors. - -[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) -*/ -declare type Color = ForegroundColor | BackgroundColor; - -declare type Modifiers = - | 'reset' - | 'bold' - | 'dim' - | 'italic' - | 'underline' - | 'inverse' - | 'hidden' - | 'strikethrough' - | 'visible'; - -declare namespace chalk { - /** - Levels: - - `0` - All colors disabled. - - `1` - Basic 16 colors support. - - `2` - ANSI 256 colors support. - - `3` - Truecolor 16 million colors support. - */ - type Level = 0 | 1 | 2 | 3; - - interface Options { - /** - Specify the color support for Chalk. - - By default, color support is automatically detected based on the environment. - - Levels: - - `0` - All colors disabled. - - `1` - Basic 16 colors support. - - `2` - ANSI 256 colors support. - - `3` - Truecolor 16 million colors support. - */ - level?: Level; - } - - /** - Return a new Chalk instance. - */ - type Instance = new (options?: Options) => Chalk; - - /** - Detect whether the terminal supports color. - */ - interface ColorSupport { - /** - The color level used by Chalk. - */ - level: Level; - - /** - Return whether Chalk supports basic 16 colors. - */ - hasBasic: boolean; - - /** - Return whether Chalk supports ANSI 256 colors. - */ - has256: boolean; - - /** - Return whether Chalk supports Truecolor 16 million colors. - */ - has16m: boolean; - } - - interface ChalkFunction { - /** - Use a template string. - - @remarks Template literals are unsupported for nested calls (see [issue #341](https://github.com/chalk/chalk/issues/341)) - - @example - ``` - import chalk = require('chalk'); - - log(chalk` - CPU: {red ${cpu.totalPercent}%} - RAM: {green ${ram.used / ram.total * 100}%} - DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} - `); - ``` - - @example - ``` - import chalk = require('chalk'); - - log(chalk.red.bgBlack`2 + 3 = {bold ${2 + 3}}`) - ``` - */ - (text: TemplateStringsArray, ...placeholders: unknown[]): string; - - (...text: unknown[]): string; - } - - interface Chalk extends ChalkFunction { - /** - Return a new Chalk instance. - */ - Instance: Instance; - - /** - The color support for Chalk. - - By default, color support is automatically detected based on the environment. - - Levels: - - `0` - All colors disabled. - - `1` - Basic 16 colors support. - - `2` - ANSI 256 colors support. - - `3` - Truecolor 16 million colors support. - */ - level: Level; - - /** - Use HEX value to set text color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.hex('#DEADED'); - ``` - */ - hex(color: string): Chalk; - - /** - Use keyword color value to set text color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.keyword('orange'); - ``` - */ - keyword(color: string): Chalk; - - /** - Use RGB values to set text color. - */ - rgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set text color. - */ - hsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set text color. - */ - hsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set text color. - */ - hwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set text color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - */ - ansi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color. - */ - ansi256(index: number): Chalk; - - /** - Use HEX value to set background color. - - @param color - Hexadecimal value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgHex('#DEADED'); - ``` - */ - bgHex(color: string): Chalk; - - /** - Use keyword color value to set background color. - - @param color - Keyword value representing the desired color. - - @example - ``` - import chalk = require('chalk'); - - chalk.bgKeyword('orange'); - ``` - */ - bgKeyword(color: string): Chalk; - - /** - Use RGB values to set background color. - */ - bgRgb(red: number, green: number, blue: number): Chalk; - - /** - Use HSL values to set background color. - */ - bgHsl(hue: number, saturation: number, lightness: number): Chalk; - - /** - Use HSV values to set background color. - */ - bgHsv(hue: number, saturation: number, value: number): Chalk; - - /** - Use HWB values to set background color. - */ - bgHwb(hue: number, whiteness: number, blackness: number): Chalk; - - /** - Use a [Select/Set Graphic Rendition](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters) (SGR) [color code number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4_bit) to set background color. - - 30 <= code && code < 38 || 90 <= code && code < 98 - For example, 31 for red, 91 for redBright. - Use the foreground code, not the background code (for example, not 41, nor 101). - */ - bgAnsi(code: number): Chalk; - - /** - Use a [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set background color. - */ - bgAnsi256(index: number): Chalk; - - /** - Modifier: Resets the current color chain. - */ - readonly reset: Chalk; - - /** - Modifier: Make text bold. - */ - readonly bold: Chalk; - - /** - Modifier: Emitting only a small amount of light. - */ - readonly dim: Chalk; - - /** - Modifier: Make text italic. (Not widely supported) - */ - readonly italic: Chalk; - - /** - Modifier: Make text underline. (Not widely supported) - */ - readonly underline: Chalk; - - /** - Modifier: Inverse background and foreground colors. - */ - readonly inverse: Chalk; - - /** - Modifier: Prints the text, but makes it invisible. - */ - readonly hidden: Chalk; - - /** - Modifier: Puts a horizontal line through the center of the text. (Not widely supported) - */ - readonly strikethrough: Chalk; - - /** - Modifier: Prints the text only when Chalk has a color support level > 0. - Can be useful for things that are purely cosmetic. - */ - readonly visible: Chalk; - - readonly black: Chalk; - readonly red: Chalk; - readonly green: Chalk; - readonly yellow: Chalk; - readonly blue: Chalk; - readonly magenta: Chalk; - readonly cyan: Chalk; - readonly white: Chalk; - - /* - Alias for `blackBright`. - */ - readonly gray: Chalk; - - /* - Alias for `blackBright`. - */ - readonly grey: Chalk; - - readonly blackBright: Chalk; - readonly redBright: Chalk; - readonly greenBright: Chalk; - readonly yellowBright: Chalk; - readonly blueBright: Chalk; - readonly magentaBright: Chalk; - readonly cyanBright: Chalk; - readonly whiteBright: Chalk; - - readonly bgBlack: Chalk; - readonly bgRed: Chalk; - readonly bgGreen: Chalk; - readonly bgYellow: Chalk; - readonly bgBlue: Chalk; - readonly bgMagenta: Chalk; - readonly bgCyan: Chalk; - readonly bgWhite: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGray: Chalk; - - /* - Alias for `bgBlackBright`. - */ - readonly bgGrey: Chalk; - - readonly bgBlackBright: Chalk; - readonly bgRedBright: Chalk; - readonly bgGreenBright: Chalk; - readonly bgYellowBright: Chalk; - readonly bgBlueBright: Chalk; - readonly bgMagentaBright: Chalk; - readonly bgCyanBright: Chalk; - readonly bgWhiteBright: Chalk; - } -} - -/** -Main Chalk object that allows to chain styles together. -Call the last one as a method with a string argument. -Order doesn't matter, and later styles take precedent in case of a conflict. -This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`. -*/ -declare const chalk: chalk.Chalk & chalk.ChalkFunction & { - supportsColor: chalk.ColorSupport | false; - Level: chalk.Level; - Color: Color; - ForegroundColor: ForegroundColor; - BackgroundColor: BackgroundColor; - Modifiers: Modifiers; - stderr: chalk.Chalk & {supportsColor: chalk.ColorSupport | false}; -}; - -export = chalk; diff --git a/node_modules/@commitlint/format/node_modules/chalk/license b/node_modules/@commitlint/format/node_modules/chalk/license deleted file mode 100644 index e7af2f7..0000000 --- a/node_modules/@commitlint/format/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/@commitlint/format/node_modules/chalk/package.json b/node_modules/@commitlint/format/node_modules/chalk/package.json deleted file mode 100644 index 0f1422e..0000000 --- a/node_modules/@commitlint/format/node_modules/chalk/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "chalk", - "version": "4.1.2", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "funding": "https://github.com/chalk/chalk?sponsor=1", - "main": "source", - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && nyc ava && tsd", - "bench": "matcha benchmark.js" - }, - "files": [ - "source", - "index.d.ts" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^4.0.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^15.0.0", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.28.2" - }, - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off", - "@typescript-eslint/member-ordering": "off", - "no-redeclare": "off", - "unicorn/string-content": "off", - "unicorn/better-regex": "off" - } - } - -,"_resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" -,"_integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==" -,"_from": "chalk@4.1.2" -} \ No newline at end of file diff --git a/node_modules/@commitlint/format/node_modules/chalk/readme.md b/node_modules/@commitlint/format/node_modules/chalk/readme.md deleted file mode 100644 index a055d21..0000000 --- a/node_modules/@commitlint/format/node_modules/chalk/readme.md +++ /dev/null @@ -1,341 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) [![run on repl.it](https://repl.it/badge/github/chalk/chalk)](https://repl.it/github/chalk/chalk) - - - -
- ---- - - - ---- - -
- -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~50,000 packages](https://www.npmjs.com/browse/depended/chalk) as of January 1, 2020 - -## Install - -```console -$ npm install chalk -``` - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - -## API - -### chalk.`