Skip to content

Commit df2941b

Browse files
committed
Build 3.16.2
1 parent 2e1f211 commit df2941b

15 files changed

+19
-39
lines changed

dist/Autolinker.js

Lines changed: 2 additions & 12 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: 2 additions & 2 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-1459c0dbd0e7b0c4e9b8377784a06829.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/api/data-ad1aae5ec80d1fb77b3cfa8c71fcc60d.js

Lines changed: 1 addition & 0 deletions
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.16.1 API Docs</title>
4+
<title>Autolinker v3.16.2 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-1459c0dbd0e7b0c4e9b8377784a06829.js"></script>
16+
<script type="text/javascript" src="data-ad1aae5ec80d1fb77b3cfa8c71fcc60d.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.16.1 API Docs</span><span class="logo"></span></div>
25+
<div id="loading"><span class="title">Autolinker v3.16.2 API Docs</span><span class="logo"></span></div>
2626

27-
<div id="header-content">Autolinker v3.16.1 API Docs</div>
27+
<div id="header-content">Autolinker v3.16.2 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 Wed 07 Sep 2022 14:57:44 by <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> 5.3.4.</div>
91+
<div id='footer-content' style='display: none'>Generated on Wed 07 Sep 2022 16:11:11 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: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,6 @@
822822
if (this.sanitizeHtml) {
823823
textOrHtml = textOrHtml.replace(/&lt;/g, &#39;&amp;lt;&#39;).replace(/&gt;/g, &#39;&amp;gt;&#39;);
824824
}
825-
textOrHtml = this.stripUnsafeCharacters(textOrHtml);
826825
var matches = this.parse(textOrHtml), newHtml = [], lastIndex = 0;
827826
for (var i = 0, len = matches.length; i &lt; len; i++) {
828827
var match = matches[i];
@@ -919,15 +918,6 @@
919918
}
920919
return tagBuilder;
921920
};
922-
<span id='Autolinker-method-stripUnsafeCharacters'> /**
923-
</span> * Strips characters considered as unsafe
924-
* SNYK-AUTOLINKER-2438289
925-
* @param text
926-
* @private
927-
*/
928-
Autolinker.prototype.stripUnsafeCharacters = function (text) {
929-
return text.replace(/[\u202a-\u202e\u200e-\u200f]/g, &#39;&#39;);
930-
};
931921
// NOTE: must be &#39;export default&#39; here for UMD module
932922
<span id='Autolinker-static-property-version'> /**
933923
</span> * @static

docs/api/source/version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
exports.version = void 0;
2121
// Important: this file is generated from the &#39;build&#39; script and should not be
2222
// edited directly
23-
exports.version = &#39;3.16.1&#39;;
23+
exports.version = &#39;3.16.2&#39;;
2424
//# sourceMappingURL=version.js.map</pre>
2525
</body>
2626
</html>

docs/examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"/><script src="https://code.jquery.com/jquery-1.12.0.min.js"></script><script defer="defer" src="live-example.b16fb0826d3d40fac2b1.js"></script></head><body><div class="container"><h1><a class="title-link" href="https://github.com/gregjacobs/Autolinker.js" target="_top">Autolinker</a> <small>v<span id="version"></span> - Live Example</small></h1>Type text on the left and see the output on the right. For full match/options reference, see the <a href="http://gregjacobs.github.io/Autolinker.js/api/#!/api/Autolinker" target="_top">API Docs</a><div class="row pt10"><div class="col-lg-4 col-sm-6"><h4>Match Types:</h4><div id="option-urls-schemeMatches"></div><div id="option-urls-wwwMatches"></div><div id="option-urls-tldMatches"></div><div id="option-email"></div><div id="option-phone"></div><div id="option-mention"></div><div id="option-hashtag"></div></div><div class="col-lg-4 col-sm-6"><h4>Other Options:</h4><div id="option-stripPrefix"></div><div id="option-stripTrailingSlash"></div><div id="option-decodePercentEncoding"></div><div id="option-newWindow"></div><br/><div id="option-truncate-length"></div><div id="option-truncate-location"></div><br/><div id="option-className"></div></div><div class="col-lg-4 col-sm-12"><h4>Code Sample:</h4><pre id="options-output" class="code-sample"></pre></div></div><div class="row pt10"><div class="col-xs-6"><textarea id="input" class="code-box">
1+
<!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"/><script src="https://code.jquery.com/jquery-1.12.0.min.js"></script><script defer="defer" src="live-example.d6ab1edfbe37d127c383.js"></script></head><body><div class="container"><h1><a class="title-link" href="https://github.com/gregjacobs/Autolinker.js" target="_top">Autolinker</a> <small>v<span id="version"></span> - Live Example</small></h1>Type text on the left and see the output on the right. For full match/options reference, see the <a href="http://gregjacobs.github.io/Autolinker.js/api/#!/api/Autolinker" target="_top">API Docs</a><div class="row pt10"><div class="col-lg-4 col-sm-6"><h4>Match Types:</h4><div id="option-urls-schemeMatches"></div><div id="option-urls-wwwMatches"></div><div id="option-urls-tldMatches"></div><div id="option-email"></div><div id="option-phone"></div><div id="option-mention"></div><div id="option-hashtag"></div></div><div class="col-lg-4 col-sm-6"><h4>Other Options:</h4><div id="option-stripPrefix"></div><div id="option-stripTrailingSlash"></div><div id="option-decodePercentEncoding"></div><div id="option-newWindow"></div><br/><div id="option-truncate-length"></div><div id="option-truncate-location"></div><br/><div id="option-className"></div></div><div class="col-lg-4 col-sm-12"><h4>Code Sample:</h4><pre id="options-output" class="code-sample"></pre></div></div><div class="row pt10"><div class="col-xs-6"><textarea id="input" class="code-box">
22
http://google.com
33
www.google.com
44
google.com

docs/examples/live-example.b16fb0826d3d40fac2b1.js renamed to docs/examples/live-example.d6ab1edfbe37d127c383.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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "autolinker",
3-
"version": "3.16.1",
3+
"version": "3.16.2",
44
"description": "Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML",
55
"main": "./dist/commonjs/index.js",
66
"typings": "./dist/commonjs/index.d.ts",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Important: this file is generated from the 'build' script and should not be
22
// edited directly
3-
export const version = '3.16.1';
3+
export const version = '3.16.2';

0 commit comments

Comments
 (0)