@uipath/docsai-tool 1.198.0-preview.87 → 1.198.0-preview.90
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/tool.js +9 -3
- package/package.json +2 -2
package/dist/tool.js
CHANGED
|
@@ -24867,6 +24867,7 @@ var require_fast_uri = __commonJS((exports, module) => {
|
|
|
24867
24867
|
return uriTokens.join("");
|
|
24868
24868
|
}
|
|
24869
24869
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
24870
|
+
var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
|
|
24870
24871
|
function getParseError(parsed, matches) {
|
|
24871
24872
|
if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
|
|
24872
24873
|
return 'URI path must start with "/" when authority is present.';
|
|
@@ -24896,6 +24897,11 @@ var require_fast_uri = __commonJS((exports, module) => {
|
|
|
24896
24897
|
uri = "//" + uri;
|
|
24897
24898
|
}
|
|
24898
24899
|
}
|
|
24900
|
+
const authorityMatch = uri.match(AUTHORITY_PREFIX);
|
|
24901
|
+
if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
|
|
24902
|
+
parsed.error = "URI authority must not contain a literal backslash.";
|
|
24903
|
+
malformedAuthorityOrPort = true;
|
|
24904
|
+
}
|
|
24899
24905
|
const matches = uri.match(URI_PARSE);
|
|
24900
24906
|
if (matches) {
|
|
24901
24907
|
parsed.scheme = matches[1];
|
|
@@ -24939,7 +24945,7 @@ var require_fast_uri = __commonJS((exports, module) => {
|
|
|
24939
24945
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
|
|
24940
24946
|
if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
24941
24947
|
try {
|
|
24942
|
-
parsed.host = URL
|
|
24948
|
+
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
24943
24949
|
} catch (e) {
|
|
24944
24950
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
24945
24951
|
}
|
|
@@ -27802,7 +27808,7 @@ var require_dist2 = __commonJS((exports, module) => {
|
|
|
27802
27808
|
var package_default = {
|
|
27803
27809
|
name: "@uipath/docsai-tool",
|
|
27804
27810
|
license: "MIT",
|
|
27805
|
-
version: "1.198.0-preview.
|
|
27811
|
+
version: "1.198.0-preview.90",
|
|
27806
27812
|
description: "Search UiPath documentation with AI-powered answers.",
|
|
27807
27813
|
private: false,
|
|
27808
27814
|
repository: {
|
|
@@ -45355,4 +45361,4 @@ export {
|
|
|
45355
45361
|
metadata
|
|
45356
45362
|
};
|
|
45357
45363
|
|
|
45358
|
-
//# debugId=
|
|
45364
|
+
//# debugId=9DAB4D42E371AFC364756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/docsai-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.198.0-preview.
|
|
4
|
+
"version": "1.198.0-preview.90",
|
|
5
5
|
"description": "Search UiPath documentation with AI-powered answers.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7fa615fb10f91f98f796a038ea70569336611f42"
|
|
30
30
|
}
|