find-hashtags
Advanced tools
@@ -65,3 +65,3 @@ var XRegExp = require('xregexp').XRegExp; | ||
FindHashtags.prototype._getMatches = function () { | ||
return this._matches.length === 0 ? null : this._matches; | ||
return this._matches.length === 0 ? [] : this._matches; | ||
}; | ||
@@ -68,0 +68,0 @@ |
{ | ||
"name": "find-hashtags", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Extracts the hashtags from a string", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,3 +7,3 @@ var test = require('tape'); | ||
t.equal(hashtags(content), null); | ||
t.deepEqual(hashtags(content), []); | ||
t.end(); | ||
@@ -10,0 +10,0 @@ }); |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
-50%5753
-0.54%