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
Currently the compatibility with Deno is blocked by chalk dependency, which uses __proto__ https://github.com/chalk/chalk/blob/v2.4.2/index.js#L154, which Deno disables by default.
chalk
__proto__
Deno made a conscious decision to not support Object.prototype.__proto__ for security reasons. https://docs.deno.com/runtime/reference/cli/unstable_flags/#--unstable-unsafe-proto
Object.prototype.__proto__
You can check that with the below:
$ deno -A npm:@vscode/vsce -h error: Uncaught (in promise) TypeError: chalk_1.default.bgGreen.black is not a function
Deno optionally supports --unstable-unsafe-proto flag which allows the use of __proto__, and that makes vsce work in Deno:
--unstable-unsafe-proto
vsce
$ deno -A --unstable-unsafe-proto npm:@vscode/vsce -h Usage: vsce <command> ...
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently the compatibility with Deno is blocked by
chalk
dependency, which uses__proto__
https://github.com/chalk/chalk/blob/v2.4.2/index.js#L154, which Deno disables by default.You can check that with the below:
Deno optionally supports
--unstable-unsafe-proto
flag which allows the use of__proto__
, and that makesvsce
work in Deno:The text was updated successfully, but these errors were encountered: