Socket
Socket
Sign inDemoInstall

linkifyjs

Package Overview
Dependencies
6
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.4 to 2.1.5

4

CHANGELOG.md
# Linkify Changelog
### v2.1.5
* React plugin compatibility updates
### v2.1.4

@@ -4,0 +8,0 @@

22

dist/linkify-html.amd.js

@@ -29,3 +29,3 @@ define("simple-html-tokenizer/entity-parser", ["module", "exports"], function (module, exports) {

if (matches) {
return "&" + matches[1] + ";";
return this.named[matches[1]] || "&" + matches[1] + ";";
}

@@ -480,10 +480,16 @@ };

define("simple-html-tokenizer/html5-named-char-refs", ["module", "exports"], function (module, exports) {
"use strict";
"use strict";
try { try { Object.defineProperty(exports, "__esModule", {
value: true
}); } catch (e) { exports['__esModule'] = true; } } catch (e) { exports['__esModule'] = true; }
var HTML5NamedCharRefs = {};
exports['default'] = HTML5NamedCharRefs;
module.exports = exports["default"];
try { try { Object.defineProperty(exports, "__esModule", {
value: true
}); } catch (e) { exports['__esModule'] = true; } } catch (e) { exports['__esModule'] = true; }
var HTML5NamedCharRefs = {
// We don't need the complete named character reference because linkifyHtml
// does not modify the escape sequences. We do need   so that
// whitespace is parsed properly. Other types of whitespace should already
// be accounted for
nbsp: "\xA0"
};
exports['default'] = HTML5NamedCharRefs;
module.exports = exports["default"];
});

@@ -490,0 +496,0 @@ define('simple-html-tokenizer/index', ['exports', './html5-named-char-refs', './entity-parser', './evented-tokenizer', './tokenizer', './tokenize'], function (exports, _html5NamedCharRefs, _entityParser, _eventedTokenizer, _tokenizer, _tokenize) {

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

define("simple-html-tokenizer/entity-parser",["module","exports"],function(t,e){"use strict";function i(t){this.a=t}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}}catch(s){e.__esModule=!0}var n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,h=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var e=t.match(n);return e?"&#x"+e[1]+";":(e=t.match(r))?"&#"+e[1]+";":(e=t.match(h),e?"&"+e[1]+";":void 0)}},e["default"]=i,t.exports=e["default"]}),define("simple-html-tokenizer/evented-tokenizer",["module","exports","./utils"],function(t,e,i){"use strict";function s(t,e){this.b=t,this.c=e,this.d=null,this.input=null,this.e=-1,this.f=-1,this.g=-1,this.h=-1,this.i=-1,this.j()}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!0}}catch(n){e.__esModule=!0}s.prototype={j:function(){this.d="beforeData",this.input="",this.e=0,this.f=1,this.g=0,this.h=-1,this.i=-1,this.b.j()},tokenize:function(t){this.j(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,i.k)(t);this.e<this.input.length;)this.l[this.d].call(this)},tokenizeEOF:function(){this.m()},m:function(){"data"===this.d&&(this.b.n(),this.d="beforeData")},o:function(){return this.input.charAt(this.e)},p:function(){var t=this.o();return this.e++,"\n"===t?(this.f++,this.g=0):this.g++,t},q:function(){var t=this.input.indexOf(";",this.e);if(t!==-1){var e=this.input.slice(this.e,t),i=this.c.parse(e);if(i){for(var s=e.length;s;)this.p(),s--;return this.p(),i}}},r:function(){this.h=this.f,this.i=this.g,this.b.tagOpen&&this.b.tagOpen()},l:{beforeData:function(){var t=this.o();"<"===t?(this.d="tagOpen",this.r(),this.p()):(this.d="data",this.b.s())},data:function(){var t=this.o();"<"===t?(this.b.n(),this.d="tagOpen",this.r(),this.p()):"&"===t?(this.p(),this.b.t(this.q()||"&")):(this.p(),this.b.t(t))},tagOpen:function(){var t=this.p();"!"===t?this.d="markupDeclaration":"/"===t?this.d="endTagOpen":(0,i.u)(t)&&(this.d="tagName",this.b.v(),this.b.w(t.toLowerCase()))},markupDeclaration:function(){var t=this.p();"-"===t&&"-"===this.input.charAt(this.e)&&(this.p(),this.d="commentStart",this.b.x())},commentStart:function(){var t=this.p();"-"===t?this.d="commentStartDash":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z(t),this.d="comment")},commentStartDash:function(){var t=this.p();"-"===t?this.d="commentEnd":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("-"),this.d="comment")},comment:function(){var t=this.p();"-"===t?this.d="commentEndDash":this.b.z(t)},commentEndDash:function(){var t=this.p();"-"===t?this.d="commentEnd":(this.b.z("-"+t),this.d="comment")},commentEnd:function(){var t=this.p();">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("--"+t),this.d="comment")},tagName:function(){var t=this.p();(0,i.A)(t)?this.d="beforeAttributeName":"/"===t?this.d="selfClosingStartTag":">"===t?(this.b.B(),this.d="beforeData"):this.b.w(t)},beforeAttributeName:function(){var t=this.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.d="selfClosingStartTag",this.p()):">"===t?(this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.p(),this.b.D(t)))},attributeName:function(){var t=this.o();(0,i.A)(t)?(this.d="afterAttributeName",this.p()):"/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.d="beforeAttributeValue",this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),this.b.D(t))},afterAttributeName:function(){var t=this.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.p(),this.d="beforeAttributeValue"):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.p(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.o();(0,i.A)(t)?this.p():'"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0),this.p()):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0),this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.p(),this.b.H(t))},attributeValueDoubleQuoted:function(){var t=this.p();'"'===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.q('"')||"&"):this.b.H(t)},attributeValueSingleQuoted:function(){var t=this.p();"'"===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.q("'")||"&"):this.b.H(t)},attributeValueUnquoted:function(){var t=this.o();(0,i.A)(t)?(this.b.G(),this.p(),this.d="beforeAttributeName"):"&"===t?(this.p(),this.b.H(this.q(">")||"&")):">"===t?(this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),this.b.H(t))},afterAttributeValueQuoted:function(){var t=this.o();(0,i.A)(t)?(this.p(),this.d="beforeAttributeName"):"/"===t?(this.p(),this.d="selfClosingStartTag"):">"===t?(this.p(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},selfClosingStartTag:function(){var t=this.o();">"===t?(this.p(),this.b.I(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},endTagOpen:function(){var t=this.p();(0,i.u)(t)&&(this.d="tagName",this.b.J(),this.b.w(t.toLowerCase()))}}},e["default"]=s,t.exports=e["default"]}),define("simple-html-tokenizer/html5-named-char-refs",["module","exports"],function(t,e){"use strict";try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}}catch(i){e.__esModule=!0}var s={};e["default"]=s,t.exports=e["default"]}),define("simple-html-tokenizer/index",["exports","./html5-named-char-refs","./entity-parser","./evented-tokenizer","./tokenizer","./tokenize"],function(t,e,i,s,n,r){"use strict";function h(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}}catch(a){t.__esModule=!0}Object.defineProperty(t,"HTML5NamedCharRefs",{K:!0,get:function(){return h(e)["default"]}}),Object.defineProperty(t,"EntityParser",{K:!0,get:function(){return h(i)["default"]}}),Object.defineProperty(t,"EventedTokenizer",{K:!0,get:function(){return h(s)["default"]}}),Object.defineProperty(t,"Tokenizer",{K:!0,get:function(){return h(n)["default"]}}),Object.defineProperty(t,"tokenize",{K:!0,get:function(){return h(r)["default"]}})}),define("simple-html-tokenizer/tokenize",["module","exports","./tokenizer","./entity-parser","./html5-named-char-refs"],function(t,e,i,s,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function h(t,e){var i=new o["default"](new u["default"](f["default"]),e);return i.tokenize(t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}}catch(a){e.__esModule=!0}e["default"]=h;var o=r(i),u=r(s),f=r(n);t.exports=e["default"]}),define("simple-html-tokenizer/tokenizer",["module","exports","./evented-tokenizer"],function(t,e,i){"use strict";function s(t){return t&&t.__esModule?t:{"default":t}}function n(t,e){this.L=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new h["default"](this,t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(r){e.__esModule=!0}}catch(r){e.__esModule=!0}var h=s(i);n.prototype={tokenize:function(t){return this.M=[],this.tokenizer.tokenize(t),this.M},tokenizePart:function(t){return this.M=[],this.tokenizer.tokenizePart(t),this.M},tokenizeEOF:function(){return this.M=[],this.tokenizer.tokenizeEOF(),this.M[0]},j:function(){this.L=null,this.startLine=1,this.startColumn=0},N:function(){this.options.O&&(this.L.O={start:{f:this.startLine,g:this.startColumn},P:{f:this.tokenizer.f,g:this.tokenizer.g}}),this.startLine=this.tokenizer.f,this.startColumn=this.tokenizer.g},s:function(){this.L={type:"Chars",chars:""},this.M.push(this.L)},t:function(t){this.L.chars+=t},n:function(){this.N()},x:function(){this.L={type:"Comment",chars:""},this.M.push(this.L)},z:function(t){this.L.chars+=t},y:function(){this.N()},v:function(){this.L={type:"StartTag",tagName:"",attributes:[],Q:!1},this.M.push(this.L)},J:function(){this.L={type:"EndTag",tagName:""},this.M.push(this.L)},B:function(){this.N()},I:function(){this.L.Q=!0},w:function(t){this.L.tagName+=t},C:function(){this._currentAttribute=["","",null],this.L.attributes.push(this._currentAttribute)},D:function(t){this._currentAttribute[0]+=t},F:function(t){this._currentAttribute[2]=t},H:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},G:function(){}},e["default"]=n,t.exports=e["default"]}),define("simple-html-tokenizer/utils",["exports"],function(t){"use strict";function e(t){return r.test(t)}function i(t){return h.test(t)}function s(t){return t.replace(a,"\n")}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(n){t.__esModule=!0}}catch(n){t.__esModule=!0}t.A=e,t.u=i,t.k=s;var r=/[\t\n\f ]/,h=/[A-Za-z]/,a=/\r\n?/g}),define("simple-html-tokenizer",["module","exports","./simple-html-tokenizer/html5-named-char-refs","./simple-html-tokenizer/entity-parser","./simple-html-tokenizer/evented-tokenizer","./simple-html-tokenizer/tokenizer","./simple-html-tokenizer/tokenize"],function(t,e,i,s,n,r,h){"use strict";function a(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}}catch(o){e.__esModule=!0}var u=a(i),f=a(s),c=a(n),l=a(r),d=a(h),p={HTML5NamedCharRefs:u["default"],EntityParser:f["default"],EventedTokenizer:c["default"],Tokenizer:l["default"],tokenize:d["default"]};e["default"]=p,t.exports=e["default"]}),define("linkify-html",["module","exports","./simple-html-tokenizer","./linkify"],function(t,e,i,s){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e["default"]=t,e}function r(t){return t&&t.__esModule?t:{"default":t}}function h(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=d["default"].tokenize(t),n=[],r=[];for(i=new m(i),e=0;e<s.length;e++){var h=s[e];if(h.type!==v)if(h.type===g){var f=a(h.chars,i);n.push.apply(n,f)}else n.push(h);else{n.push(h);var l=h.tagName.toUpperCase(),p="A"===l||b.contains(i.ignoreTags,l);if(!p)continue;var k=n.length;o(l,s,++e,n),e+=n.length-k-1}}for(e=0;e<n.length;e++){var z=n[e];switch(z.type){case v:var M="<"+z.tagName;if(z.attributes.length>0){var A=c(z.attributes);M+=" "+A.join(" ")}M+=">",r.push(M);break;case _:r.push("</"+z.tagName+">");break;case g:r.push(u(z.chars));break;case y:r.push("<!--"+u(z.chars)+"-->")}}return r.join("")}function a(t,e){for(var i=p.tokenize(t),s=[],n=0;n<i.length;n++){var r=i[n];if("nl"===r.type&&e.nl2br)s.push({type:v,tagName:"br",attributes:[],Q:!0});else if(r.isLink&&e.check(r)){var h=e.resolve(r),a=(h.href,h.formatted),o=h.formattedHref,u=h.tagName,f=h.className,c=h.target,l=h.attributes,d=[["href",o]];f&&d.push(["class",f]),c&&d.push(["target",c]);for(var b in l)d.push([b,l[b]]);s.push({type:v,tagName:u,attributes:d,Q:!1}),s.push({type:g,chars:a}),s.push({type:_,tagName:u})}else s.push({type:g,chars:r.toString()})}return s}function o(t,e,i,s){for(var n=1;i<e.length&&n>0;){var r=e[i];r.type===v&&r.tagName.toUpperCase()===t?n++:r.type===_&&r.tagName.toUpperCase()===t&&n--,s.push(r),i++}return s}function u(t){return t}function f(t){return t.replace(/"/g,"&quot;")}function c(t){for(var e=[],i=0;i<t.length;i++){var s=t[i],n=s[0],r=s[1];e.push(n+'="'+f(r)+'"')}return e}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(l){e.__esModule=!0}}catch(l){e.__esModule=!0}e["default"]=h;var d=r(i),p=n(s),b=p.options,m=b.Options,v="StartTag",_="EndTag",g="Chars",y="Comment";t.exports=e["default"]});
define("simple-html-tokenizer/entity-parser",["module","exports"],function(t,e){"use strict";function i(t){this.a=t}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}}catch(s){e.__esModule=!0}var n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,h=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var e=t.match(n);return e?"&#x"+e[1]+";":(e=t.match(r))?"&#"+e[1]+";":(e=t.match(h),e?this.a[e[1]]||"&"+e[1]+";":void 0)}},e["default"]=i,t.exports=e["default"]}),define("simple-html-tokenizer/evented-tokenizer",["module","exports","./utils"],function(t,e,i){"use strict";function s(t,e){this.b=t,this.c=e,this.d=null,this.input=null,this.e=-1,this.f=-1,this.g=-1,this.h=-1,this.i=-1,this.j()}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!0}}catch(n){e.__esModule=!0}s.prototype={j:function(){this.d="beforeData",this.input="",this.e=0,this.f=1,this.g=0,this.h=-1,this.i=-1,this.b.j()},tokenize:function(t){this.j(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,i.k)(t);this.e<this.input.length;)this.l[this.d].call(this)},tokenizeEOF:function(){this.m()},m:function(){"data"===this.d&&(this.b.n(),this.d="beforeData")},o:function(){return this.input.charAt(this.e)},p:function(){var t=this.o();return this.e++,"\n"===t?(this.f++,this.g=0):this.g++,t},q:function(){var t=this.input.indexOf(";",this.e);if(t!==-1){var e=this.input.slice(this.e,t),i=this.c.parse(e);if(i){for(var s=e.length;s;)this.p(),s--;return this.p(),i}}},r:function(){this.h=this.f,this.i=this.g,this.b.tagOpen&&this.b.tagOpen()},l:{beforeData:function(){var t=this.o();"<"===t?(this.d="tagOpen",this.r(),this.p()):(this.d="data",this.b.s())},data:function(){var t=this.o();"<"===t?(this.b.n(),this.d="tagOpen",this.r(),this.p()):"&"===t?(this.p(),this.b.t(this.q()||"&")):(this.p(),this.b.t(t))},tagOpen:function(){var t=this.p();"!"===t?this.d="markupDeclaration":"/"===t?this.d="endTagOpen":(0,i.u)(t)&&(this.d="tagName",this.b.v(),this.b.w(t.toLowerCase()))},markupDeclaration:function(){var t=this.p();"-"===t&&"-"===this.input.charAt(this.e)&&(this.p(),this.d="commentStart",this.b.x())},commentStart:function(){var t=this.p();"-"===t?this.d="commentStartDash":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z(t),this.d="comment")},commentStartDash:function(){var t=this.p();"-"===t?this.d="commentEnd":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("-"),this.d="comment")},comment:function(){var t=this.p();"-"===t?this.d="commentEndDash":this.b.z(t)},commentEndDash:function(){var t=this.p();"-"===t?this.d="commentEnd":(this.b.z("-"+t),this.d="comment")},commentEnd:function(){var t=this.p();">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("--"+t),this.d="comment")},tagName:function(){var t=this.p();(0,i.A)(t)?this.d="beforeAttributeName":"/"===t?this.d="selfClosingStartTag":">"===t?(this.b.B(),this.d="beforeData"):this.b.w(t)},beforeAttributeName:function(){var t=this.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.d="selfClosingStartTag",this.p()):">"===t?(this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.p(),this.b.D(t)))},attributeName:function(){var t=this.o();(0,i.A)(t)?(this.d="afterAttributeName",this.p()):"/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.d="beforeAttributeValue",this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),this.b.D(t))},afterAttributeName:function(){var t=this.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.p(),this.d="beforeAttributeValue"):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.p(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.o();(0,i.A)(t)?this.p():'"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0),this.p()):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0),this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.p(),this.b.H(t))},attributeValueDoubleQuoted:function(){var t=this.p();'"'===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.q('"')||"&"):this.b.H(t)},attributeValueSingleQuoted:function(){var t=this.p();"'"===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.q("'")||"&"):this.b.H(t)},attributeValueUnquoted:function(){var t=this.o();(0,i.A)(t)?(this.b.G(),this.p(),this.d="beforeAttributeName"):"&"===t?(this.p(),this.b.H(this.q(">")||"&")):">"===t?(this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),this.b.H(t))},afterAttributeValueQuoted:function(){var t=this.o();(0,i.A)(t)?(this.p(),this.d="beforeAttributeName"):"/"===t?(this.p(),this.d="selfClosingStartTag"):">"===t?(this.p(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},selfClosingStartTag:function(){var t=this.o();">"===t?(this.p(),this.b.I(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},endTagOpen:function(){var t=this.p();(0,i.u)(t)&&(this.d="tagName",this.b.J(),this.b.w(t.toLowerCase()))}}},e["default"]=s,t.exports=e["default"]}),define("simple-html-tokenizer/html5-named-char-refs",["module","exports"],function(t,e){"use strict";try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}}catch(i){e.__esModule=!0}var s={K:" "};e["default"]=s,t.exports=e["default"]}),define("simple-html-tokenizer/index",["exports","./html5-named-char-refs","./entity-parser","./evented-tokenizer","./tokenizer","./tokenize"],function(t,e,i,s,n,r){"use strict";function h(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}}catch(a){t.__esModule=!0}Object.defineProperty(t,"HTML5NamedCharRefs",{L:!0,get:function(){return h(e)["default"]}}),Object.defineProperty(t,"EntityParser",{L:!0,get:function(){return h(i)["default"]}}),Object.defineProperty(t,"EventedTokenizer",{L:!0,get:function(){return h(s)["default"]}}),Object.defineProperty(t,"Tokenizer",{L:!0,get:function(){return h(n)["default"]}}),Object.defineProperty(t,"tokenize",{L:!0,get:function(){return h(r)["default"]}})}),define("simple-html-tokenizer/tokenize",["module","exports","./tokenizer","./entity-parser","./html5-named-char-refs"],function(t,e,i,s,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function h(t,e){var i=new o["default"](new u["default"](f["default"]),e);return i.tokenize(t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}}catch(a){e.__esModule=!0}e["default"]=h;var o=r(i),u=r(s),f=r(n);t.exports=e["default"]}),define("simple-html-tokenizer/tokenizer",["module","exports","./evented-tokenizer"],function(t,e,i){"use strict";function s(t){return t&&t.__esModule?t:{"default":t}}function n(t,e){this.M=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new h["default"](this,t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(r){e.__esModule=!0}}catch(r){e.__esModule=!0}var h=s(i);n.prototype={tokenize:function(t){return this.N=[],this.tokenizer.tokenize(t),this.N},tokenizePart:function(t){return this.N=[],this.tokenizer.tokenizePart(t),this.N},tokenizeEOF:function(){return this.N=[],this.tokenizer.tokenizeEOF(),this.N[0]},j:function(){this.M=null,this.startLine=1,this.startColumn=0},O:function(){this.options.P&&(this.M.P={start:{f:this.startLine,g:this.startColumn},Q:{f:this.tokenizer.f,g:this.tokenizer.g}}),this.startLine=this.tokenizer.f,this.startColumn=this.tokenizer.g},s:function(){this.M={type:"Chars",chars:""},this.N.push(this.M)},t:function(t){this.M.chars+=t},n:function(){this.O()},x:function(){this.M={type:"Comment",chars:""},this.N.push(this.M)},z:function(t){this.M.chars+=t},y:function(){this.O()},v:function(){this.M={type:"StartTag",tagName:"",attributes:[],R:!1},this.N.push(this.M)},J:function(){this.M={type:"EndTag",tagName:""},this.N.push(this.M)},B:function(){this.O()},I:function(){this.M.R=!0},w:function(t){this.M.tagName+=t},C:function(){this._currentAttribute=["","",null],this.M.attributes.push(this._currentAttribute)},D:function(t){this._currentAttribute[0]+=t},F:function(t){this._currentAttribute[2]=t},H:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},G:function(){}},e["default"]=n,t.exports=e["default"]}),define("simple-html-tokenizer/utils",["exports"],function(t){"use strict";function e(t){return r.test(t)}function i(t){return h.test(t)}function s(t){return t.replace(a,"\n")}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(n){t.__esModule=!0}}catch(n){t.__esModule=!0}t.A=e,t.u=i,t.k=s;var r=/[\t\n\f ]/,h=/[A-Za-z]/,a=/\r\n?/g}),define("simple-html-tokenizer",["module","exports","./simple-html-tokenizer/html5-named-char-refs","./simple-html-tokenizer/entity-parser","./simple-html-tokenizer/evented-tokenizer","./simple-html-tokenizer/tokenizer","./simple-html-tokenizer/tokenize"],function(t,e,i,s,n,r,h){"use strict";function a(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}}catch(o){e.__esModule=!0}var u=a(i),f=a(s),c=a(n),l=a(r),d=a(h),p={HTML5NamedCharRefs:u["default"],EntityParser:f["default"],EventedTokenizer:c["default"],Tokenizer:l["default"],tokenize:d["default"]};e["default"]=p,t.exports=e["default"]}),define("linkify-html",["module","exports","./simple-html-tokenizer","./linkify"],function(t,e,i,s){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e["default"]=t,e}function r(t){return t&&t.__esModule?t:{"default":t}}function h(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=d["default"].tokenize(t),n=[],r=[];for(i=new m(i),e=0;e<s.length;e++){var h=s[e];if(h.type!==v)if(h.type===g){var f=a(h.chars,i);n.push.apply(n,f)}else n.push(h);else{n.push(h);var l=h.tagName.toUpperCase(),p="A"===l||b.contains(i.ignoreTags,l);if(!p)continue;var k=n.length;o(l,s,++e,n),e+=n.length-k-1}}for(e=0;e<n.length;e++){var z=n[e];switch(z.type){case v:var M="<"+z.tagName;if(z.attributes.length>0){var N=c(z.attributes);M+=" "+N.join(" ")}M+=">",r.push(M);break;case _:r.push("</"+z.tagName+">");break;case g:r.push(u(z.chars));break;case y:r.push("<!--"+u(z.chars)+"-->")}}return r.join("")}function a(t,e){for(var i=p.tokenize(t),s=[],n=0;n<i.length;n++){var r=i[n];if("nl"===r.type&&e.nl2br)s.push({type:v,tagName:"br",attributes:[],R:!0});else if(r.isLink&&e.check(r)){var h=e.resolve(r),a=(h.href,h.formatted),o=h.formattedHref,u=h.tagName,f=h.className,c=h.target,l=h.attributes,d=[["href",o]];f&&d.push(["class",f]),c&&d.push(["target",c]);for(var b in l)d.push([b,l[b]]);s.push({type:v,tagName:u,attributes:d,R:!1}),s.push({type:g,chars:a}),s.push({type:_,tagName:u})}else s.push({type:g,chars:r.toString()})}return s}function o(t,e,i,s){for(var n=1;i<e.length&&n>0;){var r=e[i];r.type===v&&r.tagName.toUpperCase()===t?n++:r.type===_&&r.tagName.toUpperCase()===t&&n--,s.push(r),i++}return s}function u(t){return t}function f(t){return t.replace(/"/g,"&quot;")}function c(t){for(var e=[],i=0;i<t.length;i++){var s=t[i],n=s[0],r=s[1];e.push(n+'="'+f(r)+'"')}return e}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(l){e.__esModule=!0}}catch(l){e.__esModule=!0}e["default"]=h;var d=r(i),p=n(s),b=p.options,m=b.Options,v="StartTag",_="EndTag",g="Chars",y="Comment";t.exports=e["default"]});

@@ -26,2 +26,3 @@ define('linkify/plugins/mention', ['module', 'exports'], function (module, exports) {

var TT_UNDERSCORE = TT.UNDERSCORE;
var TT_DOT = TT.DOT;

@@ -43,4 +44,4 @@ function MENTION(value) {

var S_MENTION = new State(MENTION);
var S_MENTION_SLASH = new State();
var S_MENTION_SLASH_SYMS = new State();
var S_MENTION_DIVIDER = new State();
var S_MENTION_DIVIDER_SYMS = new State();

@@ -51,3 +52,3 @@ // @_,

// @_*
S_AT_SYMS.on(TT_UNDERSCORE, S_AT_SYMS);
S_AT_SYMS.on(TT_UNDERSCORE, S_AT_SYMS).on(TT_DOT, S_AT_SYMS);

@@ -62,13 +63,13 @@ // Valid mention (not made up entirely of symbols)

// Mention with a slash
S_MENTION.on(TT_SLASH, S_MENTION_SLASH);
// Mention with a divider
S_MENTION.on(TT_SLASH, S_MENTION_DIVIDER).on(TT_DOT, S_MENTION_DIVIDER);
// Mention _ trailing stash plus syms
S_MENTION_SLASH.on(TT_UNDERSCORE, S_MENTION_SLASH_SYMS);
S_MENTION_SLASH_SYMS.on(TT_UNDERSCORE, S_MENTION_SLASH_SYMS);
S_MENTION_DIVIDER.on(TT_UNDERSCORE, S_MENTION_DIVIDER_SYMS);
S_MENTION_DIVIDER_SYMS.on(TT_UNDERSCORE, S_MENTION_DIVIDER_SYMS);
// Once we get a word token, mentions can start up again
S_MENTION_SLASH.on(TT_DOMAIN, S_MENTION).on(TT_LOCALHOST, S_MENTION).on(TT_TLD, S_MENTION).on(TT_NUM, S_MENTION);
S_MENTION_DIVIDER.on(TT_DOMAIN, S_MENTION).on(TT_LOCALHOST, S_MENTION).on(TT_TLD, S_MENTION).on(TT_NUM, S_MENTION);
S_MENTION_SLASH_SYMS.on(TT_DOMAIN, S_MENTION).on(TT_LOCALHOST, S_MENTION).on(TT_TLD, S_MENTION).on(TT_NUM, S_MENTION);
S_MENTION_DIVIDER_SYMS.on(TT_DOMAIN, S_MENTION).on(TT_LOCALHOST, S_MENTION).on(TT_TLD, S_MENTION).on(TT_NUM, S_MENTION);
}

@@ -75,0 +76,0 @@ module.exports = exports['default'];

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

define("linkify/plugins/mention",["module","exports"],function(n,o){"use strict";function e(n){function o(n){this.v=n}var e=n.scanner.TOKENS,t=n.parser,i=t.TOKENS,r=t.State,s=i.Base,u=n.parser.start,a=e.DOMAIN,f=e.LOCALHOST,c=e.NUM,l=e.SLASH,p=e.TLD,d=e.UNDERSCORE;n.inherits(s,o,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1)}});var S=u.jump(e.AT),y=new r,O=new r(o),_=new r,h=new r;S.on(d,y),y.on(d,y),S.on(a,O).on(f,O).on(p,O).on(c,O),y.on(a,O).on(f,O).on(p,O).on(c,O),O.on(a,O).on(f,O).on(p,O).on(c,O).on(d,O),O.on(l,_),_.on(d,h),h.on(d,h),_.on(a,O).on(f,O).on(p,O).on(c,O),h.on(a,O).on(f,O).on(p,O).on(c,O)}try{try{Object.defineProperty(o,"__esModule",{value:!0})}catch(t){o.__esModule=!0}}catch(t){o.__esModule=!0}o["default"]=e,n.exports=o["default"]}),require(["linkify","linkify/plugins/mention"],function(n,o){o(n)});
define("linkify/plugins/mention",["module","exports"],function(n,o){"use strict";function e(n){function o(n){this.v=n}var e=n.scanner.TOKENS,t=n.parser,i=t.TOKENS,r=t.State,s=i.Base,u=n.parser.start,a=e.DOMAIN,f=e.LOCALHOST,c=e.NUM,l=e.SLASH,p=e.TLD,d=e.UNDERSCORE,O=e.DOT;n.inherits(s,o,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1)}});var S=u.jump(e.AT),y=new r,T=new r(o),_=new r,h=new r;S.on(d,y),y.on(d,y).on(O,y),S.on(a,T).on(f,T).on(p,T).on(c,T),y.on(a,T).on(f,T).on(p,T).on(c,T),T.on(a,T).on(f,T).on(p,T).on(c,T).on(d,T),T.on(l,_).on(O,_),_.on(d,h),h.on(d,h),_.on(a,T).on(f,T).on(p,T).on(c,T),h.on(a,T).on(f,T).on(p,T).on(c,T)}try{try{Object.defineProperty(o,"__esModule",{value:!0})}catch(t){o.__esModule=!0}}catch(t){o.__esModule=!0}o["default"]=e,n.exports=o["default"]}),require(["linkify","linkify/plugins/mention"],function(n,o){o(n)});

@@ -35,2 +35,32 @@ define('linkify-react', ['module', 'exports', 'react', './linkify'], function (module, exports, _react, _linkify) {

function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
}
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
}
var options = linkify.options;

@@ -133,4 +163,12 @@ var Options = options.Options;

var Linkify = _react2['default'].createClass({
render: function render() {
var Linkify = function (_React$Component) {
_inherits(Linkify, _React$Component);
function Linkify() {
_classCallCheck(this, Linkify);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
Linkify.prototype.render = function render() {
// Copy over all non-linkify-specific props

@@ -149,7 +187,9 @@ var newProps = { key: 'linkified-element-0' };

return linkifyReactElement(element, opts, 0);
}
});
};
return Linkify;
}(_react2['default'].Component);
exports['default'] = Linkify;
module.exports = exports['default'];
});

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

define("linkify-react",["module","exports","react","./linkify"],function(e,t,r,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){for(var r=u.tokenize(e),n=[],a=0,i=0;i<r.length;i++){var l=r[i];if("nl"===l.type&&t.nl2br)n.push(f["default"].createElement("br",{key:"linkified-"+ ++a}));else if(l.isLink&&t.check(l)){var o=t.resolve(l),s=(o.href,o.formatted),p=o.formattedHref,d=o.tagName,c=o.className,h=o.target,v=o.attributes,y=(o.events,{key:"linkified-"+ ++a,href:p});if(c&&(y.className=c),h&&(y.target=h),v)for(var m in v)y[m]=v[m];n.push(f["default"].createElement(d,y,s))}else n.push(l.toString())}return n}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===f["default"].Children.count(e.props.children))return e;var n=[];f["default"].Children.forEach(e.props.children,function(e){"string"==typeof e?n.push.apply(n,l(e,t)):f["default"].isValidElement(e)?"string"==typeof e.type&&p.contains(t.ignoreTags,e.type.toUpperCase())?n.push(e):n.push(o(e,t,++r)):n.push(e)});var a={key:"linkified-element-"+r};for(var i in e.props)a[i]=e.props[i];return f["default"].cloneElement(e,a,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(s){t.__esModule=!0}}catch(s){t.__esModule=!0}var f=i(r),u=a(n),p=u.options,d=p.Options,c=f["default"].createClass({render:function(){var e={key:"linkified-element-0"};for(var t in this.props)"options"!==t&&"tagName"!==t&&(e[t]=this.props[t]);var r=new d(this.props.options),n=this.props.tagName||"span",a=f["default"].createElement(n,e);return o(a,r,0)}});t["default"]=c,e.exports=t["default"]});
define("linkify-react",["module","exports","react","./linkify"],function(e,t,r,n){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,a:!1,b:!0,c:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){for(var r=d.tokenize(e),n=[],o=0,i=0;i<r.length;i++){var a=r[i];if("nl"===a.type&&t.nl2br)n.push(c["default"].createElement("br",{key:"linkified-"+ ++o}));else if(a.isLink&&t.check(a)){var s=t.resolve(a),f=(s.href,s.formatted),l=s.formattedHref,p=s.tagName,u=s.className,h=s.target,y=s.attributes,v=(s.events,{key:"linkified-"+ ++o,href:l});if(u&&(v.className=u),h&&(v.target=h),y)for(var m in y)v[m]=y[m];n.push(c["default"].createElement(p,v,f))}else n.push(a.toString())}return n}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===c["default"].Children.count(e.props.children))return e;var n=[];c["default"].Children.forEach(e.props.children,function(e){"string"==typeof e?n.push.apply(n,l(e,t)):c["default"].isValidElement(e)?"string"==typeof e.type&&h.contains(t.ignoreTags,e.type.toUpperCase())?n.push(e):n.push(p(e,t,++r)):n.push(e)});var o={key:"linkified-element-"+r};for(var i in e.props)o[i]=e.props[i];return c["default"].cloneElement(e,o,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(u){t.__esModule=!0}}catch(u){t.__esModule=!0}var c=i(r),d=o(n),h=d.options,y=h.Options,v=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return f(t,e),t.prototype.render=function(){var e={key:"linkified-element-0"};for(var t in this.props)"options"!==t&&"tagName"!==t&&(e[t]=this.props[t]);var r=new y(this.props.options),n=this.props.tagName||"span",o=c["default"].createElement(n,e);return p(o,r,0)},t}(c["default"].Component);t["default"]=v,e.exports=t["default"]});
'use strict';
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
;(function (window, React, linkify) {

@@ -106,4 +112,12 @@ var linkifyReact = function (React, linkify) {

var Linkify = React.createClass({
render: function render() {
var Linkify = function (_React$Component) {
_inherits(Linkify, _React$Component);
function Linkify() {
_classCallCheck(this, Linkify);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
Linkify.prototype.render = function render() {
// Copy over all non-linkify-specific props

@@ -122,5 +136,7 @@ var newProps = { key: 'linkified-element-0' };

return linkifyReactElement(element, opts, 0);
}
});
};
return Linkify;
}(React.Component);
return Linkify;

@@ -127,0 +143,0 @@ }(React, linkify);

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

"use strict";!function(e,t,r){var n=function(e,t){function r(r,n){for(var i=t.tokenize(r),a=[],s=0,o=0;o<i.length;o++){var p=i[o];if("nl"===p.type&&n.nl2br)a.push(e.createElement("br",{key:"linkified-"+ ++s}));else if(p.isLink&&n.check(p)){var f=n.resolve(p),l=(f.href,f.formatted),c=f.formattedHref,u=f.tagName,h=f.className,d=f.target,v=f.attributes,k=(f.events,{key:"linkified-"+ ++s,href:c});if(h&&(k.className=h),d&&(k.target=d),v)for(var m in v)k[m]=v[m];a.push(e.createElement(u,k,l))}else a.push(p.toString())}return a}function n(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.Children.count(t.props.children))return t;var o=[];e.Children.forEach(t.props.children,function(t){"string"==typeof t?o.push.apply(o,r(t,a)):e.isValidElement(t)?"string"==typeof t.type&&i.contains(a.ignoreTags,t.type.toUpperCase())?o.push(t):o.push(n(t,a,++s)):o.push(t)});var p={key:"linkified-element-"+s};for(var f in t.props)p[f]=t.props[f];return e.cloneElement(t,p,o)}e="default"in e?e["default"]:e;var i=t.options,a=i.Options,s=e.createClass({render:function(){var t={key:"linkified-element-0"};for(var r in this.props)"options"!==r&&"tagName"!==r&&(t[r]=this.props[r]);var i=new a(this.props.options),s=this.props.tagName||"span",o=e.createElement(s,t);return n(o,i,0)}});return s}(t,r);e.Linkify=e.LinkifyReact=n}(window,React,linkify);
"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,a:!1,b:!0,c:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}!function(e,t,n){var r=function(e,t){function n(n,r){for(var i=t.tokenize(n),o=[],s=0,a=0;a<i.length;a++){var p=i[a];if("nl"===p.type&&r.nl2br)o.push(e.createElement("br",{key:"linkified-"+ ++s}));else if(p.isLink&&r.check(p)){var f=r.resolve(p),c=(f.href,f.formatted),l=f.formattedHref,u=f.tagName,h=f.className,y=f.target,d=f.attributes,v=(f.events,{key:"linkified-"+ ++s,href:l});if(h&&(v.className=h),y&&(v.target=y),d)for(var k in d)v[k]=d[k];o.push(e.createElement(u,v,c))}else o.push(p.toString())}return o}function r(t,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.Children.count(t.props.children))return t;var a=[];e.Children.forEach(t.props.children,function(t){"string"==typeof t?a.push.apply(a,n(t,o)):e.isValidElement(t)?"string"==typeof t.type&&i.contains(o.ignoreTags,t.type.toUpperCase())?a.push(t):a.push(r(t,o,++s)):a.push(t)});var p={key:"linkified-element-"+s};for(var f in t.props)p[f]=t.props[f];return e.cloneElement(t,p,a)}e="default"in e?e["default"]:e;var i=t.options,o=i.Options,s=function(t){function n(){return _classCallCheck(this,n),_possibleConstructorReturn(this,t.apply(this,arguments))}return _inherits(n,t),n.prototype.render=function(){var t={key:"linkified-element-0"};for(var n in this.props)"options"!==n&&"tagName"!==n&&(t[n]=this.props[n]);var i=new o(this.props.options),s=this.props.tagName||"span",a=e.createElement(s,t);return r(a,i,0)},n}(e.Component);return s}(t,n);e.Linkify=e.LinkifyReact=r}(window,React,linkify);

@@ -17,2 +17,8 @@ 'use strict';

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var options = linkify.options;

@@ -115,4 +121,12 @@ var Options = options.Options;

var Linkify = _react2.default.createClass({
render: function render() {
var Linkify = function (_React$Component) {
_inherits(Linkify, _React$Component);
function Linkify() {
_classCallCheck(this, Linkify);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
Linkify.prototype.render = function render() {
// Copy over all non-linkify-specific props

@@ -131,5 +145,7 @@ var newProps = { key: 'linkified-element-0' };

return linkifyReactElement(element, opts, 0);
}
});
};
return Linkify;
}(_react2.default.Component);
exports.default = Linkify;
{
"name": "linkifyjs",
"version": "2.1.4",
"version": "2.1.5",
"description": "Intelligent link recognition, made easy",

@@ -33,7 +33,7 @@ "repository": {

"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-modules-amd": "^6.6.5",
"babel-preset-es2015": "^6.16.0",
"babel-plugin-transform-es2015-modules-amd": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"chai": "^3.5.0",
"coveralls": "^2.11.4",
"glob": "^7.0.3",
"coveralls": "^2.13.1",
"glob": "^7.1.2",
"gulp": "^3.8.11",

@@ -44,3 +44,3 @@ "gulp-babel": "^6.1.2",

"gulp-eslint": "^3.0.1",
"gulp-istanbul": "^1.0.0",
"gulp-istanbul": "^1.1.2",
"gulp-mocha": "^3.0.1",

@@ -52,16 +52,16 @@ "gulp-rename": "^1.2.0",

"gulp-wrap": "^0.13.0",
"jsdom": "^9.3.0",
"karma": "^1.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-phantomjs-launcher": "^1.0.0",
"jsdom": "^9.12.0",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-qunit": "^1.0.0",
"karma-sauce-launcher": "^1.0.0",
"karma-sauce-launcher": "^1.2.0",
"lazypipe": "^1.0.1",
"lodash": "^4.11.1",
"merge-stream": "^1.0.0",
"mocha": "^3.0.2",
"phantomjs-prebuilt": "^2.1.7",
"mocha": "^3.5.3",
"phantomjs-prebuilt": "^2.1.15",
"qunitjs": "^1.14.0",
"requirejs": "^2.1.22",
"requirejs": "^2.3.5",
"rollup": "~0.40.0",

@@ -68,0 +68,0 @@ "run-sequence": "^1.1.5",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc