Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace fs-promise with built-in fs/promises module #150

Closed

Conversation

hyperupcall
Copy link

@hyperupcall hyperupcall commented Oct 12, 2023

Checklist

  • I have ensured my pull request is not behind the main or master branch of the original repository.
  • I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
  • I have written a commit message that passes commitlint linting.
  • I have ensured that my code changes pass linting tests.
  • I have ensured that my code changes pass unit tests.
  • I have described my pull request and the reasons for code changes along with context if necessary.

Description

fs-promise is deprecated and since Node v10.X, there is a built-in fs/promises module (also available with the .promises property) for promise-based file system APIs.

This removes fs-promise and uses the built-in module that is available.

@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: [email protected]

@hyperupcall hyperupcall force-pushed the hyperupcall-use-builtin-fspromises branch from 975c807 to 44940c6 Compare October 12, 2023 14:12
@hyperupcall hyperupcall changed the title refactor: Use built-in fs/promises module Replace fs-promise with built-in fs/promises module Oct 12, 2023
@hyperupcall hyperupcall mentioned this pull request Oct 12, 2023
6 tasks
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.

Javascript qstn
1 participant