Socket
Socket
Sign inDemoInstall

chalk

Package Overview
Dependencies
0
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.0 to 5.3.0

6

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc