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

Lots of improvements. #34

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

Lots of improvements. #34

wants to merge 11 commits into from

Conversation

tj-commits
Copy link
Contributor

@tj-commits tj-commits commented May 23, 2024

THESE FIXES ARE CRUCIAL AND SOLVE MANY PROBLEMS

resolves #5 i made the module.exports immutable using @Ginden 's solution
resolves #19 i made true not hardcode using @tfrijsewijk's solution
also makes bin/cli.js actually log "true".
also there was a ./true in the require function in readme.md which is a hint from testing periods. This would not work if someone installed, therefore this is a crucial fix

i have also done the same things but for false on the https://github.com/mde/false mde/false library

@tj-commits
Copy link
Contributor Author

Can we merge pull request

Copy link
Contributor Author

@tj-commits tj-commits left a comment

Choose a reason for hiding this comment

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

best

Copy link
Contributor Author

@tj-commits tj-commits left a comment

Choose a reason for hiding this comment

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

good

@tj-commits tj-commits changed the title Move true to variable to improve performance and use true-value library Lots of improvements. May 31, 2024
Copy link

@issuefuck issuefuck left a comment

Choose a reason for hiding this comment

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

Great

@mde
Copy link
Owner

mde commented Jul 6, 2024

It's vital to keep such a critical piece of Internet infrastructure free of heavy dependencies, so I'm not keen on this approach. Worth considering if you can find a way to do this without requiring external modules.

@tj-commits
Copy link
Contributor Author

tj-commits commented Jul 6, 2024

@mde Hmm, okay. But besides that I also provided some more fixes. Should those be applied? Like, updating the README.md to be more accurate, and adding CLI to https://github.com/mde/false.

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.

"true" should not be hardcoded true is not always true
3 participants