| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 515c9b8 commit 4dfc389
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -494,7 +494,7 @@ When enabling the Permission Model through the [`--experimental-permission`][] | |||
| 494 | 494 | flag a new property `permission` is added to the `process` object. | |
| 495 | 495 | This property contains one function: | |
| 496 | 496 | ||
| 497 | - ##### `permission.has(scope ,parameters)` | ||
| 497 | + ##### `permission.has(scope[, reference])` | ||
| 498 | 498 | ||
| 499 | 499 | API call to check permissions at runtime ([`permission.has()`][]) | |
| 500 | 500 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2640,7 +2640,7 @@ for the current process. Additional documentation is available in the | |||
| 2640 | 2640 | added: v20.0.0 | |
| 2641 | 2641 | --> | |
| 2642 | 2642 | ||
| 2643 | - * `scopes` {string} | ||
| 2643 | + * `scope` {string} | ||
| 2644 | 2644 | * `reference` {string} | |
| 2645 | 2645 | * Returns: {boolean} | |
| 2646 | 2646 | ||
@@ -2657,6 +2657,8 @@ The available scopes are: | |||
| 2657 | 2657 | * `fs` - All File System | |
| 2658 | 2658 | * `fs.read` - File System read operations | |
| 2659 | 2659 | * `fs.write` - File System write operations | |
| 2660 | + * `child` - Child process spawning operations | ||
| 2661 | + * `worker` - Worker thread spawning operation | ||
| 2660 | 2662 | ||
| 2661 | 2663 | ```js | |
| 2662 | 2664 | // Check if the process has permission to read the README file | |
| Back | FazBrowse Home | New Git URL |
0 commit comments