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

simple-output

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-output - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

13

index.js

@@ -1,2 +0,3 @@

var symbols = require('log-symbols');
const symbols = require('log-symbols');
const chalk = require('chalk');

@@ -27,3 +28,12 @@

function node(msg) {
const icon = '⬢';
const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g;
const node = chalk.green(
icon.replace(matchOperatorsRegex, '\\$&')
);
module.exports.stdout.write(node + ' ' + msg + '\n');
}
// ---

@@ -39,4 +49,5 @@

message,
node,
warn
};

5

package.json
{
"name": "simple-output",
"version": "2.0.0",
"version": "2.1.0",
"main": "index.js",

@@ -37,5 +37,6 @@ "files": [

"devDependencies": {
"jshint": "^2.10.2"
"jshint": "^2.10.3"
},
"dependencies": {
"chalk": "^3.0.0",
"log-symbols": "^3.0.0"

@@ -42,0 +43,0 @@ },

@@ -26,2 +26,3 @@ # simple-output

- message(msg)
- node(msg)
- warn(msg)

@@ -28,0 +29,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