Skip to content

Releases: CodeWitchBella/isbl-fs

Version 0.5.0

16 Sep 19:41
Compare
Choose a tag to compare
  • 70a25d5 feat: support multiple @types/node versions at once

I still have to export everything, but if your @types/node version matches your actual node version, this package should export type undefined for that export. I already did that at runtime (so that this package does not crash). This requires me to write .d.ts files manually, but I think that it is worth it 🤓

Also, this means that proper way to check if method (eg. cp added in 16.7.0) is available is to do if (fs.cp), not if ('cp' in fs), because the second is always true... It also means that you can do import { fs } from '@isbl/fs' even if you are on older nodejs version.

Version 0.4.0

16 Sep 19:13
Compare
Choose a tag to compare
  • 6ad11bc feat: export all non-deprecated fs/promises methods
  • d8fb7e3 chore: more specific engines.node
  • 8ddb2f1 docs: add LICENSE file and update badges in README

Version 0.3.0

02 Sep 10:05
Compare
Choose a tag to compare
  • a445131 chore: publish version 0.3.0
  • ed09b0f feat: add support for readdirSync
  • 9cc1fc2 chore: update published files
  • 673bd92 docs: add badges
  • 8ef89ab feat: split out sync functions

Version 0.2.0

02 Sep 09:43
Compare
Choose a tag to compare
  • b9e2745 add support for writeFileSync and readdir

Version 0.1.1

01 Sep 14:00
Compare
Choose a tag to compare

Version 0.1.0

01 Sep 13:46
Compare
Choose a tag to compare