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

logform

Package Overview
Dependencies
Maintainers
6
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 2.4.1 to 2.4.2

0

align.js

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

28

CHANGELOG.md
# CHANGELOG
### [2.4.2](https://github.com/winstonjs/logform/compare/v2.4.1...v2.4.2)
**2022/07/05**
## Bugfixes
This patch-level release includes a fix for a crash on attempt to uncolorize Symbol.
Thanks to @Alexsey for that first contribution in https://github.com/winstonjs/logform/pull/188.
## Maintainability updates:
Line break styles were changed to be LF (instead of CRLF) more consistently so that linter warnings
aren't drowned out by notes about that.
## Dependency updates by @dependabot
* @babel/cli from 7.17.10 to 7.18.6 in https://github.com/winstonjs/logform/pull/187
* @babel/core from 7.18.5 to 7.18.6 in https://github.com/winstonjs/logform/pull/185
* @babel/preset-env from 7.18.2 to 7.18.6 in https://github.com/winstonjs/logform/pull/184
* eslint from 8.18.0 to 8.19.0 in https://github.com/winstonjs/logform/pull/186
### 2.4.1

@@ -22,3 +38,3 @@ **2022/06/21**

due to vandalism by a developer of that package, as noted [here](https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/).
[As discussed in the `winston` package](https://github.com/winstonjs/winston/issues/2011), all users should update to this (or a later version, should one exist) ASAP.
[As discussed in the `winston` package](https://github.com/winstonjs/winston/issues/2011), all users should update to this (or a later version, should one exist) ASAP.

@@ -32,4 +48,4 @@ ### 2.3.0

- Replace JSON stringify library "fast-safe-stringify" by "safe-stable-stringify" [#98]
- More correctly format errors even if the “message” property is enumerable [#101]
- Fix errors and ms export for browsers [#106]
- More correctly format errors even if the “message” property is enumerable [#101]
- Fix errors and ms export for browsers [#106]

@@ -47,3 +63,3 @@ ### 2.2.0

- [#74] Remove all internal symbols before invoking `util.inspect`.
- [#74] Remove all internal symbols before invoking `util.inspect`.
- Related to [#31].

@@ -171,3 +187,3 @@

- [#46], [#49] Changes for splat when there are no tokens present and no splat present.
- [#47], [#53] Expose transpiled code for Browser-only scenarios.
- [#47], [#53] Expose transpiled code for Browser-only scenarios.

@@ -227,3 +243,3 @@ ### 1.9.1

- [#14] @iamkirkbater Added Initial Metadata Support.
- [#14] @iamkirkbater Added Initial Metadata Support.
- Correct JSDoc for printf.js. Fixes #10.

@@ -230,0 +246,0 @@

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ /* eslint no-undefined: 0 */

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ /* eslint no-unused-vars: 0 */

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ /* eslint no-undefined: 0 */

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -23,7 +23,7 @@ 'use strict';

if (opts.message !== false) {
info.message = colors.strip(info.message);
info.message = colors.strip(String(info.message));
}
if (opts.raw !== false && info[MESSAGE]) {
info[MESSAGE] = colors.strip(info[MESSAGE]);
info[MESSAGE] = colors.strip(String(info[MESSAGE]));
}

@@ -30,0 +30,0 @@

@@ -0,0 +0,0 @@ /* eslint no-undefined: 0 */

@@ -0,0 +0,0 @@ const { format } = require('../');

@@ -0,0 +0,0 @@ /* eslint no-unused-vars: 0 */

@@ -0,0 +0,0 @@ /* eslint no-unused-vars: 0 */

@@ -0,0 +0,0 @@ const { format } = require('../');

@@ -0,0 +0,0 @@ const { format } = require('../');

@@ -0,0 +0,0 @@ const { format } = require('../');

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

{
"name": "logform",
"version": "2.4.1",
"version": "2.4.2",
"description": "An mutable object-based log format designed for chaining & objectMode streams.",

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

@@ -0,0 +0,0 @@ /* eslint no-unused-vars: 0 */

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ /* eslint no-undefined: 0 */

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -19,7 +19,7 @@ 'use strict';

if (opts.message !== false) {
info.message = colors.strip(info.message);
info.message = colors.strip(String(info.message));
}
if (opts.raw !== false && info[MESSAGE]) {
info[MESSAGE] = colors.strip(info[MESSAGE]);
info[MESSAGE] = colors.strip(String(info[MESSAGE]));
}

@@ -26,0 +26,0 @@

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