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

@kitql/helper

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitql/helper - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

index.d.ts

@@ -1,2 +0,1 @@

export { type Logger } from 'pino';
export { Log, logCyan, logGreen, logRed } from './Log';

7

index.js

@@ -12,2 +12,5 @@ 'use strict';

}
function logMagneta(str) {
return `\x1b[35m${str}\x1b[37m\x1b[0m`;
}
function logRed(str) {

@@ -32,6 +35,6 @@ return `\u001B[31m${str}\x1b[37m\x1b[0m`;

info(msg) {
this.logger.info(`[${this.toolName}] - ${msg}`);
this.logger.info(`${logMagneta(`[${this.toolName}]`)} - ${msg}`);
}
error(msg) {
this.logger.error(`[${this.toolName}] - ${msg}`);
this.logger.error(`${logMagneta(`[${this.toolName}]`)} - ${msg}`);
}

@@ -38,0 +41,0 @@ }

export declare function logGreen(str: any): string;
export declare function logMagneta(str: any): string;
export declare function logRed(str: any): string;

@@ -3,0 +4,0 @@ export declare function logCyan(str: any): string;

{
"name": "@kitql/helper",
"version": "0.0.2",
"version": "0.0.3",
"dependencies": {

@@ -5,0 +5,0 @@ "pino": "7.6.5",

Sorry, the diff of this file is not supported yet

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