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

@compodoc/ngd-core

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compodoc/ngd-core - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

24

dist/lang/logger.js
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};

@@ -47,3 +49,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

if (this.silent == false) {
this.logger(this.format.apply(this, __spreadArrays([LEVEL.INFO], args)));
this.logger(this.format.apply(this, __spreadArray([LEVEL.INFO], args, false)));
}

@@ -57,3 +59,3 @@ };

if (this.silent == false) {
this.logger(this.format.apply(this, __spreadArrays([LEVEL.WARN], args)));
this.logger(this.format.apply(this, __spreadArray([LEVEL.WARN], args, false)));
}

@@ -67,3 +69,3 @@ };

if (this.silent == false) {
this.logger(this.format.apply(this, __spreadArrays([LEVEL.FATAL], args)));
this.logger(this.format.apply(this, __spreadArray([LEVEL.FATAL], args, false)));
}

@@ -86,3 +88,3 @@ };

if (this.silent == false) {
this.logger(this.format.apply(this, __spreadArrays([LEVEL.DEBUG], args)));
this.logger(this.format.apply(this, __spreadArray([LEVEL.DEBUG], args, false)));
}

@@ -108,3 +110,3 @@ };

if (args.length > 1) {
msg = pad(args.shift(), 13, ' ') + ": " + args.join(' ');
msg = "".concat(pad(args.shift(), 13, ' '), ": ").concat(args.join(' '));
}

@@ -111,0 +113,0 @@ switch (level) {

{
"name": "@compodoc/ngd-core",
"version": "2.1.0",
"version": "2.1.1",
"description": "A core library for @compodoc/ngd",

@@ -27,10 +27,10 @@ "main": "dist/index.js",

"dependencies": {
"ansi-colors": "^4.1.1",
"fancy-log": "^1.3.3",
"typescript": "^4.0.3"
"ansi-colors": "^4.1.3",
"fancy-log": "^2.0.0",
"typescript": "^5.0.4"
},
"devDependencies": {
"@types/node": "^14.11.8"
"@types/node": "^20.1.2"
},
"types": "dist/index.d.ts"
}
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