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

gitter-markdown-processor

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitter-markdown-processor - npm Package Compare versions

Comparing version 13.0.0 to 14.0.0

12

lib/process-chat.js

@@ -187,4 +187,14 @@ "use strict";

renderer.commit = function(provider, repo, sha, href) {
renderer.commit = function(provider, repo, sha, href, text) {
var text = repo+'@'+sha.substring(0, 7);
if(!href) {
var baseUrl = 'https://github.com/';
if (provider === 'gitlab') {
baseUrl = 'https://gitlab.com/';
}
href = baseUrl + repo + '/commit/' + sha;
}
var out = '<a href="' + href + '" target="_blank" ' +

@@ -191,0 +201,0 @@ 'data-link-type="commit" ' +

4

package.json
{
"name": "gitter-markdown-processor",
"version": "13.0.0",
"version": "14.0.0",
"description": "parses gitter chat messages, but in its own process",

@@ -9,3 +9,3 @@ "main": "index.js",

"cld": "^2.4.8",
"gitter-marked": "^0.12.0",
"gitter-marked": "^0.13.0",
"highlight.js": "^8.5.0",

@@ -12,0 +12,0 @@ "htmlencode": "0.0.4",

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