Comparing version 1.5.0 to 1.5.1
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11629
212