diff --git a/lib/src/compiler/utils.ts b/lib/src/compiler/utils.ts index 7bc0fe94..b48ccc6d 100644 --- a/lib/src/compiler/utils.ts +++ b/lib/src/compiler/utils.ts @@ -72,7 +72,7 @@ function newCompileRequest( globalFunctions: Object.keys(options?.functions ?? {}), sourceMap: !!options?.sourceMap, sourceMapIncludeSources: !!options?.sourceMapIncludeSources, - alertColor: options?.alertColor ?? !!supportsColor.stdout, + alertColor: options?.alertColor ?? !!supportsColor.default.stdout, alertAscii: !!options?.alertAscii, quietDeps: !!options?.quietDeps, verbose: !!options?.verbose, diff --git a/package.json b/package.json index 10927a23..3b2342bb 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "colorjs.io": "^0.5.0", "immutable": "^5.0.2", "rxjs": "^7.4.0", - "supports-color": "^8.1.1", + "supports-color": "^10.0.0", "sync-child-process": "^1.0.2", "varint": "^6.0.0" }, @@ -77,7 +77,7 @@ "@types/jest": "^29.4.0", "@types/node": "^22.0.0", "@types/shelljs": "^0.8.8", - "@types/supports-color": "^8.1.1", + "@types/supports-color": "^10.0.0", "@types/tar": "^6.1.0", "@types/varint": "^6.0.1", "@types/yargs": "^17.0.4",