You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@palett/util-ansi

Package Overview
Dependencies
Maintainers
1
Versions
155
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

to
0.7.10

10

dist/index.cjs.js

@@ -8,4 +8,6 @@ 'use strict';

const CLR_ALL = '0';
const ESC = '\u001b';
const L = '\u001b[';
const ESC = '';
const CSI = '[';
const SGR = 'm';
const L = '[';
const R = 'm';

@@ -74,3 +76,3 @@ const SC = ';';

const chainEnclose = codes => L + codes.join(SC) + R;
const chainEnclose = codes => CSI + codes.join(SC) + SGR;
/**

@@ -82,3 +84,3 @@ *

const enclose = code => L + code + R;
const enclose = code => CSI + code + SGR;

@@ -85,0 +87,0 @@ /**

import { hexToInt, hslToRgb } from '@palett/convert';
const CLR_ALL = '0';
const ESC = '\u001b';
const L = '\u001b[';
const ESC = '';
const CSI = '[';
const SGR = 'm';
const L = '[';
const R = 'm';

@@ -69,3 +71,3 @@ const SC = ';';

const chainEnclose = codes => L + codes.join(SC) + R;
const chainEnclose = codes => CSI + codes.join(SC) + SGR;
/**

@@ -77,3 +79,3 @@ *

const enclose = code => L + code + R;
const enclose = code => CSI + code + SGR;

@@ -80,0 +82,0 @@ /**

6

package.json
{
"name": "@palett/util-ansi",
"version": "0.7.9",
"version": "0.7.10",
"description": "A color converter",

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

"dependencies": {
"@palett/convert": "^0.7.9"
"@palett/convert": "^0.7.10"
},

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

"homepage": "https://github.com/hoyeungw/palett/util-ansi#readme",
"gitHead": "122d02cbfff85a82d703afb1ee1a30b38789cd02"
"gitHead": "ddfad2a10d138a1f32f77faa7916bbc60c7e89cc"
}