Skip to content

remved temp-fs package [LOC-6490]#170

Open
rounak610 wants to merge 1 commit intomasterfrom
LOC-6490
Open

remved temp-fs package [LOC-6490]#170
rounak610 wants to merge 1 commit intomasterfrom
LOC-6490

Conversation

@rounak610
Copy link
Collaborator

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes the temp-fs package dependency and replaces it with native Node.js APIs for temporary directory management in tests.

Changes:

  • Removed temp-fs dependency from package.json and package-lock.json
  • Replaced tempfs.mkdir() with native fs.mkdtempSync() for creating temporary directories
  • Replaced temp-fs cleanup function with rimraf() for directory removal in test teardown

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
test/local.js Replaced temp-fs usage with native Node.js fs.mkdtempSync() and os.tmpdir(), updated cleanup to use existing rimraf dependency
package.json Removed temp-fs from dependencies
package-lock.json Removed temp-fs and its nested dependencies from lock file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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