@compodoc/ngd-core
Advanced tools
Comparing version 2.1.0 to 2.1.1
"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" | ||
} |
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
13854
368014
410
+ Addedfancy-log@2.0.0(transitive)
+ Addedtypescript@5.7.2(transitive)
- Removedansi-gray@0.1.1(transitive)
- Removedansi-wrap@0.1.0(transitive)
- Removedfancy-log@1.3.3(transitive)
- Removedparse-node-version@1.0.1(transitive)
- Removedtime-stamp@1.1.0(transitive)
- Removedtypescript@4.9.5(transitive)
Updatedansi-colors@^4.1.3
Updatedfancy-log@^2.0.0
Updatedtypescript@^5.0.4