Socket
Socket
Sign inDemoInstall

winston

Package Overview
Dependencies
29
Maintainers
8
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.8.1 to 3.8.2

6

package.json
{
"name": "winston",
"description": "A logger for just about everything.",
"version": "3.8.1",
"version": "3.8.2",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",

@@ -28,2 +28,3 @@ "maintainers": [

"@dabh/diagnostics": "^2.0.2",
"@colors/colors": "1.5.0",
"async": "^3.2.3",

@@ -43,3 +44,2 @@ "is-stream": "^2.0.0",

"@babel/preset-env": "^7.16.7",
"@colors/colors": "1.5.0",
"@dabh/eslint-config-populist": "^5.0.0",

@@ -60,3 +60,3 @@ "@types/node": "^18.0.0",

},
"main": "./lib/winston",
"main": "./lib/winston.js",
"browser": "./dist/winston",

@@ -63,0 +63,0 @@ "types": "./index.d.ts",

@@ -155,3 +155,3 @@ # winston

| ------------- | --------------------------- | --------------- |
| `level` | `'info'` | Log only if [`info.level`](#streams-objectmode-and-info-objects) less than or equal to this level |
| `level` | `'info'` | Log only if [`info.level`](#streams-objectmode-and-info-objects) is less than or equal to this level |
| `levels` | `winston.config.npm.levels` | Levels (and colors) representing log priorities |

@@ -460,3 +460,3 @@ | `format` | `winston.format.json` | Formatting for `info` messages (see: [Formats]) |

`winston.format` is designed to be as simple as possible. To define a new
format simple pass it a `transform(info, opts)` function to get a new
format, simply pass it a `transform(info, opts)` function to get a new
`Format`.

@@ -463,0 +463,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc