New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-markdown

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-markdown - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# [2.4.1](https://github.com/brussell98/discord-markdown/compare/v2.4.0...v2.4.1) (2020-09-23)
### Fixes
- Removed unneeded end tag for emoji images
# [2.4.0](https://github.com/brussell98/discord-markdown/compare/v2.3.1...v2.4.0) (2020-08-25)

@@ -2,0 +8,0 @@

2

index.js

@@ -217,3 +217,3 @@ const markdown = require('simple-markdown');

alt: `:${node.name}:`
}, state);
}, false, state);
}

@@ -220,0 +220,0 @@ },

{
"name": "discord-markdown",
"version": "2.4.0",
"version": "2.4.1",
"description": "A markdown parser for Discord messages",

@@ -5,0 +5,0 @@ "keywords": [

@@ -44,3 +44,3 @@ const markdown = require('../index');

expect(markdown.toHTML('heh <:blah:1234>'))
.toBe('heh <img class="d-emoji" src="https://cdn.discordapp.com/emojis/1234.png" alt=":blah:"></img>');
.toBe('heh <img class="d-emoji" src="https://cdn.discordapp.com/emojis/1234.png" alt=":blah:">');
});

@@ -75,3 +75,3 @@

expect(markdown.toHTML('heh <a:blah:1234>', ))
.toBe('heh <img class="d-emoji d-emoji-animated" src="https://cdn.discordapp.com/emojis/1234.png" alt=":blah:"></img>');
.toBe('heh <img class="d-emoji d-emoji-animated" src="https://cdn.discordapp.com/emojis/1234.png" alt=":blah:">');
});

@@ -78,0 +78,0 @@

Sorry, the diff of this file is too big to display

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