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

Switch from string-similarity to string-similarity-js as deprecated #20

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

PadowYT2
Copy link

@PadowYT2 PadowYT2 commented Jul 12, 2023

and remove lock file in favor of yarn

Copy link
Member

@tadhgboyle tadhgboyle left a comment

Choose a reason for hiding this comment

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

Not sure that pulling an abandoned libraries code into our codebase is a great solution here - it puts the responsibility of maintaining this (complex) code on us. The package is still working fine even though it's not maintained anymore (because it does 1 thing and it does that thing well, there is no need for it to get updated) - I don't personally see any point in doing this

@PadowYT2
Copy link
Author

Not sure that pulling an abandoned libraries code into our codebase is a great solution here - it puts the responsibility of maintaining this (complex) code on us. The package is still working fine even though it's not maintained anymore (because it does 1 thing and it does that thing well, there is no need for it to get updated) - I don't personally see any point in doing this

Well as the package is depcreated, why use it and not just integrate it within the code? You don't need to mantain the code as the code hasn't be touched for years and works fine. Also Super himself wanted to do it "later"
1

@PadowYT2 PadowYT2 requested a review from tadhgboyle July 14, 2023 09:44
@samerton
Copy link
Member

I agree with aber here - I don't think copying the code into our codebase is the best thing to do. I see the following options:

  1. We create our own implementation from scratch
  2. We fork the deprecated package and maintain it ourselves in a new repository
  3. We find an alternative library
  4. We continue to use the deprecated library

@PadowYT2
Copy link
Author

I agree with aber here - I don't think copying the code into our codebase is the best thing to do. I see the following options:

  1. We create our own implementation from scratch
  2. We fork the deprecated package and maintain it ourselves in a new repository
  3. We find an alternative library
  4. We continue to use the deprecated library

There's an alternative - https://www.npmjs.com/package/string-similarity-js, seems good and even less code

@PadowYT2 PadowYT2 changed the title Integrate string-similarity into a function as deprecated Switch from string-similarity to string-similarity-js as deprecated Aug 27, 2023
Copy link
Member

@supercrafter100 supercrafter100 left a comment

Choose a reason for hiding this comment

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

lgtm

@supercrafter100
Copy link
Member

Awaiting Aber's review on this one as well

@PadowYT2
Copy link
Author

👀

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.

4 participants