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

logform

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logform - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

.travis.yml

7

CHANGELOG.md
# 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**

1

index.d.ts

@@ -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;

3

index.js

@@ -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": {

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