New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

consola

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consola - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="2.0.3"></a>
## [2.0.3](https://github.com/nuxt/consola/compare/v2.0.2...v2.0.3) (2018-11-02)
### Bug Fixes
* **pkg:** exclude src from package ([4b1fb7d](https://github.com/nuxt/consola/commit/4b1fb7d))
* use live console._stdout bindings for default stream ([d9573c3](https://github.com/nuxt/consola/commit/d9573c3))
<a name="2.0.2"></a>

@@ -7,0 +18,0 @@ ## [2.0.2](https://github.com/nuxt/consola/compare/v2.0.1...v2.0.2) (2018-11-02)

20

dist/consola.cjs.js

@@ -70,9 +70,5 @@ 'use strict';

this._async = typeof options.async !== 'undefined' ? options.async : null;
this._stdout = options.stdout;
this._stderr = options.stdout; // Create logger functions for current instance
if (typeof process !== 'undefined') {
this._stdout = options.stdout || process.stdout;
this._stderr = options.stdout || process.stderr;
} // Create logger functions for current instance
for (const type in this._types) {

@@ -300,4 +296,6 @@ this[type] = this._wrapLogFn(Object.assign({

async: false,
stdout: this._stdout,
stderr: this._stderr
stdout: this._stdout || console._stdout,
// eslint-disable-line no-console
stderr: this._stderr || console._stderr // eslint-disable-line no-console
});

@@ -310,4 +308,6 @@ }

async: true,
stdout: this._stdout,
stderr: this._stderr
stdout: this._stdout || console._stdout,
// eslint-disable-line no-console
stderr: this._stderr || console._stderr // eslint-disable-line no-console
})));

@@ -314,0 +314,0 @@ }

@@ -62,9 +62,5 @@ (function (global, factory) {

this._async = typeof options.async !== 'undefined' ? options.async : null;
this._stdout = options.stdout;
this._stderr = options.stdout; // Create logger functions for current instance
if (typeof process !== 'undefined') {
this._stdout = options.stdout || process.stdout;
this._stderr = options.stdout || process.stderr;
} // Create logger functions for current instance
for (const type in this._types) {

@@ -292,4 +288,6 @@ this[type] = this._wrapLogFn(Object.assign({

async: false,
stdout: this._stdout,
stderr: this._stderr
stdout: this._stdout || console._stdout,
// eslint-disable-line no-console
stderr: this._stderr || console._stderr // eslint-disable-line no-console
});

@@ -302,4 +300,6 @@ }

async: true,
stdout: this._stdout,
stderr: this._stderr
stdout: this._stdout || console._stdout,
// eslint-disable-line no-console
stderr: this._stderr || console._stderr // eslint-disable-line no-console
})));

@@ -306,0 +306,0 @@ }

{
"name": "consola",
"version": "2.0.2",
"version": "2.0.3",
"description": "Elegant Console Logger for Node.js and Browser",

@@ -22,3 +22,2 @@ "license": "MIT",

"dist",
"src",
"index.js"

@@ -25,0 +24,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