Skip to content

Mark the native property as non-enumerable. Closes #945 #952

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

Closed
wants to merge 1 commit into from
Closed

Mark the native property as non-enumerable. Closes #945 #952

wants to merge 1 commit into from

Conversation

janmeier
Copy link

No description provided.

@janmeier
Copy link
Author

@brianc Tests pass now :)

@brianc
Copy link
Owner

brianc commented Mar 30, 2016

Very nice! I think this probably could break backwards compatibility in some weird edge cases - what do you think? I think it should be a major version bump.

@janmeier
Copy link
Author

Not sure I can think of any cases right now - Would users every purposefully enumerate the object? The only cases I can think of are when the pg object is cloned as a child of something else

@langpavel
Copy link
Contributor

@janmeier users brobably don't enumerate but babel or webpack can. This was debated in #950

@brianc
Copy link
Owner

brianc commented Apr 28, 2016

Yeah sorry for dropping the ball on this one...

I've been busy w/ life stuff. I see there is this pr as well. Do you want me to unify the changes between these two PRs & submit a new PR that does both of these in combo? I think both changes make sense & fix different parts of the issue.

@janmeier
Copy link
Author

@brianc Yeah that would be nice! :)

@brianc
Copy link
Owner

brianc commented Jun 20, 2016

I believe this is fixed in 5.1

@brianc brianc closed this Jun 20, 2016
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.

3 participants