fix: make certain values on process
read-only (#15628)
* docs: Add 'worker' as a possible value for `process.type` * fix: make certain properties on `process` read only: * `mas` * `windowsStore` * `versions.electron` * `versions.chrome` * `type` * `pid` * `sandboxed`
This commit is contained in:
parent
4e53019b75
commit
2a8e8a0603
4 changed files with 11 additions and 12 deletions
|
@ -103,7 +103,7 @@ A `Boolean` that controls whether or not process warnings printed to `stderr` in
|
|||
|
||||
### `process.type`
|
||||
|
||||
A `String` representing the current process's type, can be `"browser"` (i.e. main process) or `"renderer"`.
|
||||
A `String` representing the current process's type, can be `"browser"` (i.e. main process), `"renderer"`, or `"worker"` (i.e. web worker).
|
||||
|
||||
### `process.versions.chrome`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue