@atlaskit/adf-schema 26.2.2 → 26.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/utils/url.js +3 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/utils/url.js +3 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/utils/url.js +3 -0
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/utils/url.js
CHANGED
@@ -47,6 +47,9 @@ var urlWithoutSpacesValidator = {
|
|
47
47
|
// `tel:` URI spec is https://datatracker.ietf.org/doc/html/rfc3966
|
48
48
|
// We're not validating the phone number or separators - but if there's a space it definitely isn't a valid `tel:` URI
|
49
49
|
linkify.add('tel:', urlWithoutSpacesValidator);
|
50
|
+
|
51
|
+
// https://datatracker.ietf.org/doc/html/rfc8089
|
52
|
+
linkify.add('file:', urlWithoutSpacesValidator);
|
50
53
|
linkify.add('notes:', 'http:');
|
51
54
|
var tlds = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');
|
52
55
|
var tlds2Char = 'a[cdefgilmnoqrtuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrtuvwxyz]|n[acefgilopruz]|om|p[aefghkmnrtw]|qa|r[eosuw]|s[abcdegijklmnrtuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]';
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/utils/url.js
CHANGED
@@ -31,6 +31,9 @@ const urlWithoutSpacesValidator = {
|
|
31
31
|
// `tel:` URI spec is https://datatracker.ietf.org/doc/html/rfc3966
|
32
32
|
// We're not validating the phone number or separators - but if there's a space it definitely isn't a valid `tel:` URI
|
33
33
|
linkify.add('tel:', urlWithoutSpacesValidator);
|
34
|
+
|
35
|
+
// https://datatracker.ietf.org/doc/html/rfc8089
|
36
|
+
linkify.add('file:', urlWithoutSpacesValidator);
|
34
37
|
linkify.add('notes:', 'http:');
|
35
38
|
const tlds = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');
|
36
39
|
const tlds2Char = 'a[cdefgilmnoqrtuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrtuvwxyz]|n[acefgilopruz]|om|p[aefghkmnrtw]|qa|r[eosuw]|s[abcdegijklmnrtuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]';
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/utils/url.js
CHANGED
@@ -33,6 +33,9 @@ var urlWithoutSpacesValidator = {
|
|
33
33
|
// `tel:` URI spec is https://datatracker.ietf.org/doc/html/rfc3966
|
34
34
|
// We're not validating the phone number or separators - but if there's a space it definitely isn't a valid `tel:` URI
|
35
35
|
linkify.add('tel:', urlWithoutSpacesValidator);
|
36
|
+
|
37
|
+
// https://datatracker.ietf.org/doc/html/rfc8089
|
38
|
+
linkify.add('file:', urlWithoutSpacesValidator);
|
36
39
|
linkify.add('notes:', 'http:');
|
37
40
|
var tlds = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');
|
38
41
|
var tlds2Char = 'a[cdefgilmnoqrtuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrtuvwxyz]|n[acefgilopruz]|om|p[aefghkmnrtw]|qa|r[eosuw]|s[abcdegijklmnrtuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]';
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED