projen-pipelines 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +30 -15
- package/API.md +8 -8
- package/lib/awscdk/base.js +20 -8
- package/lib/awscdk/bash.js +1 -1
- package/lib/awscdk/github.d.ts +1 -0
- package/lib/awscdk/github.js +28 -2
- package/lib/awscdk/gitlab.js +1 -1
- package/lib/steps/artifact-steps.js +2 -2
- package/lib/steps/aws-assume-role.step.js +1 -1
- package/lib/steps/registries.js +2 -2
- package/lib/steps/step.js +4 -4
- package/node_modules/@babel/code-frame/lib/index.js +97 -37
- package/node_modules/@babel/code-frame/lib/index.js.map +1 -1
- package/node_modules/@babel/code-frame/package.json +3 -2
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +4 -4
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
- package/node_modules/@babel/helper-validator-identifier/package.json +2 -2
- package/node_modules/ansi-styles/index.js +69 -67
- package/node_modules/ansi-styles/package.json +11 -11
- package/node_modules/ansi-styles/readme.md +14 -19
- package/node_modules/color-convert/conversions.js +310 -281
- package/node_modules/color-convert/index.js +24 -27
- package/node_modules/color-convert/package.json +5 -7
- package/node_modules/color-convert/route.js +22 -22
- package/node_modules/color-name/package.json +25 -28
- package/node_modules/escalade/index.d.mts +11 -0
- package/node_modules/escalade/index.d.ts +14 -2
- package/node_modules/escalade/package.json +18 -7
- package/node_modules/escalade/sync/index.d.mts +9 -0
- package/node_modules/escalade/sync/index.d.ts +13 -2
- package/node_modules/is-core-module/CHANGELOG.md +13 -0
- package/node_modules/is-core-module/core.json +1 -0
- package/node_modules/is-core-module/package.json +3 -3
- package/node_modules/is-core-module/test/index.js +3 -0
- package/node_modules/picocolors/LICENSE +1 -1
- package/node_modules/picocolors/package.json +2 -2
- package/node_modules/picocolors/picocolors.browser.js +1 -1
- package/node_modules/picocolors/picocolors.js +53 -43
- package/node_modules/picocolors/{types.ts → types.d.ts} +21 -0
- package/node_modules/resolve/lib/core.json +4 -0
- package/node_modules/resolve/package.json +12 -9
- package/node_modules/{get-pkg-repo → standard-version}/node_modules/through2/README.md +27 -21
- package/node_modules/standard-version/node_modules/through2/package.json +38 -0
- package/node_modules/standard-version/node_modules/through2/through2.js +83 -0
- package/node_modules/through2/README.md +21 -27
- package/node_modules/through2/package.json +11 -16
- package/node_modules/through2/through2.js +51 -38
- package/node_modules/uglify-js/lib/compress.js +23 -13
- package/node_modules/uglify-js/package.json +1 -1
- package/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/ansi-styles/package.json +11 -11
- package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/ansi-styles/readme.md +19 -14
- package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/conversions.js +281 -310
- package/node_modules/wrap-ansi/node_modules/color-convert/index.js +81 -0
- package/node_modules/{standard-version → wrap-ansi}/node_modules/color-convert/package.json +7 -5
- package/node_modules/{standard-version → wrap-ansi}/node_modules/color-convert/route.js +22 -22
- package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/package.json +28 -25
- package/package.json +7 -7
- package/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
- package/node_modules/@babel/highlight/LICENSE +0 -22
- package/node_modules/@babel/highlight/README.md +0 -19
- package/node_modules/@babel/highlight/lib/index.js +0 -119
- package/node_modules/@babel/highlight/lib/index.js.map +0 -1
- package/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
- package/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
- package/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
- package/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
- package/node_modules/@babel/highlight/package.json +0 -30
- package/node_modules/figures/node_modules/escape-string-regexp/index.js +0 -11
- package/node_modules/figures/node_modules/escape-string-regexp/license +0 -21
- package/node_modules/figures/node_modules/escape-string-regexp/package.json +0 -41
- package/node_modules/figures/node_modules/escape-string-regexp/readme.md +0 -27
- package/node_modules/get-pkg-repo/node_modules/through2/package.json +0 -33
- package/node_modules/get-pkg-repo/node_modules/through2/through2.js +0 -96
- package/node_modules/standard-version/node_modules/ansi-styles/index.js +0 -165
- package/node_modules/standard-version/node_modules/ansi-styles/package.json +0 -56
- package/node_modules/standard-version/node_modules/ansi-styles/readme.md +0 -147
- package/node_modules/standard-version/node_modules/chalk/index.js +0 -228
- package/node_modules/standard-version/node_modules/chalk/index.js.flow +0 -93
- package/node_modules/standard-version/node_modules/chalk/license +0 -9
- package/node_modules/standard-version/node_modules/chalk/package.json +0 -71
- package/node_modules/standard-version/node_modules/chalk/readme.md +0 -314
- package/node_modules/standard-version/node_modules/chalk/templates.js +0 -128
- package/node_modules/standard-version/node_modules/chalk/types/index.d.ts +0 -97
- package/node_modules/standard-version/node_modules/color-convert/CHANGELOG.md +0 -54
- package/node_modules/standard-version/node_modules/color-convert/LICENSE +0 -21
- package/node_modules/standard-version/node_modules/color-convert/README.md +0 -68
- package/node_modules/standard-version/node_modules/color-convert/conversions.js +0 -868
- package/node_modules/standard-version/node_modules/color-convert/index.js +0 -78
- package/node_modules/standard-version/node_modules/color-name/.eslintrc.json +0 -43
- package/node_modules/standard-version/node_modules/color-name/.npmignore +0 -107
- package/node_modules/standard-version/node_modules/color-name/LICENSE +0 -8
- package/node_modules/standard-version/node_modules/color-name/README.md +0 -11
- package/node_modules/standard-version/node_modules/color-name/index.js +0 -152
- package/node_modules/standard-version/node_modules/color-name/package.json +0 -25
- package/node_modules/standard-version/node_modules/color-name/test.js +0 -7
- package/node_modules/standard-version/node_modules/detect-indent/license +0 -9
- package/node_modules/standard-version/node_modules/escape-string-regexp/index.js +0 -11
- package/node_modules/standard-version/node_modules/escape-string-regexp/license +0 -21
- package/node_modules/standard-version/node_modules/escape-string-regexp/package.json +0 -41
- package/node_modules/standard-version/node_modules/escape-string-regexp/readme.md +0 -27
- package/node_modules/standard-version/node_modules/has-flag/index.js +0 -8
- package/node_modules/standard-version/node_modules/has-flag/license +0 -9
- package/node_modules/standard-version/node_modules/has-flag/package.json +0 -44
- package/node_modules/standard-version/node_modules/has-flag/readme.md +0 -70
- package/node_modules/standard-version/node_modules/supports-color/browser.js +0 -5
- package/node_modules/standard-version/node_modules/supports-color/index.js +0 -131
- package/node_modules/standard-version/node_modules/supports-color/license +0 -9
- package/node_modules/standard-version/node_modules/supports-color/package.json +0 -53
- package/node_modules/standard-version/node_modules/supports-color/readme.md +0 -66
- /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/index.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/index.js.flow +0 -0
- /package/node_modules/{@babel/highlight/node_modules/ansi-styles → chalk}/license +0 -0
- /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/package.json +0 -0
- /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/readme.md +0 -0
- /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/templates.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/types/index.d.ts +0 -0
- /package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/.eslintrc.json +0 -0
- /package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/.npmignore +0 -0
- /package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/test.js +0 -0
- /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/index.d.ts +0 -0
- /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/index.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/chalk → detect-indent}/license +0 -0
- /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/package.json +0 -0
- /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/readme.md +0 -0
- /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/index.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/license +0 -0
- /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/package.json +0 -0
- /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/readme.md +0 -0
- /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/index.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/license +0 -0
- /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/package.json +0 -0
- /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/readme.md +0 -0
- /package/node_modules/{conventional-changelog-writer/node_modules/semver → lru-cache}/LICENSE +0 -0
- /package/node_modules/{hosted-git-info/node_modules/lru-cache → lru-cache}/README.md +0 -0
- /package/node_modules/{hosted-git-info/node_modules/lru-cache → lru-cache}/index.js +0 -0
- /package/node_modules/{hosted-git-info/node_modules/lru-cache → lru-cache}/package.json +0 -0
- /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/README.md +0 -0
- /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/index.js +0 -0
- /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/package.json +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/README.md +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/index.js +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/package.json +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/footer.hbs +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/README.md +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/index.js +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/package.json +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/README.md +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/index.js +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/package.json +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/README.md +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/add-bang-notes.js +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/index.js +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/package.json +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/footer.hbs +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/README.md +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/hosts/bitbucket.json +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/hosts/github.json +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/hosts/gitlab.json +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/index.js +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/lib/merge-config.js +0 -0
- /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/package.json +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/README.md +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/index.js +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/package.json +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/README.md +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/index.js +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/package.json +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/README.md +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/index.js +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/package.json +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/README.md +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/index.js +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/package.json +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/README.md +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/conventional-changelog.js +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/conventional-recommended-bump.js +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/index.js +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/package.json +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/parser-opts.js +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/footer.hbs +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/writer-opts.js +0 -0
- /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/README.md +0 -0
- /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/index.js +0 -0
- /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/package.json +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/LICENSE.md +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/README.md +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/cli.js +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/index.js +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/lib/util.js +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/LICENSE +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/README.md +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/bin/semver.js +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/package.json +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/range.bnf +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/semver.js +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/package.json +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/commit.hbs +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/footer.hbs +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/header.hbs +0 -0
- /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/template.hbs +0 -0
- /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/LICENSE +0 -0
- /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/README.md +0 -0
- /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/index.js +0 -0
- /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/package.json +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/LICENSE.md +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/README.md +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/cli.js +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/index.js +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/lib/parser.js +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/lib/regex.js +0 -0
- /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/package.json +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/CHANGELOG.md +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/LICENSE.md +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/README.md +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/cli.js +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/index.js +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/package.json +0 -0
- /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/preset-resolver.js +0 -0
- /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/CHANGELOG.md +0 -0
- /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/LICENSE.md +0 -0
- /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/README.md +0 -0
- /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/cli.js +0 -0
- /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/index.js +0 -0
- /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/package.json +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/CHANGELOG.md +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/LICENSE.md +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/README.md +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/cli.js +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/index.js +0 -0
- /package/node_modules/{hosted-git-info/node_modules/lru-cache → standard-version/node_modules/git-semver-tags/node_modules/semver}/LICENSE +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/README.md +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/bin/semver.js +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/package.json +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/range.bnf +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/semver.js +0 -0
- /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/package.json +0 -0
- /package/node_modules/{get-pkg-repo → standard-version}/node_modules/through2/LICENSE.md +0 -0
- /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/browser.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/index.js +0 -0
- /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/license +0 -0
- /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/package.json +0 -0
- /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/readme.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/.npmignore +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/.travis.yml +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/Makefile +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/README.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/component.json +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/index.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/package.json +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/test.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/.travis.yml +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/CONTRIBUTING.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/GOVERNANCE.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/LICENSE +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/README.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/duplex-browser.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/duplex.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_duplex.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_passthrough.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_readable.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_transform.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_writable.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/stream.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/package.json +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/passthrough.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/readable-browser.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/readable.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/transform.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/writable-browser.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/writable.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/LICENSE +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/README.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/index.d.ts +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/index.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/package.json +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/.travis.yml +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/LICENSE +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/README.md +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/lib/string_decoder.js +0 -0
- /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/package.json +0 -0
- /package/node_modules/{ansi-styles → wrap-ansi/node_modules/ansi-styles}/index.d.ts +0 -0
- /package/node_modules/{standard-version → wrap-ansi}/node_modules/ansi-styles/license +0 -0
- /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/CHANGELOG.md +0 -0
- /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/LICENSE +0 -0
- /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/README.md +0 -0
- /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/LICENSE +0 -0
- /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/README.md +0 -0
- /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/index.js +0 -0
- /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/LICENSE +0 -0
- /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/README.md +0 -0
- /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/iterator.js +0 -0
- /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/package.json +0 -0
- /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/yallist.js +0 -0
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const os = require('os');
|
|
3
|
-
const hasFlag = require('has-flag');
|
|
4
|
-
|
|
5
|
-
const env = process.env;
|
|
6
|
-
|
|
7
|
-
let forceColor;
|
|
8
|
-
if (hasFlag('no-color') ||
|
|
9
|
-
hasFlag('no-colors') ||
|
|
10
|
-
hasFlag('color=false')) {
|
|
11
|
-
forceColor = false;
|
|
12
|
-
} else if (hasFlag('color') ||
|
|
13
|
-
hasFlag('colors') ||
|
|
14
|
-
hasFlag('color=true') ||
|
|
15
|
-
hasFlag('color=always')) {
|
|
16
|
-
forceColor = true;
|
|
17
|
-
}
|
|
18
|
-
if ('FORCE_COLOR' in env) {
|
|
19
|
-
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function translateLevel(level) {
|
|
23
|
-
if (level === 0) {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
return {
|
|
28
|
-
level,
|
|
29
|
-
hasBasic: true,
|
|
30
|
-
has256: level >= 2,
|
|
31
|
-
has16m: level >= 3
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
function supportsColor(stream) {
|
|
36
|
-
if (forceColor === false) {
|
|
37
|
-
return 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
if (hasFlag('color=16m') ||
|
|
41
|
-
hasFlag('color=full') ||
|
|
42
|
-
hasFlag('color=truecolor')) {
|
|
43
|
-
return 3;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
if (hasFlag('color=256')) {
|
|
47
|
-
return 2;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (stream && !stream.isTTY && forceColor !== true) {
|
|
51
|
-
return 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
const min = forceColor ? 1 : 0;
|
|
55
|
-
|
|
56
|
-
if (process.platform === 'win32') {
|
|
57
|
-
// Node.js 7.5.0 is the first version of Node.js to include a patch to
|
|
58
|
-
// libuv that enables 256 color output on Windows. Anything earlier and it
|
|
59
|
-
// won't work. However, here we target Node.js 8 at minimum as it is an LTS
|
|
60
|
-
// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows
|
|
61
|
-
// release that supports 256 colors. Windows 10 build 14931 is the first release
|
|
62
|
-
// that supports 16m/TrueColor.
|
|
63
|
-
const osRelease = os.release().split('.');
|
|
64
|
-
if (
|
|
65
|
-
Number(process.versions.node.split('.')[0]) >= 8 &&
|
|
66
|
-
Number(osRelease[0]) >= 10 &&
|
|
67
|
-
Number(osRelease[2]) >= 10586
|
|
68
|
-
) {
|
|
69
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return 1;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if ('CI' in env) {
|
|
76
|
-
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
|
77
|
-
return 1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return min;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if ('TEAMCITY_VERSION' in env) {
|
|
84
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
if (env.COLORTERM === 'truecolor') {
|
|
88
|
-
return 3;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
if ('TERM_PROGRAM' in env) {
|
|
92
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
93
|
-
|
|
94
|
-
switch (env.TERM_PROGRAM) {
|
|
95
|
-
case 'iTerm.app':
|
|
96
|
-
return version >= 3 ? 3 : 2;
|
|
97
|
-
case 'Apple_Terminal':
|
|
98
|
-
return 2;
|
|
99
|
-
// No default
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
|
104
|
-
return 2;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
108
|
-
return 1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
if ('COLORTERM' in env) {
|
|
112
|
-
return 1;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
if (env.TERM === 'dumb') {
|
|
116
|
-
return min;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return min;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
function getSupportLevel(stream) {
|
|
123
|
-
const level = supportsColor(stream);
|
|
124
|
-
return translateLevel(level);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
module.exports = {
|
|
128
|
-
supportsColor: getSupportLevel,
|
|
129
|
-
stdout: getSupportLevel(process.stdout),
|
|
130
|
-
stderr: getSupportLevel(process.stderr)
|
|
131
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4
|
-
|
|
5
|
-
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:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
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.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "supports-color",
|
|
3
|
-
"version": "5.5.0",
|
|
4
|
-
"description": "Detect whether a terminal supports color",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": "chalk/supports-color",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Sindre Sorhus",
|
|
9
|
-
"email": "sindresorhus@gmail.com",
|
|
10
|
-
"url": "sindresorhus.com"
|
|
11
|
-
},
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=4"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"test": "xo && ava"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"index.js",
|
|
20
|
-
"browser.js"
|
|
21
|
-
],
|
|
22
|
-
"keywords": [
|
|
23
|
-
"color",
|
|
24
|
-
"colour",
|
|
25
|
-
"colors",
|
|
26
|
-
"terminal",
|
|
27
|
-
"console",
|
|
28
|
-
"cli",
|
|
29
|
-
"ansi",
|
|
30
|
-
"styles",
|
|
31
|
-
"tty",
|
|
32
|
-
"rgb",
|
|
33
|
-
"256",
|
|
34
|
-
"shell",
|
|
35
|
-
"xterm",
|
|
36
|
-
"command-line",
|
|
37
|
-
"support",
|
|
38
|
-
"supports",
|
|
39
|
-
"capability",
|
|
40
|
-
"detect",
|
|
41
|
-
"truecolor",
|
|
42
|
-
"16m"
|
|
43
|
-
],
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"has-flag": "^3.0.0"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"ava": "^0.25.0",
|
|
49
|
-
"import-fresh": "^2.0.0",
|
|
50
|
-
"xo": "^0.20.0"
|
|
51
|
-
},
|
|
52
|
-
"browser": "browser.js"
|
|
53
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# supports-color [](https://travis-ci.org/chalk/supports-color)
|
|
2
|
-
|
|
3
|
-
> Detect whether a terminal supports color
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
$ npm install supports-color
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```js
|
|
16
|
-
const supportsColor = require('supports-color');
|
|
17
|
-
|
|
18
|
-
if (supportsColor.stdout) {
|
|
19
|
-
console.log('Terminal stdout supports color');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
if (supportsColor.stdout.has256) {
|
|
23
|
-
console.log('Terminal stdout supports 256 colors');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
if (supportsColor.stderr.has16m) {
|
|
27
|
-
console.log('Terminal stderr supports 16 million colors (truecolor)');
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## API
|
|
33
|
-
|
|
34
|
-
Returns an `Object` with a `stdout` and `stderr` property for testing either streams. Each property is an `Object`, or `false` if color is not supported.
|
|
35
|
-
|
|
36
|
-
The `stdout`/`stderr` objects specifies a level of support for color through a `.level` property and a corresponding flag:
|
|
37
|
-
|
|
38
|
-
- `.level = 1` and `.hasBasic = true`: Basic color support (16 colors)
|
|
39
|
-
- `.level = 2` and `.has256 = true`: 256 color support
|
|
40
|
-
- `.level = 3` and `.has16m = true`: Truecolor support (16 million colors)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## Info
|
|
44
|
-
|
|
45
|
-
It obeys the `--color` and `--no-color` CLI flags.
|
|
46
|
-
|
|
47
|
-
Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, add the environment variable `FORCE_COLOR=1` to forcefully enable color or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
|
|
48
|
-
|
|
49
|
-
Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
## Related
|
|
53
|
-
|
|
54
|
-
- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module
|
|
55
|
-
- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
## Maintainers
|
|
59
|
-
|
|
60
|
-
- [Sindre Sorhus](https://github.com/sindresorhus)
|
|
61
|
-
- [Josh Junon](https://github.com/qix-)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## License
|
|
65
|
-
|
|
66
|
-
MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/.eslintrc.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/index.d.ts
RENAMED
|
File without changes
|
/package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/package.json
RENAMED
|
File without changes
|
/package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/readme.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node_modules/{conventional-changelog-writer/node_modules/semver → lru-cache}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|