Skip to content

Use lstatSync instead of statSync #20

Merged
manidlou merged 3 commits into
manidlou:masterfrom
vic3king:fix/use-lstat-sync
Mar 17, 2025
Merged

Use lstatSync instead of statSync #20
manidlou merged 3 commits into
manidlou:masterfrom
vic3king:fix/use-lstat-sync

Conversation

@vic3king
Copy link
Copy Markdown
Collaborator

Changes

  • Updated klaw-sync.js to use lstatSync instead of the deprecated statSync method

Testing

  • All existing tests continue to pass

Additional Notes

  • No breaking changes introduced
  • Performance characteristics remain the same

Issue: #18

- use memfs for tests as memory-fs is deprecated and does not support lstatSync
- add lint fix script
@vic3king vic3king changed the title fix: use lstatSync instead of statSync fix: Use lstatSync instead of statSync Mar 14, 2025
@vic3king vic3king changed the title fix: Use lstatSync instead of statSync Use lstatSync instead of statSync Mar 14, 2025
@vic3king vic3king marked this pull request as ready for review March 14, 2025 09:42
@manidlou
Copy link
Copy Markdown
Owner

LGTM, thank you for your contribution @vic3king

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.

2 participants