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
Object.prototype.__proto__
Version: Deno 2.0.4
I'm working with legacy packages that make use of Object.prototype.__proto__, which is not defined in deno. This polyfill is needed
Object.defineProperty(Object.prototype, "__proto__", { enumerable: false, configurable: true, get() { return Object.getPrototypeOf(this); }, set(v) { Object.setPrototypeOf(this, v); } });
The text was updated successfully, but these errors were encountered:
It's disabled by default in Deno due to security reasons. You can enable it with --unstable-unsafe-proto flag.
--unstable-unsafe-proto
Sorry, something went wrong.
You can also specify:
{ "unstable": ["unsafe-proto"] }
in a deno.json file.
Read more:
No branches or pull requests
Version: Deno 2.0.4
I'm working with legacy packages that make use of
Object.prototype.__proto__
, which is not defined in deno.This polyfill is needed
The text was updated successfully, but these errors were encountered: