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

Omit undefined values in stringify #51

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Conversation

RikSchefferAmsterdam
Copy link
Contributor

This PR makes sure undefined values are omitted when using stringify.

Solves: #46

For example:

const obj = {
      a: undefined,
      b: 'bar'
};
console.log(stringify(obj)) // 'b=bar'

@43081j
Copy link
Owner

43081j commented Aug 18, 2024

makes sense to me! this is a bug for sure

thanks for the contribution 💙

@43081j 43081j merged commit 327c7db into 43081j:main Aug 18, 2024
3 checks passed
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.

2 participants