@absolutejs/rag 0.22.4 → 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 +13 -0
- package/changelog.json +21 -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/svelte/index.js
CHANGED
|
@@ -2318,8 +2318,8 @@ function parse(path) {
|
|
|
2318
2318
|
var ret = { root: "", dir: "", base: "", ext: "", name: "" };
|
|
2319
2319
|
if (path.length === 0)
|
|
2320
2320
|
return ret;
|
|
2321
|
-
var code = path.charCodeAt(0),
|
|
2322
|
-
if (
|
|
2321
|
+
var code = path.charCodeAt(0), isAbsolute2 = code === 47, start;
|
|
2322
|
+
if (isAbsolute2)
|
|
2323
2323
|
ret.root = "/", start = 1;
|
|
2324
2324
|
else
|
|
2325
2325
|
start = 0;
|
|
@@ -2344,12 +2344,12 @@ function parse(path) {
|
|
|
2344
2344
|
}
|
|
2345
2345
|
if (startDot === -1 || end === -1 || preDotState === 0 || preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
|
|
2346
2346
|
if (end !== -1)
|
|
2347
|
-
if (startPart === 0 &&
|
|
2347
|
+
if (startPart === 0 && isAbsolute2)
|
|
2348
2348
|
ret.base = ret.name = path.slice(1, end);
|
|
2349
2349
|
else
|
|
2350
2350
|
ret.base = ret.name = path.slice(startPart, end);
|
|
2351
2351
|
} else {
|
|
2352
|
-
if (startPart === 0 &&
|
|
2352
|
+
if (startPart === 0 && isAbsolute2)
|
|
2353
2353
|
ret.name = path.slice(1, startDot), ret.base = path.slice(1, end);
|
|
2354
2354
|
else
|
|
2355
2355
|
ret.name = path.slice(startPart, startDot), ret.base = path.slice(startPart, end);
|
|
@@ -2357,7 +2357,7 @@ function parse(path) {
|
|
|
2357
2357
|
}
|
|
2358
2358
|
if (startPart > 0)
|
|
2359
2359
|
ret.dir = path.slice(0, startPart - 1);
|
|
2360
|
-
else if (
|
|
2360
|
+
else if (isAbsolute2)
|
|
2361
2361
|
ret.dir = "/";
|
|
2362
2362
|
return ret;
|
|
2363
2363
|
}
|
|
@@ -5214,5 +5214,5 @@ export {
|
|
|
5214
5214
|
createWebIndexStore
|
|
5215
5215
|
};
|
|
5216
5216
|
|
|
5217
|
-
//# debugId=
|
|
5217
|
+
//# debugId=EDE8997D51568E0564756E2164756E21
|
|
5218
5218
|
//# sourceMappingURL=index.js.map
|