utilitas 1999.1.28 → 1999.1.29
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/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +8 -0
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -747,6 +747,14 @@ const packResp = async (resp, options) => {
|
|
|
747
747
|
).join('\n');
|
|
748
748
|
}
|
|
749
749
|
txt = txt.split('\n');
|
|
750
|
+
const reJina = new RegExp(`^\s*${THINK_STR}(.*)${THINK_END}\s*$`);
|
|
751
|
+
const fixJina = [];
|
|
752
|
+
for (let l of txt) {
|
|
753
|
+
if (reJina.test(l)) {
|
|
754
|
+
fixJina.push(THINK_STR, l.replace(reJina, '$1'), THINK_END);
|
|
755
|
+
} else { fixJina.push(l); }
|
|
756
|
+
}
|
|
757
|
+
txt = fixJina;
|
|
750
758
|
for (let i in txt) {
|
|
751
759
|
switch (txt[i]) {
|
|
752
760
|
case THINK_STR: txt[i] = MD_CODE + THINK; break;
|
package/lib/manifest.mjs
CHANGED