ssh-tunneling
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -1,2 +0,2 @@ | ||
type Color = 'success' | 'error' | 'info' | 'warn' | 'white' | 'bgWhite' | 'cyan' | 'bgCyan' | 'black' | 'bgBlack' | 'red' | 'bgRed' | 'purple' | 'bgPurple' | 'blue' | 'bgBlue' | 'pink' | 'bgPink' | 'green' | 'bgGreen' | 'yellow' | 'bgYellow' | 'orange' | 'bgOrange' | 'gray' | 'bgGray'; | ||
type Color = 'success' | 'error' | 'info' | 'warn' | 'white' | 'bgWhite' | 'cyan' | 'bgCyan' | 'black' | 'bgBlack' | 'red' | 'bgRed' | 'purple' | 'bgPurple' | 'blue' | 'bgBlue' | 'pink' | 'bgPink' | 'green' | 'bgGreen' | 'yellow' | 'bgYellow' | 'orange' | 'bgOrange' | 'gray' | 'bgGray' | 'mint' | 'bgMint'; | ||
type Logger = Record<Color, (content: any, options?: { | ||
@@ -3,0 +3,0 @@ newLine?: boolean; |
@@ -81,3 +81,5 @@ "use strict"; | ||
gray: [232, 0], | ||
bgGray: [0, 232] | ||
bgGray: [0, 232], | ||
mint: [48, 0], | ||
bgMint: [0, 48], | ||
}; | ||
@@ -116,2 +118,6 @@ const logger = { | ||
// ] | ||
// const c = [ | ||
// 51, 87, 123, 159, 195, 231, | ||
// 230, 194,158, 122, 86, 50 | ||
// ] | ||
const generateColors = (start) => { | ||
@@ -161,14 +167,14 @@ // start 为右上角的色值,按照顺时针 | ||
// logger.line(Object.keys(config).map((type: any) => ({ type, content: type }))); | ||
// const magic1 = | ||
// ` | ||
// ▄▄▄▄███▄▄▄▄ ▄████████ ▄██████▄ ▄█ ▄████████ | ||
// ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ | ||
// ███ ███ ███ ███ ███ ███ █▀ ███▌ ███ █▀ | ||
// ███ ███ ███ ███ ███ ▄███ ███▌ ███ | ||
// ███ ███ ███ ▀███████████ ▀▀███ ████▄ ███▌ ███ | ||
// ███ ███ ███ ███ ███ ███ ███ ███ ███ █▄ | ||
// ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ | ||
// ▀█ ███ █▀ ███ █▀ ████████▀ █▀ ████████▀ | ||
// `; | ||
// const magic = ` | ||
// logger.lineGradient( | ||
// ` | ||
// ▄▄▄▄███▄▄▄▄ ▄████████ ▄██████▄ ▄█ ▄████████ | ||
// ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ | ||
// ███ ███ ███ ███ ███ ███ █▀ ███▌ ███ █▀ | ||
// ███ ███ ███ ███ ███ ▄███ ███▌ ███ | ||
// ███ ███ ███ ▀███████████ ▀▀███ ████▄ ███▌ ███ | ||
// ███ ███ ███ ███ ███ ███ ███ ███ ███ █▄ | ||
// ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ | ||
// ▀█ ███ █▀ ███ █▀ ████████▀ █▀ ████████▀ | ||
// `); | ||
// logger.lineGradient(` | ||
// ███╗ ███╗ █████╗ ██████╗ ██╗ ██████╗██╗ | ||
@@ -180,5 +186,3 @@ // ████╗ ████║██╔══██╗██╔════╝ ██║██╔════╝██║ | ||
// ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝╚═╝ | ||
// ` | ||
// logger.lineGradient(magic1); | ||
// logger.lineGradient(magic); | ||
// `); | ||
exports.default = logger; |
{ | ||
"private": false, | ||
"name": "ssh-tunneling", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "a ssh-tunneling client for nodejs", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40255
760