Socket
Socket
Sign inDemoInstall

@visulima/is-ansi-color-supported

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visulima/is-ansi-color-supported - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

dist/is-color-supported.browser.mjs

18

CHANGELOG.md

@@ -0,1 +1,19 @@

## @visulima/is-ansi-color-supported [2.2.2](https://github.com/visulima/visulima/compare/@visulima/is-ansi-color-supported@2.2.1...@visulima/is-ansi-color-supported@2.2.2) (2024-06-13)
### Bug Fixes
* **is-ansi-color-supported:** switched from tsup to packem ([d13332f](https://github.com/visulima/visulima/commit/d13332f6784aba59259fb9c09c47ae1d67962ec6))
### Styles
* cs fixes ([253af1e](https://github.com/visulima/visulima/commit/253af1e788c9544a2286dc0018c6549f62ca6c7b))
### Miscellaneous Chores
* updated all dev deps ([ef143ce](https://github.com/visulima/visulima/commit/ef143ce2e15952a0910aa5c8bd78d25de9ebd7f3))
### Build System
* fixed found audit error, updated all dev package deps, updated deps in apps and examples ([4c51950](https://github.com/visulima/visulima/commit/4c519500dc5504579d35725572920658999885cb))
## @visulima/is-ansi-color-supported [2.2.1](https://github.com/visulima/visulima/compare/@visulima/is-ansi-color-supported@2.2.0...@visulima/is-ansi-color-supported@2.2.1) (2024-06-06)

@@ -2,0 +20,0 @@

10

dist/is-color-supported.server.d.ts

@@ -1,7 +0,11 @@

import { C as ColorSupportLevel } from './color-spaces-DeN59JDX.js';
export { S as SPACE_16_COLORS, a as SPACE_256_COLORS, b as SPACE_MONO, c as SPACE_TRUE_COLORS } from './color-spaces-DeN59JDX.js';
type ColorSupportLevel = 0 | 1 | 2 | 3;
declare const SPACE_MONO = 0;
declare const SPACE_16_COLORS = 1;
declare const SPACE_256_COLORS = 2;
declare const SPACE_TRUE_COLORS = 3;
declare const isStdoutColorSupported: () => ColorSupportLevel;
declare const isStderrColorSupported: () => ColorSupportLevel;
export { ColorSupportLevel, isStderrColorSupported, isStdoutColorSupported };
export { type ColorSupportLevel, SPACE_16_COLORS, SPACE_256_COLORS, SPACE_MONO, SPACE_TRUE_COLORS, isStderrColorSupported, isStdoutColorSupported };
{
"name": "@visulima/is-ansi-color-supported",
"version": "2.2.1",
"version": "2.2.2",
"description": "Detect whether a terminal or browser supports ansi colors.",

@@ -60,3 +60,3 @@ "keywords": [

".": {
"browser": "./dist/is-color-supported.browser.js",
"browser": "./dist/is-color-supported.browser.mjs",
"require": {

@@ -67,4 +67,4 @@ "types": "./dist/is-color-supported.server.d.cts",

"import": {
"types": "./dist/is-color-supported.server.d.ts",
"default": "./dist/is-color-supported.server.js"
"types": "./dist/is-color-supported.server.d.mts",
"default": "./dist/is-color-supported.server.mjs"
}

@@ -75,4 +75,4 @@ },

"main": "dist/is-color-supported.server.cjs",
"module": "dist/is-color-supported.server.js",
"browser": "./dist/is-color-supported.browser.js",
"module": "dist/is-color-supported.server.mjs",
"browser": "./dist/is-color-supported.browser.mjs",
"types": "dist/is-color-supported.server.d.ts",

@@ -88,12 +88,15 @@ "files": [

"@anolilab/prettier-config": "^5.0.14",
"@anolilab/semantic-release-pnpm": "^1.1.0",
"@anolilab/semantic-release-preset": "^8.1.0",
"@babel/core": "^7.24.6",
"@anolilab/semantic-release-pnpm": "^1.1.3",
"@anolilab/semantic-release-preset": "^9.0.0",
"@babel/core": "^7.24.7",
"@rushstack/eslint-plugin-security": "^0.8.1",
"@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
"@types/micromatch": "^4.0.7",
"@types/node": "18.18.14",
"@types/node": "18.19.15",
"@visulima/packem": "^1.0.0-alpha.41",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"conventional-changelog-conventionalcommits": "8.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",

@@ -106,7 +109,6 @@ "eslint-plugin-deprecation": "^3.0.0",

"eslint-plugin-vitest-globals": "^1.5.0",
"prettier": "^3.3.0",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"secretlint": "8.2.3",
"semantic-release": "23.1.1",
"tsup": "^8.1.0",
"secretlint": "8.2.4",
"semantic-release": "24.0.0",
"typescript": "^5.4.5",

@@ -144,4 +146,4 @@ "vitest": "^1.6.0"

"scripts": {
"build": "cross-env NODE_ENV=development tsup",
"build:prod": "cross-env NODE_ENV=production tsup",
"build": "cross-env NODE_ENV=development packem build",
"build:prod": "cross-env NODE_ENV=production packem build",
"clean": "rimraf node_modules dist .eslintcache",

@@ -148,0 +150,0 @@ "dev": "pnpm run build --watch",

@@ -91,2 +91,3 @@ <div align="center">

[^1]: Colors supported depends on actual terminal.
[^2]: The Windows terminal supports true color since Windows 10 revision 14931 (2016-09-21).

@@ -93,0 +94,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc