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

protect against undefined constructor #969

Merged
merged 2 commits into from Oct 22, 2022

Conversation

BrianHung
Copy link
Contributor

Edge case where constructor is not defined on an object, such as Object.create(null).

@netlify
Copy link

netlify bot commented Aug 18, 2022

Deploy Preview for quizzical-lovelace-dcbd6a canceled.

Name Link
🔨 Latest commit 819cec7
🔍 Latest deploy log https://app.netlify.com/sites/quizzical-lovelace-dcbd6a/deploys/63056558a3ce5700092deb4b

@mweststrate
Copy link
Collaborator

That looks correct! Would you mind adding a unit test to protect against regressions?

@coveralls
Copy link

coveralls commented Aug 18, 2022

Pull Request Test Coverage Report for Build 2881286810

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.07%) to 98.485%

Totals Coverage Status
Change from base Build 2849409223: -0.07%
Covered Lines: 786
Relevant Lines: 794

💛 - Coveralls

@mweststrate mweststrate merged commit ced4563 into immerjs:master Oct 22, 2022
@mweststrate
Copy link
Collaborator

Merged! Thanks again, and apologies for the late follow up.

@github-actions
Copy link
Contributor

🎉 This PR is included in version 9.0.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants