From 4081c2036a5af21519095da1b8b99c507b0fba93 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 17 Apr 2022 17:37:10 +0200 Subject: Deprecation --- node_modules/log-symbols/browser.js | 8 ----- node_modules/log-symbols/index.d.ts | 22 -------------- node_modules/log-symbols/index.js | 20 ------------- node_modules/log-symbols/license | 9 ------ node_modules/log-symbols/package.json | 56 ----------------------------------- node_modules/log-symbols/readme.md | 51 ------------------------------- 6 files changed, 166 deletions(-) delete mode 100644 node_modules/log-symbols/browser.js delete mode 100644 node_modules/log-symbols/index.d.ts delete mode 100644 node_modules/log-symbols/index.js delete mode 100644 node_modules/log-symbols/license delete mode 100644 node_modules/log-symbols/package.json delete mode 100644 node_modules/log-symbols/readme.md (limited to 'node_modules/log-symbols') diff --git a/node_modules/log-symbols/browser.js b/node_modules/log-symbols/browser.js deleted file mode 100644 index 9bcecee..0000000 --- a/node_modules/log-symbols/browser.js +++ /dev/null @@ -1,8 +0,0 @@ -const logSymbols = { - info: 'ℹ️', - success: '✅', - warning: '⚠️', - error: '❌️', -}; - -export default logSymbols; diff --git a/node_modules/log-symbols/index.d.ts b/node_modules/log-symbols/index.d.ts deleted file mode 100644 index 8490570..0000000 --- a/node_modules/log-symbols/index.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** -Colored symbols for various log levels. - -Includes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437). - -@example -``` -import logSymbols from 'log-symbols'; - -console.log(logSymbols.success, 'Finished successfully!'); -// Terminals with Unicode support: ✔ Finished successfully! -// Terminals without Unicode support: √ Finished successfully! -``` -*/ -declare const logSymbols: { - readonly info: string; - readonly success: string; - readonly warning: string; - readonly error: string; -}; - -export default logSymbols; diff --git a/node_modules/log-symbols/index.js b/node_modules/log-symbols/index.js deleted file mode 100644 index 2c82c0c..0000000 --- a/node_modules/log-symbols/index.js +++ /dev/null @@ -1,20 +0,0 @@ -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; diff --git a/node_modules/log-symbols/license b/node_modules/log-symbols/license deleted file mode 100644 index fa7ceba..0000000 --- a/node_modules/log-symbols/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_modules/log-symbols/package.json b/node_modules/log-symbols/package.json deleted file mode 100644 index 3ea6e13..0000000 --- a/node_modules/log-symbols/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "log-symbols", - "version": "5.1.0", - "description": "Colored symbols for various log levels. Example: `✔︎ Success`", - "license": "MIT", - "repository": "sindresorhus/log-symbols", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "type": "module", - "exports": { - "node": "./index.js", - "default": "./browser.js" - }, - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "browser.js" - ], - "keywords": [ - "unicode", - "cli", - "cmd", - "command-line", - "characters", - "symbol", - "symbols", - "figure", - "figures", - "fallback", - "windows", - "log", - "logging", - "terminal", - "stdout" - ], - "dependencies": { - "chalk": "^5.0.0", - "is-unicode-supported": "^1.1.0" - }, - "devDependencies": { - "ava": "^3.15.0", - "strip-ansi": "^7.0.1", - "tsd": "^0.19.0", - "xo": "^0.47.0" - } -} diff --git a/node_modules/log-symbols/readme.md b/node_modules/log-symbols/readme.md deleted file mode 100644 index 11dfccf..0000000 --- a/node_modules/log-symbols/readme.md +++ /dev/null @@ -1,51 +0,0 @@ -# log-symbols - - - -> Colored symbols for various log levels - -Includes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437). - -## Install - -```sh -npm install log-symbols -``` - -## Usage - -```js -import logSymbols from 'log-symbols'; - -console.log(logSymbols.success, 'Finished successfully!'); -// Terminals with Unicode support: ✔ Finished successfully! -// Terminals without Unicode support: √ Finished successfully! -``` - -## API - -### logSymbols - -#### info -#### success -#### warning -#### error - -## Related - -- [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows CMD fallbacks -- [py-log-symbols](https://github.com/ManrajGrover/py-log-symbols) - Python port -- [log-symbols](https://github.com/palash25/log-symbols) - Ruby port -- [guumaster/logsymbols](https://github.com/guumaster/logsymbols) - Golang port - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
-- cgit