Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ffcff68

Browse filesBrowse files
VoltrexKeyvaMoLow
authored andcommitted
doc: fix typos
PR-URL: #47685 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent fa18b17 commit ffcff68
Copy full SHA for ffcff68
Expand file treeCollapse file tree

14 files changed

+23
-23
lines changed
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ the path specified by `--snapshot-blob`.
119119
```console
120120
$ echo "globalThis.foo = 'I am from the snapshot'" > snapshot.js
121121

122-
# Run snapshot.js to intialize the application and snapshot the
122+
# Run snapshot.js to initialize the application and snapshot the
123123
# state of it into snapshot.blob.
124124
$ node --snapshot-blob snapshot.blob --build-snapshot snapshot.js
125125

Collapse file

‎doc/api/domain.md‎

Copy file name to clipboardExpand all lines: doc/api/domain.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ If domains are in use, then all **new** `EventEmitter` objects (including
212212
Stream objects, requests, responses, etc.) will be implicitly bound to
213213
the active domain at the time of their creation.
214214

215-
Additionally, callbacks passed to lowlevel event loop requests (such as
215+
Additionally, callbacks passed to low-level event loop requests (such as
216216
to `fs.open()`, or other callback-taking methods) will automatically be
217217
bound to the active domain. If they throw, then the domain will catch
218218
the error.
@@ -409,7 +409,7 @@ specified emitter.
409409
* `...args` {any}
410410

411411
Run the supplied function in the context of the domain, implicitly
412-
binding all event emitters, timers, and lowlevel requests that are
412+
binding all event emitters, timers, and low-level requests that are
413413
created in that context. Optionally, arguments can be passed to
414414
the function.
415415

Collapse file

‎doc/api/inspector.md‎

Copy file name to clipboardExpand all lines: doc/api/inspector.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ changes:
2727

2828
Deactivate the inspector. Blocks until there are no active connections.
2929

30-
When using `Session`, the object outputed by the console API will not be
30+
When using `Session`, the object outputted by the console API will not be
3131
released, unless we performed manually `Runtime.DiscardConsoleEntries`
3232
command.
3333

@@ -110,7 +110,7 @@ Create a new instance of the `inspector.Session` class. The inspector session
110110
needs to be connected through [`session.connect()`][] before the messages
111111
can be dispatched to the inspector backend.
112112

113-
When using `Session`, the object outputed by the console API will not be
113+
When using `Session`, the object outputted by the console API will not be
114114
released, unless we performed manually `Runtime.DiscardConsoleEntries`
115115
command.
116116

Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Node-API is a C API that ensures ABI stability across Node.js versions
3737
and different compiler levels. A C++ API can be easier to use.
3838
To support using C++, the project maintains a
3939
C++ wrapper module called [`node-addon-api`][].
40-
This wrapper provides an inlineable C++ API. Binaries built
40+
This wrapper provides an inlinable C++ API. Binaries built
4141
with `node-addon-api` will depend on the symbols for the Node-API C-based
4242
functions exported by Node.js. `node-addon-api` is a more
4343
efficient way to write code that calls Node-API. Take, for example, the
@@ -542,7 +542,7 @@ the call will succeed and `data` will be set to `NULL`.
542542

543543
## Basic Node-API data types
544544

545-
Node-API exposes the following fundamental datatypes as abstractions that are
545+
Node-API exposes the following fundamental data types as abstractions that are
546546
consumed by the various APIs. These APIs should be treated as opaque,
547547
introspectable only with other Node-API calls.
548548

Collapse file

‎doc/api/util.md‎

Copy file name to clipboardExpand all lines: doc/api/util.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ conversation in [pkgjs/parseargs][] to contribute to the design.
14701470

14711471
### `parseArgs` `tokens`
14721472

1473-
Detailed parse information is available for adding custom behaviours by
1473+
Detailed parse information is available for adding custom behaviors by
14741474
specifying `tokens: true` in the configuration.
14751475
The returned tokens have properties describing:
14761476

Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ changes:
10031003
* `stackSizeMb` {number} The default maximum stack size for the thread.
10041004
Small values may lead to unusable Worker instances. **Default:** `4`.
10051005
* `name` {string} An optional `name` to be appended to the worker title
1006-
for debuggin/identification purposes, making the final title as
1006+
for debugging/identification purposes, making the final title as
10071007
`[worker ${id}] ${name}`. **Default:** `''`.
10081008

10091009
### Event: `'error'`
Collapse file

‎doc/contributing/adding-v8-fast-api.md‎

Copy file name to clipboardExpand all lines: doc/contributing/adding-v8-fast-api.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Node.js uses [V8](https://v8.dev/) as its JavaScript engine.
44
Embedding functions implemented in C++ incur a high overhead, so V8
55
provides an API to implement native functions which may be invoked directly
6-
from JITted code. These functions also come with additional constraints,
6+
from JIT-ed code. These functions also come with additional constraints,
77
for example, they may not trigger garbage collection.
88

99
## Limitations
Collapse file

‎doc/contributing/api-documentation.md‎

Copy file name to clipboardExpand all lines: doc/contributing/api-documentation.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ the new tooling.
251251
This method is responsible for parsing the `<--YAML snippets -->` and
252252
transforming them into HTML elements.
253253

254-
It follows a certain kind of "schema" that basically constitues in the following
255-
options:
254+
It follows a certain kind of "schema" that basically constitutes in the
255+
following options:
256256

257257
| YAML Key | Description | Example | Example Result | Available on new tooling |
258258
| ------------- | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | --------------------------- | ------------------------ |
Collapse file

‎doc/contributing/investigating-native-memory-leaks.md‎

Copy file name to clipboardExpand all lines: doc/contributing/investigating-native-memory-leaks.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ with the output being:
4747
user1@minikube1:~/valgrind/node-addon-examples/1_hello_world/napi$ valgrind node test.js
4848
==28993== Memcheck, a memory error detector
4949
==28993== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
50-
==28993== Using valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
50+
==28993== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
5151
==28993== Command: node test.js
5252
==28993==
5353
==28993== Use of uninitialised value of size 8
@@ -139,7 +139,7 @@ Running Valgrind on this code shows the following:
139139
user1@minikube1:~/valgrind/node-addon-examples/1_hello_world/napi$ valgrind node hello.js
140140
==1504== Memcheck, a memory error detector
141141
==1504== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
142-
==1504== Using V#algrind-3.13.0 and LibVEX; rerun with -h for copyright info
142+
==1504== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
143143
==1504== Command: node hello.js
144144
==1504==
145145
==1504== Use of uninitialised value of size 8
Collapse file

‎doc/contributing/maintaining-cjs-module-lexer.md‎

Copy file name to clipboardExpand all lines: doc/contributing/maintaining-cjs-module-lexer.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ inclusion in the `deps_files` entry in
2222
The two different versions of lexer.js are maintained in the
2323
[nodejs/cjs-module-lexer][] project.
2424

25-
In order to update the Node.js dependencies to use to a newer verion
25+
In order to update the Node.js dependencies to use to a newer version
2626
of cjs-module-lexer, complete the following steps:
2727

2828
* Clone [nodejs/cjs-module-lexer][]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.