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

Support RegExp type #28

Open
zendive opened this issue Feb 22, 2025 · 0 comments
Open

Support RegExp type #28

zendive opened this issue Feb 22, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zendive
Copy link
Owner

zendive commented Feb 22, 2025

Version: 3.0.6

Currently, RegExp type properties (in the example as r) are not serialized in the way that can show the difference.

Example:

console.diff({a: 1, r: /test/}, {a: 2, r: /test/i});
{
  "a": [
    1,
    2
  ]
}
@zendive zendive added the enhancement New feature or request label Feb 22, 2025
@zendive zendive self-assigned this Feb 22, 2025
zendive added a commit that referenced this issue Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant