mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix(ext/node): add missing release
property to node's process
(#18923)
This commit is contained in:
parent
2f651b2d64
commit
cf893741c3
1 changed files with 11 additions and 0 deletions
|
@ -331,6 +331,17 @@ class Process extends EventEmitter {
|
|||
super();
|
||||
}
|
||||
|
||||
/** https://nodejs.org/api/process.html#processrelease */
|
||||
get release() {
|
||||
return {
|
||||
name: "node",
|
||||
sourceUrl:
|
||||
`https://nodejs.org/download/release/${version}/node-${version}.tar.gz`,
|
||||
headersUrl:
|
||||
`https://nodejs.org/download/release/${version}/node-${version}-headers.tar.gz`,
|
||||
};
|
||||
}
|
||||
|
||||
/** https://nodejs.org/api/process.html#process_process_arch */
|
||||
get arch() {
|
||||
if (!arch) {
|
||||
|
|
Loading…
Reference in a new issue