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

log-symbols

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-symbols - npm Package Compare versions

Comparing version 6.0.0 to 7.0.0

browser-symbols.js

9

browser.js

@@ -1,8 +0,1 @@

const logSymbols = {
info: 'ℹ️',
success: '✅',
warning: '⚠️',
error: '❌️',
};
export default logSymbols;
export * as default from './browser-symbols.js';

@@ -1,20 +0,1 @@

import chalk from 'chalk';
import isUnicodeSupported from 'is-unicode-supported';
const main = {
info: chalk.blue('ℹ'),
success: chalk.green('✔'),
warning: chalk.yellow('⚠'),
error: chalk.red('✖'),
};
const fallback = {
info: chalk.blue('i'),
success: chalk.green('√'),
warning: chalk.yellow('‼'),
error: chalk.red('×'),
};
const logSymbols = isUnicodeSupported() ? main : fallback;
export default logSymbols;
export * as default from './symbols.js';
{
"name": "log-symbols",
"version": "6.0.0",
"version": "7.0.0",
"description": "Colored symbols for various log levels. Example: `✔︎ Success`",

@@ -19,2 +19,3 @@ "license": "MIT",

},
"sideEffects": false,
"engines": {

@@ -29,3 +30,5 @@ "node": ">=18"

"index.d.ts",
"browser.js"
"browser.js",
"symbols.js",
"browser-symbols.js"
],

@@ -50,11 +53,11 @@ "keywords": [

"dependencies": {
"chalk": "^5.3.0",
"is-unicode-supported": "^1.3.0"
"is-unicode-supported": "^2.0.0",
"yoctocolors": "^2.1.1"
},
"devDependencies": {
"ava": "^5.3.1",
"ava": "^6.1.3",
"strip-ansi": "^7.1.0",
"tsd": "^0.29.0",
"xo": "^0.56.0"
"tsd": "^0.31.1",
"xo": "^0.59.3"
}
}
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