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

fix: [#4525] Replace read-text-file package to avoid using LGPL #4534

Merged

Conversation

ceciliaavila
Copy link
Collaborator

Fixes #4525

Description

This PR removes the read-text-file dependency to avoid the use of LGPL.

Specific Changes

  • Replaced read and readAsync functions with fs's readFileSync and readFile in BotConfiguration class.
  • Removed read-text-file from the packages.json files.

Testing

The following image shows the botframework-config tests, which use BotConfiguration class, running successfully.
image

@ceciliaavila ceciliaavila requested a review from a team as a code owner September 8, 2023 16:40
@tracyboehrer tracyboehrer merged commit cbb187d into main Sep 8, 2023
@tracyboehrer tracyboehrer deleted the southworks/fix/remove-read-text-file-vulnerability branch September 8, 2023 17:04
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.

Replace read-text-file package to avoid using LGPL
3 participants