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

@squared-functions/module

Package Overview
Dependencies
Maintainers
1
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squared-functions/module - npm Package Compare versions

Comparing version 0.9.6 to 0.9.7

4

index.js

@@ -170,3 +170,3 @@ /* @squared-functions/module 0.9.6

}
writeMessage(title, value, message = '', options = {}) {
writeMessage(title, value, message, options = {}) {
const { titleColor = 'green', titleBgColor = 'bgBlack', valueColor, valueBgColor, messageColor, messageBgColor } = options;

@@ -188,3 +188,3 @@ if (valueColor) {

}
console.log(chalk[titleBgColor].bold[titleColor](title.toUpperCase()) + chalk.blackBright(':') + ' ' + value + message);
console.log(chalk[titleBgColor].bold[titleColor](title.toUpperCase()) + chalk.blackBright(':') + ' ' + value + (message || ''));
}

@@ -191,0 +191,0 @@ get logType() {

{
"name": "@squared-functions/module",
"version": "0.9.6",
"version": "0.9.7",
"description": "Module extension class for squared-functions",

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

"dependencies": {
"@squared-functions/types": "^0.9.6",
"@squared-functions/types": "^0.9.7",
"chalk": "^4.1.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