Skip to content

Commit fd99685

Browse files
committed
Build 3.14.3
1 parent 8dc8768 commit fd99685

35 files changed

+97
-67
lines changed

dist/Autolinker.js

Lines changed: 17 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Autolinker.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/data-fcf5c9fcfedf64b543ad906bb2d1eb5a.js renamed to docs/api/data-c08d7056342d37d00a7b8bc0fa7b5768.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Autolinker v3.14.2 API Docs</title>
4+
<title>Autolinker v3.14.3 API Docs</title>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
66
<meta http-equiv="X-UA-Compatible" content="chrome=1">
77
<meta name="fragment" content="!">
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="styles-3eba09980fa05ead185cb17d9c0deb0f.css" type="text/css" />
1414

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

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

@@ -22,9 +22,9 @@
2222
</head>
2323
<body id="ext-body">
2424

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

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

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

8989

9090

91-
<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>
91+
<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>
9292

9393

9494

docs/api/output/Autolinker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/output/global.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/source/Autolinker.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@
641641
}
642642
},
643643
onComment: function (offset) { },
644-
onDoctype: function (offset) { },
644+
onDoctype: function (offset) { }, // no need to process doctype nodes
645645
});
646646
// After we have found all matches, remove subsequent matches that
647647
// overlap with a previous match. This can happen for instance with URLs,
@@ -884,7 +884,7 @@
884884
*
885885
* Ex: 0.25.1
886886
*/
887-
Autolinker.version = &#39;3.14.2&#39;;
887+
Autolinker.version = &#39;3.14.3&#39;;
888888
<span id='Autolinker-AnchorTagBuilder'> /**
889889
</span> * For backwards compatibility with Autolinker 1.x, the AnchorTagBuilder
890890
* class is provided as a static on the Autolinker class.

docs/api/source/Match.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.Match = void 0;
2021
<span id='Autolinker-match-Match'>/**
2122
</span> * @abstract
2223
* @class Autolinker.match.Match

docs/api/source/Matcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.Matcher = void 0;
2021
<span id='Autolinker-matcher-Matcher'>/**
2122
</span> * @abstract
2223
* @class Autolinker.matcher.Matcher

docs/api/source/anchor-tag-builder.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.AnchorTagBuilder = void 0;
2021
var html_tag_1 = require(&quot;./html-tag&quot;);
2122
var truncate_smart_1 = require(&quot;./truncate/truncate-smart&quot;);
2223
var truncate_middle_1 = require(&quot;./truncate/truncate-middle&quot;);

docs/api/source/email-match.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.EmailMatch = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var match_1 = require(&quot;./match&quot;);
2223
<span id='Autolinker-match-Email'>/**

docs/api/source/email-matcher.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.EmailMatcher = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var matcher_1 = require(&quot;./matcher&quot;);
2223
var regex_lib_1 = require(&quot;../regex-lib&quot;);
@@ -138,7 +139,7 @@
138139
// We&#39;ve reached the end of the &#39;mailto:&#39; prefix
139140
if (localPartCharRegex.test(char)) {
140141
state = 2 /* LocalPart */;
141-
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign({}, currentEmailMatch, { hasMailtoPrefix: true }));
142+
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign(tslib_1.__assign({}, currentEmailMatch), { hasMailtoPrefix: true }));
142143
}
143144
else {
144145
// we&#39;ve matched &#39;mailto:&#39; but didn&#39;t get anything meaningful
@@ -257,7 +258,7 @@
257258
// we now know that the domain part of the email is valid, and
258259
// we have found at least a partial EmailMatch (however, the
259260
// email address may have additional characters from this point)
260-
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign({}, currentEmailMatch, { hasDomainDot: true }));
261+
currentEmailMatch = new CurrentEmailMatch(tslib_1.__assign(tslib_1.__assign({}, currentEmailMatch), { hasDomainDot: true }));
261262
}
262263
else {
263264
// Anything else

docs/api/source/hashtag-match.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.HashtagMatch = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var match_1 = require(&quot;./match&quot;);
2223
<span id='Autolinker-match-Hashtag'>/**

docs/api/source/hashtag-matcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.HashtagMatcher = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var matcher_1 = require(&quot;./matcher&quot;);
2223
var regex_lib_1 = require(&quot;../regex-lib&quot;);

docs/api/source/html-tag.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.HtmlTag = void 0;
2021
var utils_1 = require(&quot;./utils&quot;);
2122
<span id='Autolinker-HtmlTag'>/**
2223
</span> * @class Autolinker.HtmlTag

docs/api/source/index.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,20 @@
1515
</script>
1616
</head>
1717
<body onload="prettyPrint(); highlight();">
18-
<pre class="prettyprint lang-js">&quot;use strict&quot;;
18+
<pre class="prettyprint lang-js">
19+
&quot;use strict&quot;;
20+
// Note: the following line is added by gulpfile.js&#39;s buildSrcFixCommonJsIndexTask() to allow require(&#39;autolinker&#39;) to work correctly
21+
exports = module.exports = require(&#39;./autolinker&#39;).default; // redefine &#39;exports&#39; object as the Autolinker class itself
1922
// WARNING: This file is modified a bit when it is compiled into index.js in
2023
// order to support nodejs interoperability with require(&#39;autolinker&#39;) directly.
2124
// This is done by the buildSrcFixCommonJsIndexTask() function in the gulpfile.
2225
// See that function for more details.
2326
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
27+
exports.Autolinker = void 0;
2428
var tslib_1 = require(&quot;tslib&quot;);
25-
var autolinker_1 = require(&quot;./autolinker&quot;);
26-
27-
// Note: the following two lines are added by gulpfile.js&#39;s buildSrcFixCommonJsIndexTask() to allow require(&#39;autolinker&#39;) to work correctly
28-
exports = module.exports = autolinker_1.default; // redefine &#39;exports&#39; object as the Autolinker class itself
29-
Object.defineProperty( exports, &quot;__esModule&quot;, { value: true } ); // redeclare &#39;__esModule&#39; on new &#39;exports&#39; object
30-
29+
var autolinker_1 = tslib_1.__importDefault(require(&quot;./autolinker&quot;));
30+
exports.Autolinker = autolinker_1.default;
3131
exports.default = autolinker_1.default;
32-
var autolinker_2 = require(&quot;./autolinker&quot;);
33-
exports.Autolinker = autolinker_2.default;
3432
tslib_1.__exportStar(require(&quot;./autolinker&quot;), exports);
3533
tslib_1.__exportStar(require(&quot;./anchor-tag-builder&quot;), exports);
3634
tslib_1.__exportStar(require(&quot;./html-tag&quot;), exports);

docs/api/source/mention-match.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.MentionMatch = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var match_1 = require(&quot;./match&quot;);
2223
<span id='Autolinker-match-Mention'>/**

docs/api/source/mention-matcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.MentionMatcher = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var matcher_1 = require(&quot;./matcher&quot;);
2223
var regex_lib_1 = require(&quot;../regex-lib&quot;);

docs/api/source/parse-html.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.parseHtml = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var regex_lib_1 = require(&quot;../regex-lib&quot;);
2223
var utils_1 = require(&quot;../utils&quot;);
@@ -183,7 +184,7 @@
183184
}
184185
else if (char === &#39;/&#39;) {
185186
state = 2 /* EndTagOpen */;
186-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { isClosing: true }));
187+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { isClosing: true }));
187188
}
188189
else if (char === &#39;&lt;&#39;) {
189190
// start of another tag (ignore the previous, incomplete one)
@@ -192,7 +193,7 @@
192193
else if (regex_lib_1.letterRe.test(char)) {
193194
// tag name start (and no &#39;/&#39; read)
194195
state = 3 /* TagName */;
195-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { isOpening: true }));
196+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { isOpening: true }));
196197
}
197198
else {
198199
// Any other
@@ -205,19 +206,19 @@
205206
// https://www.w3.org/TR/html51/syntax.html#tag-name-state
206207
function stateTagName(char) {
207208
if (regex_lib_1.whitespaceRe.test(char)) {
208-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { name: captureTagName() }));
209+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { name: captureTagName() }));
209210
state = 4 /* BeforeAttributeName */;
210211
}
211212
else if (char === &#39;&lt;&#39;) {
212213
// start of another tag (ignore the previous, incomplete one)
213214
startNewTag();
214215
}
215216
else if (char === &#39;/&#39;) {
216-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { name: captureTagName() }));
217+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { name: captureTagName() }));
217218
state = 12 /* SelfClosingStartTag */;
218219
}
219220
else if (char === &#39;&gt;&#39;) {
220-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { name: captureTagName() }));
221+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { name: captureTagName() }));
221222
emitTagAndPreviousTextNode(); // resets to Data state as well
222223
}
223224
else if (!regex_lib_1.letterRe.test(char) &amp;&amp; !regex_lib_1.digitRe.test(char) &amp;&amp; char !== &#39;:&#39;) {
@@ -413,7 +414,7 @@
413414
// https://www.w3.org/TR/html51/syntax.html#self-closing-start-tag-state
414415
function stateSelfClosingStartTag(char) {
415416
if (char === &#39;&gt;&#39;) {
416-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { isClosing: true }));
417+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { isClosing: true }));
417418
emitTagAndPreviousTextNode(); // resets to Data state as well
418419
}
419420
else {
@@ -425,12 +426,12 @@
425426
function stateMarkupDeclarationOpen(char) {
426427
if (html.substr(charIdx, 2) === &#39;--&#39;) { // html comment
427428
charIdx += 2; // &quot;consume&quot; characters
428-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { type: &#39;comment&#39; }));
429+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { type: &#39;comment&#39; }));
429430
state = 14 /* CommentStart */;
430431
}
431432
else if (html.substr(charIdx, 7).toUpperCase() === &#39;DOCTYPE&#39;) {
432433
charIdx += 7; // &quot;consume&quot; characters
433-
currentTag = new CurrentTag(tslib_1.__assign({}, currentTag, { type: &#39;doctype&#39; }));
434+
currentTag = new CurrentTag(tslib_1.__assign(tslib_1.__assign({}, currentTag), { type: &#39;doctype&#39; }));
434435
state = 20 /* Doctype */;
435436
}
436437
else {

docs/api/source/phone-match.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.PhoneMatch = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var match_1 = require(&quot;./match&quot;);
2223
<span id='Autolinker-match-Phone'>/**

docs/api/source/phone-matcher.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<body onload="prettyPrint(); highlight();">
1818
<pre class="prettyprint lang-js">&quot;use strict&quot;;
1919
Object.defineProperty(exports, &quot;__esModule&quot;, { value: true });
20+
exports.PhoneMatcher = void 0;
2021
var tslib_1 = require(&quot;tslib&quot;);
2122
var matcher_1 = require(&quot;./matcher&quot;);
2223
var phone_match_1 = require(&quot;../match/phone-match&quot;);

0 commit comments

Comments
 (0)