Releases: mitsuki31/lsfnd
v1.2.0
Introduce the New Synchronous Module
A synchronous variant of LSFND is now available. This module mirrors the core behavior but executes without async overhead, making it suitable for environments where synchronous file operations are preferred.
You can import it through the /sync submodule:
import { ls, lsTypes } from "lsfnd/sync";
// or:
const { ls, lsTypes } = require("lsfnd/sync");This addition expands the API surface without altering existing asynchronous usage, giving developers more flexibility depending on their execution model.
What's Changed
- refactor: Refactor build script and improve workflow by @mitsuki31 in #10
- chore(npm-dev): Bump the
esbuildto version 0.27.1 by @mitsuki31 in #11 - feat: Add sync module, refactor core module, update build by @mitsuki31 in #12
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- fix(build): Resolve bad invocation shell by @mitsuki31 in #8
- [HOTFIX] refactor(ls): Enhance compatibility and optimize path handling for Windows system by @mitsuki31 in #9
Warning
Deprecate a feature of ls function, which is the relative file URL paths, such as 'file:./' or 'file:../', are no longer supported and have been removed to ensure compliance with the WHATWG URL Standard specification. For more details, see this change.
Full Changelog: v1.0.0...v1.1.0
SHASUM
de436bacfd746acb8bc6a520a7986880a1542021 lsfnd-1.1.0.min.tgz
1016940a2ab28eb50d568a79bae82f95fb0a185e lsfnd-1.1.0.tgz
v1.0.0
What's Changed
- Separate the
lsTypesenum to other module, reorganizing codebase (#1) - @mitsuki31 - feat: Enhance APIs with file URL path support (#2) - @mitsuki31
- fix(ls): Allow explicit
nullvalue for options parameter (#3) - @mitsuki31 - fix(ls): Allow string types for
typearg & improve type safety (#4) - @mitsuki31 - refactor(types): Enhance typings structure and module compatibility (#5) - @mitsuki31
- feat(api): Expand APIs with new customizable options and enhanced functionality (#6) - @mitsuki31
- fix(encoding): Fix malfunctioning encoding option (#7) - @mitsuki31
Full Changelog: v0.1.0...v1.0.0
SHASUM
0bb38d4edc6bf0136d3d61658bb5db20dce5bc99 lsfnd-1.0.0.min.tgz
115223b194456e119ccfcfee20ce0682b73c5ed9 lsfnd-1.0.0.tgz