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

@ngx-next/logger

Package Overview
Dependencies
Maintainers
1
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-next/logger - npm Package Compare versions

Comparing version 0.7.139-next.180 to 0.7.139-next.181

3

package.json
{
"name": "@ngx-next/logger",
"version": "0.7.139-next.180",
"version": "0.7.139-next.181",
"main": "lib/src/index.js",

@@ -9,3 +9,2 @@ "types": "lib/src/index.d.ts",

"execa": "1.x.x",
"npmlog": "4.x.x",
"ts-log": "2.x.x"

@@ -12,0 +11,0 @@ },

@@ -1,7 +0,5 @@

import * as log from 'npmlog';
import { Logger } from 'ts-log';
export declare class NgxLogger implements Logger {
brand: string;
log: typeof log;
constructor();
_brand: string;
brand: any;
cli(title: string, message: any): void;

@@ -8,0 +6,0 @@ debug(title: string, message: any): void;

@@ -5,10 +5,12 @@ "use strict";

const fs = require("fs");
const log = require("npmlog");
class NgxLogger {
constructor() {
this.brand = chalk_1.default.bold.italic.cyanBright('@ngx-next');
this.log = log;
this.log.heading = this.brand;
this.log.silly('test', 'message');
this._brand = chalk_1.default.bold.italic.cyanBright('@ngx-next');
}
get brand() {
return this._brand;
}
set brand(brand) {
this._brand = brand;
}
cli(title, message) {

@@ -15,0 +17,0 @@ console.log(this.brand, chalk_1.default.yellow(`:${title}:`), chalk_1.default.bold.whiteBright(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