Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@palett/util-ansi

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palett/util-ansi - npm Package Compare versions

Comparing version 0.8.14 to 0.8.15

2

dist/index.cjs.js

@@ -101,3 +101,3 @@ 'use strict';

const concatSgr = (tx, el) => tx.length ? el.length ? tx + ';' + el : tx : el;
const concatSgr = (tx, el) => (tx != null && tx.length ? el != null && el.length ? tx + ';' + el : tx : el) ?? '';

@@ -104,0 +104,0 @@ const hexToForeSgra = hex => {

@@ -97,3 +97,3 @@ import { hexToInt, hslToRgb } from '@palett/convert';

const concatSgr = (tx, el) => tx.length ? el.length ? tx + ';' + el : tx : el;
const concatSgr = (tx, el) => (tx != null && tx.length ? el != null && el.length ? tx + ';' + el : tx : el) ?? '';

@@ -100,0 +100,0 @@ const hexToForeSgra = hex => {

{
"name": "@palett/util-ansi",
"version": "0.8.14",
"version": "0.8.15",
"description": "A color converter",

@@ -19,3 +19,3 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@palett/convert": "^0.8.14"
"@palett/convert": "^0.8.15"
},

@@ -43,3 +43,3 @@ "devDependencies": {

"homepage": "https://github.com/hoyeungw/palett/util-ansi#readme",
"gitHead": "2caee8682c727f7206ef9716d3e9c3cc75b33dec"
"gitHead": "d262ae3420015dc9904fb77ce558ed9fd6d1a4c2"
}
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