mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 14:40:10 +08:00
Update checked-in dependencies
This commit is contained in:
6
node_modules/sinon/node_modules/supports-color/index.js
generated
vendored
6
node_modules/sinon/node_modules/supports-color/index.js
generated
vendored
@@ -81,7 +81,7 @@ function supportsColor(haveStream, streamIsTTY) {
|
||||
}
|
||||
|
||||
if ('CI' in env) {
|
||||
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
||||
if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -92,10 +92,6 @@ function supportsColor(haveStream, streamIsTTY) {
|
||||
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
||||
}
|
||||
|
||||
if ('GITHUB_ACTIONS' in env) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (env.COLORTERM === 'truecolor') {
|
||||
return 3;
|
||||
}
|
||||
|
||||
2
node_modules/sinon/node_modules/supports-color/package.json
generated
vendored
2
node_modules/sinon/node_modules/supports-color/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "supports-color",
|
||||
"version": "7.1.0",
|
||||
"version": "7.2.0",
|
||||
"description": "Detect whether a terminal supports color",
|
||||
"license": "MIT",
|
||||
"repository": "chalk/supports-color",
|
||||
|
||||
Reference in New Issue
Block a user