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

reaction-cli

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reaction-cli - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

34

dist/utils/logger.js

@@ -7,4 +7,2 @@ 'use strict';

var _lodash = require('lodash');
var _chalk = require('chalk');

@@ -18,18 +16,20 @@

var loggers = {
info: function info(msg) {
console.log(_chalk2.default.blue('' + msg));
},
success: function success(msg) {
console.log(_chalk2.default.green('' + msg));
},
warn: function warn(msg) {
console.log(_chalk2.default.yellow('' + msg));
},
error: function error(msg) {
console.log(_chalk2.default.bold.red('' + msg));
}
// extend chalk with custom log methods
_chalk2.default.info = function (msg) {
console.log(_chalk2.default.blue('' + msg));
};
// extend chalk with custom log methods
exports.default = (0, _lodash.assignIn)(_chalk2.default, loggers);
_chalk2.default.success = function (msg) {
console.log(_chalk2.default.green('' + msg));
};
_chalk2.default.warn = function (msg) {
console.log(_chalk2.default.yellow('' + msg));
};
_chalk2.default.error = function (msg) {
console.log(_chalk2.default.bold.red('' + msg));
};
exports.default = _chalk2.default;
{
"name": "reaction-cli",
"version": "0.3.4",
"version": "0.3.5",
"description": "A command line tool for working with the Reaction Commerce e-commerce platform.",

@@ -5,0 +5,0 @@ "main": "./dist/main.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