Skip to content

Commit

Permalink
Build 3.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjacobs committed Mar 14, 2021
1 parent 8dc8768 commit fd99685
Show file tree
Hide file tree
Showing 35 changed files with 97 additions and 67 deletions.
31 changes: 17 additions & 14 deletions dist/Autolinker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/Autolinker.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/Autolinker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/Autolinker.min.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/api/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Autolinker v3.14.2 API Docs</title>
<title>Autolinker v3.14.3 API Docs</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="fragment" content="!">
Expand All @@ -13,7 +13,7 @@
<link rel="stylesheet" href="styles-3eba09980fa05ead185cb17d9c0deb0f.css" type="text/css" />

<script type="text/javascript" src="extjs/ext-all.js"></script>
<script type="text/javascript" src="data-fcf5c9fcfedf64b543ad906bb2d1eb5a.js"></script>
<script type="text/javascript" src="data-c08d7056342d37d00a7b8bc0fa7b5768.js"></script>

<script type="text/javascript" src="app-0c945a27f43452df695771ddb60b3d14.js"></script>

Expand All @@ -22,9 +22,9 @@
</head>
<body id="ext-body">

<div id="loading"><span class="title">Autolinker v3.14.2 API Docs</span><span class="logo"></span></div>
<div id="loading"><span class="title">Autolinker v3.14.3 API Docs</span><span class="logo"></span></div>

<div id="header-content">Autolinker v3.14.2 API Docs</div>
<div id="header-content">Autolinker v3.14.3 API Docs</div>

<div id='categories-content' style='display:none'>
<div class='section'>
Expand Down Expand Up @@ -88,7 +88,7 @@ <h3>Others...</h3>



<div id='footer-content' style='display: none'>Generated on Thu 29 Oct 2020 23:41:46 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
<div id='footer-content' style='display: none'>Generated on Sun 14 Mar 2021 16:46:03 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>



Expand Down
2 changes: 1 addition & 1 deletion docs/api/output/Autolinker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/output/global.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/source/Autolinker.html
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@
}
},
onComment: function (offset) { },
onDoctype: function (offset) { },
onDoctype: function (offset) { }, // no need to process doctype nodes
});
// After we have found all matches, remove subsequent matches that
// overlap with a previous match. This can happen for instance with URLs,
Expand Down Expand Up @@ -884,7 +884,7 @@
*
* Ex: 0.25.1
*/
Autolinker.version = &#39;3.14.2&#39;;
Autolinker.version = &#39;3.14.3&#39;;
<span id='Autolinker-AnchorTagBuilder'> /**
</span> * For backwards compatibility with Autolinker 1.x, the AnchorTagBuilder
* class is provided as a static on the Autolinker class.
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/Match.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.Match = void 0;
<span id='Autolinker-match-Match'>/**
</span> * @abstract
* @class Autolinker.match.Match
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/Matcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.Matcher = void 0;
<span id='Autolinker-matcher-Matcher'>/**
</span> * @abstract
* @class Autolinker.matcher.Matcher
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/anchor-tag-builder.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.AnchorTagBuilder = void 0;
var html_tag_1 = require(&quot;./html-tag&quot;);
var truncate_smart_1 = require(&quot;./truncate/truncate-smart&quot;);
var truncate_middle_1 = require(&quot;./truncate/truncate-middle&quot;);
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/email-match.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.EmailMatch = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var match_1 = require(&quot;./match&quot;);
<span id='Autolinker-match-Email'>/**
Expand Down
5 changes: 3 additions & 2 deletions docs/api/source/email-matcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.EmailMatcher = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var matcher_1 = require(&quot;./matcher&quot;);
var regex_lib_1 = require(&quot;../regex-lib&quot;);
Expand Down Expand Up @@ -138,7 +139,7 @@
// We&#39;ve reached the end of the &#39;mailto:&#39; prefix
if (localPartCharRegex.test(char)) {
state = 2 /* LocalPart */;
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign({}, currentEmailMatch, { hasMailtoPrefix: true }));
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign(tslib_1.__assign({}, currentEmailMatch), { hasMailtoPrefix: true }));
}
else {
// we&#39;ve matched &#39;mailto:&#39; but didn&#39;t get anything meaningful
Expand Down Expand Up @@ -257,7 +258,7 @@
// we now know that the domain part of the email is valid, and
// we have found at least a partial EmailMatch (however, the
// email address may have additional characters from this point)
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign({}, currentEmailMatch, { hasDomainDot: true }));
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign(tslib_1.__assign({}, currentEmailMatch), { hasDomainDot: true }));
}
else {
// Anything else
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/hashtag-match.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.HashtagMatch = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var match_1 = require(&quot;./match&quot;);
<span id='Autolinker-match-Hashtag'>/**
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/hashtag-matcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.HashtagMatcher = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var matcher_1 = require(&quot;./matcher&quot;);
var regex_lib_1 = require(&quot;../regex-lib&quot;);
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/html-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.HtmlTag = void 0;
var utils_1 = require(&quot;./utils&quot;);
<span id='Autolinker-HtmlTag'>/**
</span> * @class Autolinker.HtmlTag
Expand Down
16 changes: 7 additions & 9 deletions docs/api/source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,20 @@
</script>
</head>
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
<pre class="prettyprint lang-js">
&quot;use strict&quot;;
// Note: the following line is added by gulpfile.js&#39;s buildSrcFixCommonJsIndexTask() to allow require(&#39;autolinker&#39;) to work correctly
exports = module.exports = require(&#39;./autolinker&#39;).default; // redefine &#39;exports&#39; object as the Autolinker class itself
// WARNING: This file is modified a bit when it is compiled into index.js in
// order to support nodejs interoperability with require(&#39;autolinker&#39;) directly.
// This is done by the buildSrcFixCommonJsIndexTask() function in the gulpfile.
// See that function for more details.
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.Autolinker = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var autolinker_1 = require(&quot;./autolinker&quot;);

// Note: the following two lines are added by gulpfile.js&#39;s buildSrcFixCommonJsIndexTask() to allow require(&#39;autolinker&#39;) to work correctly
exports = module.exports = autolinker_1.default; // redefine &#39;exports&#39; object as the Autolinker class itself
Object.defineProperty( exports, &quot;__esModule&quot;, { value: true } ); // redeclare &#39;__esModule&#39; on new &#39;exports&#39; object

var autolinker_1 = tslib_1.__importDefault(require(&quot;./autolinker&quot;));
exports.Autolinker = autolinker_1.default;
exports.default = autolinker_1.default;
var autolinker_2 = require(&quot;./autolinker&quot;);
exports.Autolinker = autolinker_2.default;
tslib_1.__exportStar(require(&quot;./autolinker&quot;), exports);
tslib_1.__exportStar(require(&quot;./anchor-tag-builder&quot;), exports);
tslib_1.__exportStar(require(&quot;./html-tag&quot;), exports);
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/mention-match.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.MentionMatch = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var match_1 = require(&quot;./match&quot;);
<span id='Autolinker-match-Mention'>/**
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/mention-matcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.MentionMatcher = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var matcher_1 = require(&quot;./matcher&quot;);
var regex_lib_1 = require(&quot;../regex-lib&quot;);
Expand Down
17 changes: 9 additions & 8 deletions docs/api/source/parse-html.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.parseHtml = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var regex_lib_1 = require(&quot;../regex-lib&quot;);
var utils_1 = require(&quot;../utils&quot;);
Expand Down Expand Up @@ -183,7 +184,7 @@
}
else if (char === &#39;/&#39;) {
state = 2 /* EndTagOpen */;
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { isClosing: true }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { isClosing: true }));
}
else if (char === &#39;&lt;&#39;) {
// start of another tag (ignore the previous, incomplete one)
Expand All @@ -192,7 +193,7 @@
else if (regex_lib_1.letterRe.test(char)) {
// tag name start (and no &#39;/&#39; read)
state = 3 /* TagName */;
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { isOpening: true }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { isOpening: true }));
}
else {
// Any other
Expand All @@ -205,19 +206,19 @@
// https://www.w3.org/TR/html51/syntax.html#tag-name-state
function stateTagName(char) {
if (regex_lib_1.whitespaceRe.test(char)) {
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { name: captureTagName() }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { name: captureTagName() }));
state = 4 /* BeforeAttributeName */;
}
else if (char === &#39;&lt;&#39;) {
// start of another tag (ignore the previous, incomplete one)
startNewTag();
}
else if (char === &#39;/&#39;) {
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { name: captureTagName() }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { name: captureTagName() }));
state = 12 /* SelfClosingStartTag */;
}
else if (char === &#39;&gt;&#39;) {
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { name: captureTagName() }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { name: captureTagName() }));
emitTagAndPreviousTextNode(); // resets to Data state as well
}
else if (!regex_lib_1.letterRe.test(char) &amp;&amp; !regex_lib_1.digitRe.test(char) &amp;&amp; char !== &#39;:&#39;) {
Expand Down Expand Up @@ -413,7 +414,7 @@
// https://www.w3.org/TR/html51/syntax.html#self-closing-start-tag-state
function stateSelfClosingStartTag(char) {
if (char === &#39;&gt;&#39;) {
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { isClosing: true }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { isClosing: true }));
emitTagAndPreviousTextNode(); // resets to Data state as well
}
else {
Expand All @@ -425,12 +426,12 @@
function stateMarkupDeclarationOpen(char) {
if (html.substr(charIdx, 2) === &#39;--&#39;) { // html comment
charIdx += 2; // &quot;consume&quot; characters
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { type: &#39;comment&#39; }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { type: &#39;comment&#39; }));
state = 14 /* CommentStart */;
}
else if (html.substr(charIdx, 7).toUpperCase() === &#39;DOCTYPE&#39;) {
charIdx += 7; // &quot;consume&quot; characters
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { type: &#39;doctype&#39; }));
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { type: &#39;doctype&#39; }));
state = 20 /* Doctype */;
}
else {
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/phone-match.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.PhoneMatch = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var match_1 = require(&quot;./match&quot;);
<span id='Autolinker-match-Phone'>/**
Expand Down
1 change: 1 addition & 0 deletions docs/api/source/phone-matcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<body onload="prettyPrint(); highlight();">
<pre class="prettyprint lang-js">&quot;use strict&quot;;
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
exports.PhoneMatcher = void 0;
var tslib_1 = require(&quot;tslib&quot;);
var matcher_1 = require(&quot;./matcher&quot;);
var phone_match_1 = require(&quot;../match/phone-match&quot;);
Expand Down
Loading

0 comments on commit fd99685

Please sign in to comment.