Comparing version 1.4.2 to 1.5.0
# CHANGELOG | ||
### 1.5.0 | ||
**2018/04/22** | ||
- [#23], (@ChrisAlderson) Add ms format to support '+N ms' format. Fixes #20. | ||
- [#24], (@aneilbaboo) Fix `webpack` warnings. | ||
- Add `.travis.yml`. | ||
### 1.4.2 | ||
@@ -4,0 +11,0 @@ **2018/04/19** |
@@ -44,2 +44,3 @@ // Type definitions for logform 1.2 | ||
function logstash(opts?: object): Format; | ||
function ms(opts?: object): Format; | ||
function padLevels(opts?: object): Format; | ||
@@ -46,0 +47,0 @@ function prettyPrint(opts?: object): Format; |
@@ -27,3 +27,3 @@ 'use strict'; | ||
Object.defineProperty(format, name, { | ||
get: function () { return require('./' + path); }, | ||
get: function () { return require('./' + path + '.js'); }, | ||
configurable: true | ||
@@ -44,2 +44,3 @@ }); | ||
exposeFormat('metadata'); | ||
exposeFormat('ms'); | ||
exposeFormat('padLevels', 'pad-levels'); | ||
@@ -46,0 +47,0 @@ exposeFormat('prettyPrint', 'pretty-print'); |
{ | ||
"name": "logform", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "An mutable object-based log format designed for chaining & objectMode streams.", | ||
@@ -30,3 +30,4 @@ "main": "index.js", | ||
"colors": "^1.2.0", | ||
"fecha": "^2.3.2" | ||
"fecha": "^2.3.2", | ||
"ms": "^2.1.1" | ||
}, | ||
@@ -33,0 +34,0 @@ "devDependencies": { |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
32302
34
760
3