@absolutejs/rag 0.22.5 → 0.22.6
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 +7 -0
- package/changelog.json +11 -0
- package/dist/adapter-kit/index.js +3 -3
- package/dist/adapter-kit/index.js.map +2 -2
- package/dist/angular/index.js +6 -6
- package/dist/angular/index.js.map +3 -3
- package/dist/index.js +178 -178
- package/dist/index.js.map +2 -2
- package/dist/manifest.js +115 -115
- package/dist/manifest.js.map +2 -2
- package/dist/react/index.js +6 -6
- package/dist/react/index.js.map +3 -3
- package/dist/research/index.js +329 -329
- package/dist/research/index.js.map +2 -2
- package/dist/svelte/index.js +6 -6
- package/dist/svelte/index.js.map +3 -3
- package/dist/vue/index.js +6 -6
- package/dist/vue/index.js.map +3 -3
- package/dist/web/index.js +209 -209
- package/dist/web/index.js.map +2 -2
- package/dist/web-index/index.js +330 -330
- package/dist/web-index/index.js.map +2 -2
- package/package.json +7 -3
package/dist/angular/index.js
CHANGED
|
@@ -1047,8 +1047,8 @@ function parse(path) {
|
|
|
1047
1047
|
var ret = { root: "", dir: "", base: "", ext: "", name: "" };
|
|
1048
1048
|
if (path.length === 0)
|
|
1049
1049
|
return ret;
|
|
1050
|
-
var code = path.charCodeAt(0),
|
|
1051
|
-
if (
|
|
1050
|
+
var code = path.charCodeAt(0), isAbsolute2 = code === 47, start;
|
|
1051
|
+
if (isAbsolute2)
|
|
1052
1052
|
ret.root = "/", start = 1;
|
|
1053
1053
|
else
|
|
1054
1054
|
start = 0;
|
|
@@ -1073,12 +1073,12 @@ function parse(path) {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
if (startDot === -1 || end === -1 || preDotState === 0 || preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
|
1075
1075
|
if (end !== -1)
|
|
1076
|
-
if (startPart === 0 &&
|
|
1076
|
+
if (startPart === 0 && isAbsolute2)
|
|
1077
1077
|
ret.base = ret.name = path.slice(1, end);
|
|
1078
1078
|
else
|
|
1079
1079
|
ret.base = ret.name = path.slice(startPart, end);
|
|
1080
1080
|
} else {
|
|
1081
|
-
if (startPart === 0 &&
|
|
1081
|
+
if (startPart === 0 && isAbsolute2)
|
|
1082
1082
|
ret.name = path.slice(1, startDot), ret.base = path.slice(1, end);
|
|
1083
1083
|
else
|
|
1084
1084
|
ret.name = path.slice(startPart, startDot), ret.base = path.slice(startPart, end);
|
|
@@ -1086,7 +1086,7 @@ function parse(path) {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
if (startPart > 0)
|
|
1088
1088
|
ret.dir = path.slice(0, startPart - 1);
|
|
1089
|
-
else if (
|
|
1089
|
+
else if (isAbsolute2)
|
|
1090
1090
|
ret.dir = "/";
|
|
1091
1091
|
return ret;
|
|
1092
1092
|
}
|
|
@@ -4759,5 +4759,5 @@ export {
|
|
|
4759
4759
|
WebIndexService
|
|
4760
4760
|
};
|
|
4761
4761
|
|
|
4762
|
-
//# debugId=
|
|
4762
|
+
//# debugId=D595D9AFDA46F4DD64756E2164756E21
|
|
4763
4763
|
//# sourceMappingURL=index.js.map
|