fix: property descriptor edge cases
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Using the `drafts` object as a source of property descriptors is bad, because enumerability is not preserved by the `drafts` object. Thus, we must use `state.base` when `state.copy` is undefined, which means we need to ensure the property descriptor has a `writable` value of true. Otherwise, the descriptor would be lying.
authored by aleclarson · committed by Alec Larson · parent f9cd736 · Browse files · 1 file+7 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+7 added−9 removed
- other:+7 added−9 removed