@acot/logger
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -6,2 +6,6 @@ # Change Log | ||
## [0.0.16](https://github.com/acot-a11y/acot/compare/v0.0.15...v0.0.16) (2022-05-01) | ||
**Note:** Version bump only for package @acot/logger | ||
## [0.0.15](https://github.com/acot-a11y/acot/compare/v0.0.14...v0.0.15) (2022-03-27) | ||
@@ -8,0 +12,0 @@ |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -108,3 +108,3 @@ "use strict"; | ||
.splice(1) | ||
.map((line) => indent_string_1.default(line | ||
.map((line) => (0, indent_string_1.default)(line | ||
.trim() | ||
@@ -122,3 +122,3 @@ .replace('file://', '') | ||
_formatWithOptions(format, ...args) { | ||
return util_1.formatWithOptions({ | ||
return (0, util_1.formatWithOptions)({ | ||
breakLength: this._config.break, | ||
@@ -138,3 +138,3 @@ depth: this._config.depth, | ||
const other = formatted.slice(pos); | ||
return first + (other ? indent_string_1.default(other, head) : ''); | ||
return first + (other ? (0, indent_string_1.default)(other, head) : ''); | ||
} | ||
@@ -159,3 +159,3 @@ print(format, ...args) { | ||
head += ' '; | ||
const body = this._format(strip_ansi_1.default(head).length, [format, ...args]); | ||
const body = this._format((0, strip_ansi_1.default)(head).length, [format, ...args]); | ||
this._config[distMap[type]].write(head + body + '\n'); | ||
@@ -162,0 +162,0 @@ return this; |
{ | ||
"name": "@acot/logger", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "A simple logger for acot.", | ||
@@ -48,3 +48,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4d9ea6c5bb5cf7f6611c349f82d464df5abe8596" | ||
"gitHead": "7535e01cafd25fc1d6c32c31a1ae9fce5326b3d8" | ||
} |
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
12793
252