@compodoc/ngd-core
Advanced tools
Comparing version 2.0.0 to 2.1.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getNewLineCharacter = exports.d = exports.compilerHost = exports.logger = void 0; | ||
var logger_1 = require("./lang/logger"); | ||
exports.logger = logger_1.logger; | ||
Object.defineProperty(exports, "logger", { enumerable: true, get: function () { return logger_1.logger; } }); | ||
var utilities_1 = require("./lang/utilities"); | ||
exports.compilerHost = utilities_1.compilerHost; | ||
exports.d = utilities_1.d; | ||
exports.getNewLineCharacter = utilities_1.getNewLineCharacter; | ||
Object.defineProperty(exports, "compilerHost", { enumerable: true, get: function () { return utilities_1.compilerHost; } }); | ||
Object.defineProperty(exports, "d", { enumerable: true, get: function () { return utilities_1.d; } }); | ||
Object.defineProperty(exports, "getNewLineCharacter", { enumerable: true, get: function () { return utilities_1.getNewLineCharacter; } }); |
@@ -15,4 +15,4 @@ export declare class Logger { | ||
trace(error: any, file: any): void; | ||
private format(level, ...args); | ||
private format; | ||
} | ||
export declare let logger: Logger; |
"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; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.logger = exports.Logger = void 0; | ||
var c = require('ansi-colors'); | ||
@@ -39,3 +47,3 @@ var pkg = require('../../package.json'); | ||
if (this.silent == false) { | ||
this.logger(this.format.apply(this, [LEVEL.INFO].concat(args))); | ||
this.logger(this.format.apply(this, __spreadArrays([LEVEL.INFO], args))); | ||
} | ||
@@ -49,3 +57,3 @@ }; | ||
if (this.silent == false) { | ||
this.logger(this.format.apply(this, [LEVEL.WARN].concat(args))); | ||
this.logger(this.format.apply(this, __spreadArrays([LEVEL.WARN], args))); | ||
} | ||
@@ -59,3 +67,3 @@ }; | ||
if (this.silent == false) { | ||
this.logger(this.format.apply(this, [LEVEL.FATAL].concat(args))); | ||
this.logger(this.format.apply(this, __spreadArrays([LEVEL.FATAL], args))); | ||
} | ||
@@ -78,3 +86,3 @@ }; | ||
if (this.silent == false) { | ||
this.logger(this.format.apply(this, [LEVEL.DEBUG].concat(args))); | ||
this.logger(this.format.apply(this, __spreadArrays([LEVEL.DEBUG], args))); | ||
} | ||
@@ -81,0 +89,0 @@ }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.compilerHost = exports.getNewLineCharacter = exports.d = void 0; | ||
var ts = require("typescript"); | ||
@@ -4,0 +5,0 @@ var fs = require("fs"); |
{ | ||
"name": "@compodoc/ngd-core", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A core library for @compodoc/ngd", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"prextest": "npm run compile:src && npm run compile:tests", | ||
"xtest": "mocha --opts test/mocha.opts", | ||
"compile:tests": "tsc -p test/tsconfig-test.json", | ||
"compile:src": "tsc --newLine LF", | ||
"prexpublish": "npm run compile:src && npm run xtest", | ||
"prexpublish": "npm run compile:src", | ||
"deploy": "npm run compile:src && npm xpublish" | ||
@@ -18,3 +15,3 @@ }, | ||
"engines": { | ||
"node": ">= 6.0.0" | ||
"node": ">= 10.0.0" | ||
}, | ||
@@ -31,14 +28,10 @@ "contributors": [ | ||
"dependencies": { | ||
"ansi-colors": "^1.0.1", | ||
"fancy-log": "^1.3.2", | ||
"typescript": "^2.4.2" | ||
"ansi-colors": "^4.1.1", | ||
"fancy-log": "^1.3.3", | ||
"typescript": "^4.0.3" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.0.4", | ||
"@types/mocha": "^2.2.32", | ||
"@types/node": "^8.0.24", | ||
"chai": "^4.1.1", | ||
"mocha": "^3.1.2" | ||
"@types/node": "^14.11.8" | ||
}, | ||
"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
1
13762
11
408
+ Addedansi-colors@4.1.3(transitive)
+ Addedtypescript@4.9.5(transitive)
- Removedansi-colors@1.1.0(transitive)
- Removedtypescript@2.9.2(transitive)
Updatedansi-colors@^4.1.1
Updatedfancy-log@^1.3.3
Updatedtypescript@^4.0.3