Socket
Socket
Sign inDemoInstall

consoul

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consoul - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

lib/consoul.js

@@ -45,5 +45,6 @@

switch (this.token.depth) {
switch (this.token.depth) {
case 1:
body = body.toUpperCase();
break;
default:

@@ -57,2 +58,6 @@ body = body.underline;

case 'code': {
if (!this.token.lang) {
return 'CODE:'.inverse + '\n' + this.token.text + '\n';
}
var body = (this.token.lang + ':').inverse + '\n';

@@ -59,0 +64,0 @@ return body + highlight.highlight(this.token.lang, this.token.text, function (type, text) {

2

package.json
{
"name": "consoul",
"version": "0.0.2",
"version": "0.0.3",
"description": "Markdown in your console",

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