chalk
Advanced tools
Comparing version 5.2.0 to 5.3.0
{ | ||
"name": "chalk", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"description": "Terminal string styling done right", | ||
@@ -64,2 +64,3 @@ "license": "MIT", | ||
}, | ||
"sideEffects": false, | ||
"xo": { | ||
@@ -70,3 +71,4 @@ "rules": { | ||
"@typescript-eslint/consistent-type-exports": "off", | ||
"@typescript-eslint/consistent-type-definitions": "off" | ||
"@typescript-eslint/consistent-type-definitions": "off", | ||
"unicorn/expiring-todo-comments": "off" | ||
} | ||
@@ -73,0 +75,0 @@ }, |
@@ -6,2 +6,3 @@ import process from 'node:process'; | ||
// From: https://github.com/sindresorhus/has-flag/blob/main/index.js | ||
/// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) { | ||
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) { | ||
@@ -115,3 +116,3 @@ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); | ||
if ('CI' in env) { | ||
if ('GITHUB_ACTIONS' in env) { | ||
if ('GITHUB_ACTIONS' in env || 'GITEA_ACTIONS' in env) { | ||
return 3; | ||
@@ -118,0 +119,0 @@ } |
43736
1047