Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
04058ef
doc: add more details for localStorage and sessionStorage
Rekl0w Jul 17, 2024
5a26e30
doc: update details for `localstorage`
Rekl0w Jul 17, 2024
bb43e89
doc: update `localStorage` and `sessionStorage`
Rekl0w Jul 17, 2024
a16e2b7
doc: remove browser infos from `localStorage` and `sessionStorage`
Rekl0w Jul 17, 2024
071dd6b
Update doc/api/globals.md
Rekl0w Jul 17, 2024
10aae0f
Update doc/api/globals.md
Rekl0w Jul 17, 2024
e67044c
Update doc/api/globals.md
Rekl0w Jul 18, 2024
ff8d3e0
doc: revert `simultaneously`
Rekl0w Jul 18, 2024
034d00e
doc: update `localStorage` and `sessionStorage`
Rekl0w Jul 18, 2024
0f5357b
doc: lint fix
Rekl0w Aug 15, 2024
1c1e024
Update doc/api/globals.md
Rekl0w Aug 21, 2024
ba117c2
Update doc/api/globals.md
Rekl0w Aug 21, 2024
77fc563
Update doc/api/globals.md
Rekl0w Aug 21, 2024
314a62f
Update doc/api/globals.md
Rekl0w Aug 21, 2024
1bb4f50
Update doc/api/globals.md
Rekl0w Aug 21, 2024
8c2da93
Update doc/api/globals.md
Rekl0w Aug 21, 2024
683ee9f
Update doc/api/globals.md
Rekl0w Aug 21, 2024
5d6e9b6
Update doc/api/globals.md
Rekl0w Aug 21, 2024
7b497da
Update doc/api/globals.md
Rekl0w Aug 21, 2024
43ae345
Update doc/api/globals.md
Rekl0w Aug 21, 2024
58977b7
Update doc/api/globals.md
Rekl0w Aug 23, 2024
bb2275c
doc: re-add `webassembly-org`
Rekl0w Aug 23, 2024
a03e286
doc: fix `single session` to `single context`
Rekl0w Aug 23, 2024
8bae3e7
Revert "doc: fix `single session` to `single context`"
Rekl0w Aug 23, 2024
9c06414
Update globals.md
Rekl0w Aug 23, 2024
7c3ead3
Update globals.md
Rekl0w Aug 26, 2024
20cf144
Update doc/api/globals.md
cjihrig Aug 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: lint fix
  • Loading branch information
Rekl0w committed Aug 15, 2024
commit 0f5357b4298adf1579166327bbdfe2ea7d76dc39
54 changes: 27 additions & 27 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ These objects are available in all modules.
The following variables may appear to be global but are not. They exist only in
the scope of [CommonJS modules][]:

- [`__dirname`][]
- [`__filename`][]
- [`exports`][]
- [`module`][]
- [`require()`][]
* [`__dirname`][]
* [`__filename`][]
* [`exports`][]
* [`module`][]
* [`require()`][]

The objects listed here are specific to Node.js. There are [built-in objects][]
that are part of the JavaScript language itself, which are also globally
Expand Down Expand Up @@ -62,7 +62,7 @@ changes:
description: Added the new optional reason argument.
-->

- `reason` {any} An optional reason, retrievable on the `AbortSignal`'s
* `reason` {any} An optional reason, retrievable on the `AbortSignal`'s
`reason` property.

Triggers the abort signal, causing the `abortController.signal` to emit
Expand All @@ -76,7 +76,7 @@ added:
- v14.17.0
-->

- Type: {AbortSignal}
* Type: {AbortSignal}

### Class: `AbortSignal`

Expand All @@ -86,7 +86,7 @@ added:
- v14.17.0
-->

- Extends: {EventTarget}
* Extends: {EventTarget}

The `AbortSignal` is used to notify observers when the
`abortController.abort()` method is called.
Expand All @@ -105,8 +105,8 @@ changes:
description: Added the new optional reason argument.
-->

- `reason`: {any}
- Returns: {AbortSignal}
* `reason`: {any}
* Returns: {AbortSignal}

Returns a new already aborted `AbortSignal`.

Expand All @@ -118,7 +118,7 @@ added:
- v16.14.0
-->

- `delay` {number} The number of milliseconds to wait before triggering
* `delay` {number} The number of milliseconds to wait before triggering
the AbortSignal.

Returns a new `AbortSignal` which will be aborted in `delay` milliseconds.
Expand All @@ -131,7 +131,7 @@ added:
- v18.17.0
-->

- `signals` {AbortSignal\[]} The `AbortSignal`s of which to compose a new `AbortSignal`.
* `signals` {AbortSignal\[]} The `AbortSignal`s of which to compose a new `AbortSignal`.

Returns a new `AbortSignal` which will be aborted if any of the provided
signals are aborted. Its [`abortSignal.reason`][] will be set to whichever
Expand Down Expand Up @@ -186,7 +186,7 @@ added:
- v14.17.0
-->

- Type: {boolean} True after the `AbortController` has been aborted.
* Type: {boolean} True after the `AbortController` has been aborted.

#### `abortSignal.onabort`

Expand All @@ -196,7 +196,7 @@ added:
- v14.17.0
-->

- Type: {Function}
* Type: {Function}

An optional callback function that may be set by user code to be notified
when the `abortController.abort()` function has been called.
Expand All @@ -209,7 +209,7 @@ added:
- v16.14.0
-->

- Type: {any}
* Type: {any}

An optional reason specified when the `AbortSignal` was triggered.

Expand Down Expand Up @@ -247,7 +247,7 @@ added: v0.1.103

<!-- type=global -->

- {Function}
* {Function}

Used to handle binary data. See the [buffer section][].

Expand Down Expand Up @@ -358,7 +358,7 @@ added: v0.1.100

<!-- type=global -->

- {Object}
* {Object}

Used to print to stdout and stderr. See the [`console`][] section.

Expand Down Expand Up @@ -558,7 +558,7 @@ added: v0.1.27

> Stability: 3 - Legacy. Use [`globalThis`][] instead.

- {Object} The global namespace object.
* {Object} The global namespace object.

In browsers, the top-level scope has traditionally been the global scope. This
means that `var something` will define a new global variable, except within
Expand Down Expand Up @@ -665,7 +665,7 @@ A partial implementation of [`window.navigator`][].
added: v21.0.0
-->

- {number}
* {number}

The `navigator.hardwareConcurrency` read-only property returns the number of
logical processors available to the current Node.js instance.
Expand All @@ -682,7 +682,7 @@ console.log(
added: v21.2.0
-->

- {string}
* {string}

The `navigator.language` read-only property returns a string representing the
preferred language of the Node.js instance. The language will be determined by
Expand All @@ -705,7 +705,7 @@ console.log(
added: v21.2.0
-->

- {Array<string>}
* {Array<string>}

The `navigator.languages` read-only property returns an array of strings
representing the preferred languages of the Node.js instance.
Expand All @@ -725,7 +725,7 @@ console.log(`The preferred languages are '${navigator.languages}'`);
added: v21.2.0
-->

- {string}
* {string}

The `navigator.platform` read-only property returns a string identifying the
platform on which the Node.js instance is running.
Expand All @@ -740,7 +740,7 @@ console.log(`This process is running on ${navigator.platform}`);
added: v21.1.0
-->

- {string}
* {string}

The `navigator.userAgent` read-only property returns user agent
consisting of the runtime name and major version number.
Expand Down Expand Up @@ -827,7 +827,7 @@ added: v0.1.7

<!-- type=global -->

- {Object}
* {Object}

The process object. See the [`process` object][] section.

Expand All @@ -839,7 +839,7 @@ added: v11.0.0

<!-- type=global -->

- `callback` {Function} Function to be queued.
* `callback` {Function} Function to be queued.

The `queueMicrotask()` method queues a microtask to invoke `callback`. If
`callback` throws an exception, the [`process` object][] `'uncaughtException'`
Expand Down Expand Up @@ -1157,7 +1157,7 @@ added: v8.0.0

<!-- type=global -->

- {Object}
* {Object}

The object that acts as the namespace for all W3C
[WebAssembly][webassembly-org] related functionality. See the
Expand Down Expand Up @@ -1288,4 +1288,4 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
[built-in objects]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
[timers]: timers.md
[webassembly-mdn]: https://developer.mozilla.org/en-US/docs/WebAssembly
[webassembly-org]: https://webassembly.org
[webassembly-org]: https://webassembly.org
Comment thread
Rekl0w marked this conversation as resolved.
Outdated