diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/node/polyfills/process.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/polyfills/process.ts b/ext/node/polyfills/process.ts index a001d2e0f..bec62122b 100644 --- a/ext/node/polyfills/process.ts +++ b/ext/node/polyfills/process.ts @@ -731,6 +731,9 @@ if (isWindows) { // @ts-ignore TS doesn't work well with ES5 classes const process = new Process(); +/* Set owned property */ +process.versions = versions; + Object.defineProperty(process, Symbol.toStringTag, { enumerable: false, writable: true, |