mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
fix(ext/node): add missing release
property to node's process
(#18923)
This commit is contained in:
parent
797f0ef42e
commit
2a14ac58fa
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