Skip to content

fix: endsWithSingleSpace regex and replace string methods with lodash - #798

Open
MrCodeBS wants to merge 2 commits into
livingdocsIO:masterfrom
MrCodeBS:fix-string-utils-and-windows-build
Open

MrCodeBS wants to merge 2 commits into
livingdocsIO:masterfrom
MrCodeBS:fix-string-utils-and-windows-build

Conversation

@MrCodeBS

Copy link
Copy Markdown

This PR addresses two technical debt/bug issues found in the codebase: 1) It fixes a bug in endsWithSingleSpace where strings consisting only of spaces wouldn't be checked properly due to the \S token. 2) It replaces custom string utility methods in src/util/string.js with lodash equivalents, as requested by TODO comments. 3) Modifies package scripts to use cross-env so it can be built and run on Windows machines.

… lodash

Also fixes Windows build scripts by using cross-env.
@MrCodeBS
MrCodeBS force-pushed the fix-string-utils-and-windows-build branch from 80d7a50 to 3b23a3f Compare September 15, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant