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

tweet.md

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tweet.md - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

index.es5.js

@@ -79,2 +79,6 @@ 'use strict';

return [renderEntity(entityKey, entity), entity.indices[0], entity.indices[1]];
})
// do not add anything unknown
.filter(function (data) {
return null !== data[0];
})));

@@ -81,0 +85,0 @@ });

13

index.js

@@ -60,7 +60,10 @@ function escapeMarkdownPart(input) {

replacements.push(
...entities[entityKey].map(entity => [
renderEntity(entityKey, entity),
entity.indices[0],
entity.indices[1]
])
...entities[entityKey]
.map(entity => [
renderEntity(entityKey, entity),
entity.indices[0],
entity.indices[1]
])
// do not add anything unknown
.filter(data => null !== data[0])
);

@@ -67,0 +70,0 @@ });

{
"name": "tweet.md",
"version": "1.2.0",
"version": "1.2.1",
"description": "Render tweet to markdown",

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