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.5.0 to 1.5.1

7

index.es5.js

@@ -1,4 +0,3 @@

// U+1F300 to U+1F3FF
// U+1F400 to U+1F64F
// U+1F680 to U+1F6FF
// @see https://en.wikipedia.org/wiki/Emoji
// 1F300..1F3FF | 1F400..1F64F | 1F680..1F6FF | 2600..26FF | 2700..27BF
'use strict';

@@ -16,3 +15,3 @@

var emoticonsRegexp = /\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]/g;
var emoticonsRegexp = /(?:\uD83C[\uDF00-\uDFFF])|(?:\uD83D[\uDC00-\uDE4F])|(?:\uD83D[\uDE80-\uDEFF])|[\u2600-\u26FF]|[\u2700-\u27BF]/g;

@@ -19,0 +18,0 @@ function escapeMarkdownPart(input) {

@@ -1,5 +0,4 @@

// U+1F300 to U+1F3FF
// U+1F400 to U+1F64F
// U+1F680 to U+1F6FF
const emoticonsRegexp = /\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]/g;
// @see https://en.wikipedia.org/wiki/Emoji
// 1F300..1F3FF | 1F400..1F64F | 1F680..1F6FF | 2600..26FF | 2700..27BF
const emoticonsRegexp = /[\u{1F300}-\u{1F3FF}]|[\u{1F400}-\u{1F64F}]|[\u{1F680}-\u{1F6FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]/ug;

@@ -6,0 +5,0 @@ function escapeMarkdownPart(input) {

{
"name": "tweet.md",
"version": "1.5.0",
"version": "1.5.1",
"description": "Render tweet to markdown",

@@ -29,7 +29,7 @@ "main": "index.es5.js",

"devDependencies": {
"babel": "^5.8.21",
"babel": "^5.8.23",
"coveralls": "^2.11.4",
"isparta": "^3.0.3",
"mocha": "^2.2.5"
"isparta": "^3.0.4",
"mocha": "^2.3.3"
}
}
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