We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.4.2
Not actually sure what is causing the object to be observed (__ob__ to be added); will try to create a minimal repro later.
__ob__
Update: Repro link: https://jsfiddle.net/49gptnad/508/
For __ob__ to not be considered an injection.
As shown in the first screenshot, this seems to be happening because of the usage of Reflect.ownKeys(), which apparently does Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target)), which is returning non-enumerable keys.
Reflect.ownKeys()
Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target))
The text was updated successfully, but these errors were encountered:
Here's the reproduction link: https://jsfiddle.net/49gptnad/508/
__ob__ gets added because it's being added to a data().
data()
Sorry, something went wrong.
3ee62fd
fix(inject): exclude not enumerable keys of inject object (vuejs#6346)
1c68288
close vuejs#6574
838dfb4
No branches or pull requests
Version
2.4.2
Steps to reproduce
Not actually sure what is causing the object to be observed (
__ob__
to be added); will try to create a minimal repro later.Update: Repro link: https://jsfiddle.net/49gptnad/508/
What is expected?
For
__ob__
to not be considered an injection.What is actually happening?
As shown in the first screenshot, this seems to be happening because of the usage of
Reflect.ownKeys()
, which apparently doesObject.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target))
, which is returning non-enumerable keys.The text was updated successfully, but these errors were encountered: