@davi-ai/retorik-framework 5.0.0 → 5.0.1
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/dist/index.js +18 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +18 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -2
package/dist/index.modern.js
CHANGED
|
@@ -36964,6 +36964,13 @@ function $6589a3383f7fdb2f$var$xj(t, e) {
|
|
|
36964
36964
|
for(e || t.push("hardbreak", "br", 0), n++; n < r && (i = t.src.charCodeAt(n), !!$6589a3383f7fdb2f$var$Bt(i));)n++;
|
|
36965
36965
|
return t.pos = n, !0;
|
|
36966
36966
|
}
|
|
36967
|
+
if (i === 32) {
|
|
36968
|
+
if (!e) {
|
|
36969
|
+
const a = t.push("text_special", "", 0);
|
|
36970
|
+
a.content = "\\", a.markup = "\\", a.info = "escape";
|
|
36971
|
+
}
|
|
36972
|
+
return t.pos = n, !0;
|
|
36973
|
+
}
|
|
36967
36974
|
let o = t.src[n];
|
|
36968
36975
|
if (i >= 55296 && i <= 56319 && n + 1 < r) {
|
|
36969
36976
|
const a = t.src.charCodeAt(n + 1);
|
|
@@ -37443,10 +37450,10 @@ function $6589a3383f7fdb2f$var$Hj(t) {
|
|
|
37443
37450
|
e.src_Cc
|
|
37444
37451
|
].join("|");
|
|
37445
37452
|
const n = "[><\uFF5C]";
|
|
37446
|
-
return e.src_pseudo_letter =
|
|
37447
|
-
|
|
37448
|
-
|
|
37449
|
-
|
|
37453
|
+
return e.src_pseudo_letter = `(?:(?!${n}|${e.src_ZPCc})${e.src_Any})`, e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = `(?:(?:(?!${e.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`, e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = `(?=$|${n}|${e.src_ZPCc})(?!${t["---"] ? "-(?!--)|" : "-|"}_|:\\d|\\.-|\\.(?!$|${e.src_ZPCc}))`, e.src_path = `(?:[/?#](?:(?!${e.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${e.src_ZCc}|\\]).)*\\]|\\((?:(?!${e.src_ZCc}|[)]).)*\\)|\\{(?:(?!${e.src_ZCc}|[}]).)*\\}|\\"(?:(?!${e.src_ZCc}|["]).)+\\"|\\'(?:(?!${e.src_ZCc}|[']).)+\\'|\\'(?=${e.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${e.src_ZCc}|[.]|$)|` + (t["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
37454
|
+
`,(?!${e.src_ZCc}|$)|;(?!${e.src_ZCc}|$)|\\!+(?!${e.src_ZCc}|[!]|$)|\\?(?!${e.src_ZCc}|[?]|$))+|\\/)?`, e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = "(?:" + e.src_xn + `|${e.src_pseudo_letter}{1,63})`, e.src_domain = "(?:" + e.src_xn + `|(?:${e.src_pseudo_letter})|(?:${e.src_pseudo_letter}(?:-|${e.src_pseudo_letter}){0,61}${e.src_pseudo_letter}))`, e.src_host = `(?:(?:(?:(?:${e.src_domain})\\.)*${e.src_domain}))`, e.tpl_host_fuzzy = "(?:" + e.src_ip4 + `|(?:(?:(?:${e.src_domain})\\.)+(?:%TLDS%)))`, e.tpl_host_no_ip_fuzzy = `(?:(?:(?:${e.src_domain})\\.)+(?:%TLDS%))`, e.src_host_strict = e.src_host + e.src_host_terminator, e.tpl_host_fuzzy_strict = e.tpl_host_fuzzy + e.src_host_terminator, e.src_host_port_strict = e.src_host + e.src_port + e.src_host_terminator, e.tpl_host_port_fuzzy_strict = e.tpl_host_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_port_no_ip_fuzzy_strict = e.tpl_host_no_ip_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_fuzzy_test = `localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${e.src_ZPCc}|>|$))`, e.tpl_email_fuzzy = `(^|${n}|"|\\(|${e.src_ZCc})(${e.src_email_name}@${e.tpl_host_fuzzy_strict})`, e.tpl_link_fuzzy = // but can start with > (markdown blockquote)
|
|
37455
|
+
`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\u{FF5C}]|${e.src_ZPCc}))((?![$+<=>^\`|\u{FF5C}])${e.tpl_host_port_fuzzy_strict}${e.src_path})`, e.tpl_link_no_ip_fuzzy = // but can start with > (markdown blockquote)
|
|
37456
|
+
`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\u{FF5C}]|${e.src_ZPCc}))((?![$+<=>^\`|\u{FF5C}])${e.tpl_host_port_no_ip_fuzzy_strict}${e.src_path})`, e;
|
|
37450
37457
|
}
|
|
37451
37458
|
function $6589a3383f7fdb2f$var$t0(t) {
|
|
37452
37459
|
return Array.prototype.slice.call(arguments, 1).forEach(function(n) {
|
|
@@ -37487,7 +37494,7 @@ const $6589a3383f7fdb2f$var$Xj = {
|
|
|
37487
37494
|
"http:": {
|
|
37488
37495
|
validate: function(t, e, n) {
|
|
37489
37496
|
const r = t.slice(e);
|
|
37490
|
-
return n.re.http || (n.re.http = new RegExp(
|
|
37497
|
+
return n.re.http || (n.re.http = new RegExp(`^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`, "i")), n.re.http.test(r) ? r.match(n.re.http)[0].length : 0;
|
|
37491
37498
|
}
|
|
37492
37499
|
},
|
|
37493
37500
|
"https:": "http:",
|
|
@@ -37497,13 +37504,13 @@ const $6589a3383f7fdb2f$var$Xj = {
|
|
|
37497
37504
|
const r = t.slice(e);
|
|
37498
37505
|
return n.re.no_http || (n.re.no_http = new RegExp("^" + n.re.src_auth + // Don't allow single-level domains, because of false positives like '//test'
|
|
37499
37506
|
// with code comments
|
|
37500
|
-
|
|
37507
|
+
`(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})` + n.re.src_port + n.re.src_host_terminator + n.re.src_path, "i")), n.re.no_http.test(r) ? e >= 3 && t[e - 3] === ":" || e >= 3 && t[e - 3] === "/" ? 0 : r.match(n.re.no_http)[0].length : 0;
|
|
37501
37508
|
}
|
|
37502
37509
|
},
|
|
37503
37510
|
"mailto:": {
|
|
37504
37511
|
validate: function(t, e, n) {
|
|
37505
37512
|
const r = t.slice(e);
|
|
37506
|
-
return n.re.mailto || (n.re.mailto = new RegExp(
|
|
37513
|
+
return n.re.mailto || (n.re.mailto = new RegExp(`^${n.re.src_email_name}@${n.re.src_host_strict}`, "i")), n.re.mailto.test(r) ? r.match(n.re.mailto)[0].length : 0;
|
|
37507
37514
|
}
|
|
37508
37515
|
}
|
|
37509
37516
|
}, $6589a3383f7fdb2f$var$eU = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", $6589a3383f7fdb2f$var$tU = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");
|
|
@@ -37528,7 +37535,7 @@ function $6589a3383f7fdb2f$var$Fc(t) {
|
|
|
37528
37535
|
const i = [];
|
|
37529
37536
|
t.__compiled__ = {};
|
|
37530
37537
|
function o(a, u) {
|
|
37531
|
-
throw new Error(
|
|
37538
|
+
throw new Error(`(LinkifyIt) Invalid schema "${a}": ${u}`);
|
|
37532
37539
|
}
|
|
37533
37540
|
Object.keys(t.__schemas__).forEach(function(a) {
|
|
37534
37541
|
const u = t.__schemas__[a];
|
|
@@ -37555,7 +37562,7 @@ function $6589a3383f7fdb2f$var$Fc(t) {
|
|
|
37555
37562
|
const s = Object.keys(t.__compiled__).filter(function(a) {
|
|
37556
37563
|
return a.length > 0 && t.__compiled__[a];
|
|
37557
37564
|
}).map($6589a3383f7fdb2f$var$Yj).join("|");
|
|
37558
|
-
t.re.schema_test = RegExp(
|
|
37565
|
+
t.re.schema_test = RegExp(`(^|(?!_)(?:[><\u{FF5C}]|${e.src_ZPCc}))(${s})`, "i"), t.re.schema_search = RegExp(`(^|(?!_)(?:[><\u{FF5C}]|${e.src_ZPCc}))(${s})`, "ig"), t.re.schema_at_start = RegExp(`^${t.re.schema_search.source}`, "i"), t.re.pretest = RegExp(`(${t.re.schema_test.source})|(${t.re.host_fuzzy_test.source})|@`, "i");
|
|
37559
37566
|
}
|
|
37560
37567
|
function $6589a3383f7fdb2f$var$TA(t, e, n, r) {
|
|
37561
37568
|
const i = t.slice(n, r);
|
|
@@ -37643,7 +37650,7 @@ $6589a3383f7fdb2f$var$nr.prototype.tlds = function(e, n) {
|
|
|
37643
37650
|
}).reverse(), $6589a3383f7fdb2f$var$Fc(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, $6589a3383f7fdb2f$var$Fc(this), this);
|
|
37644
37651
|
};
|
|
37645
37652
|
$6589a3383f7fdb2f$var$nr.prototype.normalize = function(e) {
|
|
37646
|
-
e.schema || (e.url =
|
|
37653
|
+
e.schema || (e.url = `http://${e.url}`), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = `mailto:${e.url}`);
|
|
37647
37654
|
};
|
|
37648
37655
|
$6589a3383f7fdb2f$var$nr.prototype.onCompile = function() {};
|
|
37649
37656
|
const $6589a3383f7fdb2f$var$Xo = 2147483647, $6589a3383f7fdb2f$var$Gr = 36, $6589a3383f7fdb2f$var$Ev = 1, $6589a3383f7fdb2f$var$tu = 26, $6589a3383f7fdb2f$var$rU = 38, $6589a3383f7fdb2f$var$iU = 700, $6589a3383f7fdb2f$var$CA = 72, $6589a3383f7fdb2f$var$_A = 128, $6589a3383f7fdb2f$var$EA = "-", $6589a3383f7fdb2f$var$oU = /^xn--/, $6589a3383f7fdb2f$var$sU = /[^\0-\x7F]/, $6589a3383f7fdb2f$var$aU = /[\x2E\u3002\uFF0E\uFF61]/g, $6589a3383f7fdb2f$var$uU = {
|
|
@@ -53708,7 +53715,7 @@ var $179a76b9823b36f3$export$d4b4ca0ba30ae29c = /*#__PURE__*/ function(TraceType
|
|
|
53708
53715
|
});
|
|
53709
53716
|
|
|
53710
53717
|
parcelRegister("iT1WI", function(module, exports) {
|
|
53711
|
-
module.exports = JSON.parse("{\"name\":\"@davi-ai/retorik-framework\",\"version\":\"5.0.
|
|
53718
|
+
module.exports = JSON.parse("{\"name\":\"@davi-ai/retorik-framework\",\"version\":\"5.0.1\",\"homepage\":\".\",\"description\":\"Retorik Framework package\",\"author\":\"DAVI\",\"license\":\"MIT\",\"repository\":\"none\",\"main\":\"dist/index.js\",\"module\":\"dist/index.modern.js\",\"types\":\"dist/index.d.ts\",\"source\":\"src/index.tsx\",\"standalone\":\"standalone/index.js\",\"targets\":{\"standalone\":{\"context\":\"browser\",\"outputFormat\":\"esmodule\",\"distDir\":\"standalone\"},\"module\":{\"context\":\"browser\",\"outputFormat\":\"esmodule\",\"distDir\":\"dist\"}},\"engines\":{\"node\":\">=10\"},\"scripts\":{\"build\":\"parcel build\",\"start\":\"parcel watch\",\"test\":\"jest --env=jsdom --reporters=jest-junit\",\"test-console\":\"jest --env=jsdom\",\"test-update-snapshots\":\"jest --env=jsdom --updateSnapshot\",\"test-coverage-console\":\"jest --env=jsdom --reporters=jest-junit --coverage\",\"test-coverage\":\"jest --env=jsdom --reporters=jest-junit --coverage --coverageReporters=cobertura\",\"report\":\"npx parcel build src/index.tsx --reporter @parcel/reporter-bundle-analyzer\",\"credentials\":\"vsts-npm-auth -config .npmrc -force\"},\"peerDependencies\":{\"react\":\"^19.1.0\",\"react-dom\":\"^19.1.0\"},\"devDependencies\":{\"@babel/core\":\"^7.19.1\",\"@babel/plugin-proposal-decorators\":\"^7.24.7\",\"@babel/plugin-proposal-private-property-in-object\":\"^7.21.11\",\"@babel/preset-env\":\"^7.25.4\",\"@babel/preset-react\":\"^7.24.7\",\"@babel/preset-typescript\":\"^7.24.7\",\"@babel/runtime\":\"^7.23.8\",\"@parcel/packager-ts\":\"^2.13.2\",\"@parcel/reporter-bundle-analyzer\":\"^2.13.2\",\"@parcel/reporter-sourcemap-visualiser\":\"^2.13.2\",\"@parcel/transformer-inline-string\":\"^2.13.2\",\"@parcel/transformer-typescript-types\":\"^2.13.2\",\"@parcel/validator-eslint\":\"^2.13.2\",\"@parcel/validator-typescript\":\"^2.13.2\",\"@testing-library/dom\":\"^10.4.0\",\"@testing-library/jest-dom\":\"6.5.0\",\"@testing-library/react\":\"16.3.2\",\"@testing-library/user-event\":\"14.5.2\",\"@types/jest\":\"^27.5.1\",\"@types/leaflet\":\"^1.8.0\",\"@types/node\":\"^12.12.38\",\"@types/react\":\"^19.1.0\",\"@types/react-dom\":\"19.1.0\",\"@types/testing-library__jest-dom\":\"^5.14.5\",\"@types/testing-library__react\":\"latest\",\"@typescript-eslint/eslint-plugin\":\"^8.19.0\",\"@typescript-eslint/parser\":\"^8.19.0\",\"autoprefixer\":\"^10.4.7\",\"babel-eslint\":\"^10.0.3\",\"babel-jest\":\"^29.7.0\",\"babel-loader\":\"^8.2.5\",\"buffer\":\"^5.7.1\",\"canvas\":\"^3.2.3\",\"cross-env\":\"^7.0.2\",\"crypto-browserify\":\"^3.12.0\",\"eslint\":\"^9.16.0\",\"eslint-config-prettier\":\"^9.1.0\",\"eslint-config-standard\":\"^17.1.0\",\"eslint-config-standard-react\":\"^13.0.0\",\"eslint-plugin-import\":\"^2.31.0\",\"eslint-plugin-node\":\"^11.1.0\",\"eslint-plugin-prettier\":\"^5.2.1\",\"eslint-plugin-promise\":\"^7.2.1\",\"eslint-plugin-react\":\"^7.37.2\",\"https-browserify\":\"^1.0.0\",\"jest\":\"^29.7.0\",\"jest-environment-jsdom\":\"^29.7.0\",\"jest-junit\":\"16.0.0\",\"npm-run-all\":\"^4.1.5\",\"parcel\":\"^2.13.2\",\"path-browserify\":\"^1.0.1\",\"postcss\":\"^8.4.14\",\"postcss-url\":\"^10.1.3\",\"prettier\":\"^2.0.4\",\"process\":\"^0.11.10\",\"punycode\":\"^1.4.1\",\"querystring-es3\":\"^0.2.1\",\"react\":\"19.1.0\",\"react-docgen-typescript-plugin\":\"^1.0.5\",\"react-dom\":\"19.1.0\",\"react-test-renderer\":\"19.1.0\",\"resize-observer-polyfill\":\"^1.5.1\",\"stream-browserify\":\"^3.0.0\",\"stream-http\":\"^3.2.0\",\"string_decoder\":\"^1.3.0\",\"tailwindcss\":\"^3.1.0\",\"typescript\":\"5.3.2\",\"url\":\"^0.11.0\",\"util\":\"^0.12.4\"},\"files\":[\"dist\"],\"dependencies\":{\"@davi-ai/body-engine-sprite\":\"^4.0.1\",\"@davi-ai/react-bodyengine-three\":\"^1.0.28\",\"@davi-ai/retorik-map\":\"5.0.1\",\"@davi-ai/retorik-weather\":\"3.0.1\",\"@davi-ai/speechmarkdown-davi-js\":\"2.0.1\",\"@davi-ai/virtual-keyboard\":\"2.0.0\",\"@davi-ai/web-speech-cognitive-services-davi\":\"3.0.0\",\"@lottiefiles/react-lottie-player\":\"^3.4.1\",\"@mediapipe/tasks-vision\":\"0.10.32\",\"@opentelemetry/api\":\"^1.9.0\",\"@opentelemetry/exporter-trace-otlp-http\":\"^0.200.0\",\"@opentelemetry/instrumentation\":\"^0.200.0\",\"@opentelemetry/instrumentation-document-load\":\"^0.45.0\",\"@opentelemetry/instrumentation-fetch\":\"^0.200.0\",\"@opentelemetry/resources\":\"^2.0.0\",\"@opentelemetry/sdk-trace-web\":\"^2.0.0\",\"@opentelemetry/semantic-conventions\":\"^1.32.0\",\"@react-spring/types\":\"10.0.3\",\"@react-spring/web\":\"10.0.3\",\"@swc/helpers\":\"^0.5.0\",\"@types/geojson\":\"^7946.0.10\",\"@types/jsdom\":\"^16.2.14\",\"@use-gesture/react\":\"^10.2.15\",\"adaptivecards\":\"3.0.5\",\"classnames\":\"^2.3.1\",\"leaflet\":\"^1.9.2\",\"markdown-it\":\"14.1.0\",\"pdfjs-dist\":\"3.11.174\",\"postcss-copy\":\"^7.1.0\",\"qrcode\":\"^1.5.1\",\"react-device-detect\":\"^2.2.3\",\"react-error-boundary\":\"^4.0.10\",\"react-leaflet\":\"^5.0.0\",\"react-pdf\":\"7.7.1\",\"react-redux\":\"^9.2.0\",\"react-shadow\":\"^20.5.0\",\"swiper\":\"12.1.4\"},\"overrides\":{\"@davi-ai/web-speech-cognitive-services-davi\":\"$@davi-ai/web-speech-cognitive-services-davi\"},\"@parcel/resolver-default\":{\"packageExports\":true}}");
|
|
53712
53719
|
|
|
53713
53720
|
});
|
|
53714
53721
|
|