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 removing unbalanced quotes #376

Merged
merged 7 commits into from
Mar 13, 2019
Merged

Conversation

maxbeatty
Copy link
Contributor

Raised in #374, single leading or trailing quotes were being removed. This could cause a problem if your password began or ended with ' or ". Now, quotes must be balanced if they are to be removed.

Additionally, whitespace will now be preserved within quotes. The Rules section of the README has been updated to clarify quote behavior.

These could be breaking changes so will release v7 after merging. While we're at it, dropping load alias since it's only referenced once and is inconsistent with CLI usage (node -r dotenv/config ...). Links to other packages have been simplified to fix outdated links and make future maintainance easier.

@maxbeatty maxbeatty added the bug label Feb 8, 2019
@maxbeatty maxbeatty self-assigned this Feb 8, 2019
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