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

namirasoft-core

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namirasoft-core - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

2

dist/ConsoleOperation.d.ts

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

export declare class ConsoleColor {
export declare class ConsoleOperation {
static colors: {

@@ -3,0 +3,0 @@ reset: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConsoleColor = void 0;
class ConsoleColor {
exports.ConsoleOperation = void 0;
class ConsoleOperation {
static formatLogColor(message) {

@@ -21,19 +21,19 @@ return (this.colors.white + message + this.colors.reset);

static log(message) {
console.log(ConsoleColor.formatLogColor(message));
console.log(ConsoleOperation.formatLogColor(message));
}
static info(message) {
console.info(ConsoleColor.formatInfoColor(message));
console.info(ConsoleOperation.formatInfoColor(message));
}
static success(message) {
console.info(ConsoleColor.formatSuccessColor(message));
console.info(ConsoleOperation.formatSuccessColor(message));
}
static warning(message) {
console.warn(ConsoleColor.formatWarningColor(message));
console.warn(ConsoleOperation.formatWarningColor(message));
}
static error(message) {
console.error(ConsoleColor.formatErrorColor(message));
console.error(ConsoleOperation.formatErrorColor(message));
}
}
exports.ConsoleColor = ConsoleColor;
ConsoleColor.colors = {
exports.ConsoleOperation = ConsoleOperation;
ConsoleOperation.colors = {
reset: '\x1b[0m',

@@ -40,0 +40,0 @@ red: '\x1b[31m',

@@ -11,3 +11,3 @@ {

"private": false,
"version": "1.3.4",
"version": "1.3.5",
"main": "./dist/index.js",

@@ -14,0 +14,0 @@ "types": "./dist/index.d.ts",

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

export class ConsoleColor
export class ConsoleOperation
{

@@ -35,20 +35,20 @@ public static colors = {

{
console.log(ConsoleColor.formatLogColor(message));
console.log(ConsoleOperation.formatLogColor(message));
}
static info(message: string)
{
console.info(ConsoleColor.formatInfoColor(message));
console.info(ConsoleOperation.formatInfoColor(message));
}
static success(message: string)
{
console.info(ConsoleColor.formatSuccessColor(message));
console.info(ConsoleOperation.formatSuccessColor(message));
}
static warning(message: string)
{
console.warn(ConsoleColor.formatWarningColor(message));
console.warn(ConsoleOperation.formatWarningColor(message));
}
static error(message: string)
{
console.error(ConsoleColor.formatErrorColor(message));
console.error(ConsoleOperation.formatErrorColor(message));
}
}

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