flappa-doormal 2.13.0 → 2.13.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.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -569,8 +569,7 @@ const compileTokenRegexes = (tokenNames) => tokenNames.map((token) => {
|
|
|
569
569
|
const appendWs = (out, mode) => {
|
|
570
570
|
if (!out) return out;
|
|
571
571
|
const suffix = mode === "space" ? " " : "\\s*";
|
|
572
|
-
|
|
573
|
-
return out.endsWith(check) ? out : `${out}${suffix}`;
|
|
572
|
+
return out.endsWith(suffix) ? out : `${out}${suffix}`;
|
|
574
573
|
};
|
|
575
574
|
const findBestTokenMatchAt = (s, pos, compiled, isArabicLetter$1) => {
|
|
576
575
|
let best = null;
|