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

@koopjs/logger

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@koopjs/logger - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

script.js

7

CHANGELOG.md

@@ -5,3 +5,7 @@ # Change Log

## [2.0.1] - 2018-01-18
## [2.0.2] - 2018-01-17
### Fixed
* Log on one line only
## [2.0.1] - 2018-01-17
### Changed

@@ -38,2 +42,3 @@ * Log json in production

[2.0.2]: https://www.github.com/koopjs/koop-logger/compare/v2.0.1..v2.0.2
[2.0.1]: https://www.github.com/koopjs/koop-logger/compare/v2.0.0..v2.0.1

@@ -40,0 +45,0 @@ [2.0.0]: https://www.github.com/koopjs/koop-logger/compare/v1.2.0..v2.0.0

5

index.js

@@ -25,5 +25,6 @@ /* @flow */

const debugConsole = new winston.transports.Console({
colorize: !!process.env.NODE_ENV,
colorize: process.env.NODE_ENV === 'production',
level,
json: !!process.env.NODE_ENV
stringify: true,
json: true
})

@@ -30,0 +31,0 @@ return new winston.Logger({ transports: [debugConsole] })

{
"name": "@koopjs/logger",
"version": "2.0.1",
"version": "2.0.2",
"description": "A shared logger for Koop",

@@ -5,0 +5,0 @@ "main": "index.js",

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