GeezerVison is showing github.com — src,lib,test,doc: correct misspellings · tmarshall/node@ecf6a46
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file 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 number | Diff line number | Diff line change |
|---|
@@ -426,7 +426,7 @@ added: v8.0.0 | 426 | 426 | --> | 427 | 427 |
| 428 | 428 | `options...` are interpreted as if they had been specified on the command line | 429 | | -before the actual command line (so they can be overriden). Node will exit with | | 429 | +before the actual command line (so they can be overridden). Node will exit with | 430 | 430 | an error if an option that is not allowed in the environment is used, such as | 431 | 431 | `-p` or a script file. | 432 | 432 |
| |
Collapse file 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 number | Diff line number | Diff line change |
|---|
@@ -239,7 +239,7 @@ typedef struct napi_extended_error_info { | 239 | 239 | napi_status error_code; | 240 | 240 | }; | 241 | 241 | ``` | 242 | | -- `error_message`: Textual representation of the error that occured. | | 242 | +- `error_message`: Textual representation of the error that occurred. | 243 | 243 | - `engine_reserved`: Opaque handle reserved for engine use only. | 244 | 244 | - `engine_error_code`: VM specific error code. | 245 | 245 | - `error_code`: n-api status code for the last error. | @@ -267,7 +267,7 @@ information about the error. | 267 | 267 | Returns `napi_ok` if the API succeeded. | 268 | 268 |
| 269 | 269 | This API retrieves a `napi_extended_error_info` structure with information | 270 | | -about the last error that occured. | | 270 | +about the last error that occurred. | 271 | 271 |
| 272 | 272 | *Note*: Do not rely on the content or format of any of the extended | 273 | 273 | information as it is not subject to SemVer and may change at any time. | |
Collapse file Copy file name to clipboardExpand all lines: doc/node.1 +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -275,7 +275,7 @@ When set to \fI1\fR, process warnings are silenced. | 275 | 275 | .TP | 276 | 276 | .BR NODE_OPTIONS =\fIoptions...\fR | 277 | 277 | \fBoptions...\fR are interpreted as if they had been specified on the command | 278 | | -line before the actual command line (so they can be overriden). Node will exit | | 278 | +line before the actual command line (so they can be overridden). Node will exit | 279 | 279 | with an error if an option that is not allowed in the environment is used, such | 280 | 280 | as \fB-p\fR or a script file. | 281 | 281 |
| |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/process/next_tick.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 |
| 3 | 3 | // This value is used to prevent the nextTickQueue from becoming too | 4 | 4 | // large and cause the process to run out of memory. When this value | 5 | | -// is reached the nextTimeQueue array will be shortend (see tickDone | | 5 | +// is reached the nextTimeQueue array will be shortened (see tickDone | 6 | 6 | // for details). | 7 | 7 | const kMaxCallbacksPerLoop = 1e4; | 8 | 8 |
| |
Collapse file Copy file name to clipboardExpand all lines: lib/net.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -109,9 +109,9 @@ function connect() { | 109 | 109 |
| 110 | 110 |
| 111 | 111 | // Returns an array [options, cb], where options is an object, | 112 | | -// cb is either a funciton or null. | | 112 | +// cb is either a function or null. | 113 | 113 | // Used to normalize arguments of Socket.prototype.connect() and | 114 | | -// Server.prototype.listen(). Possible combinations of paramters: | | 114 | +// Server.prototype.listen(). Possible combinations of parameters: | 115 | 115 | // (options[...][, cb]) | 116 | 116 | // (path[...][, cb]) | 117 | 117 | // ([port][, host][...][, cb]) | |
Collapse file Copy file name to clipboardExpand all lines: src/node_api.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -2546,7 +2546,7 @@ napi_status napi_create_arraybuffer(napi_env env, | 2546 | 2546 | v8::ArrayBuffer::New(isolate, byte_length); | 2547 | 2547 |
| 2548 | 2548 | // Optionally return a pointer to the buffer's data, to avoid another call to | 2549 | | - // retreive it. | | 2549 | + // retrieve it. | 2550 | 2550 | if (data != nullptr) { | 2551 | 2551 | *data = buffer->GetContents().Data(); | 2552 | 2552 | } | |
Collapse file Copy file name to clipboardExpand all lines: src/node_debug_options.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -78,7 +78,7 @@ bool DebugOptions::ParseOption(const char* argv0, const std::string& option) { | 78 | 78 | argument.clear(); | 79 | 79 | } | 80 | 80 |
| 81 | | - // Note that --debug-port and --debug-brk in conjuction with --inspect | | 81 | + // Note that --debug-port and --debug-brk in conjunction with --inspect | 82 | 82 | // work but are undocumented. | 83 | 83 | // --debug is no longer valid. | 84 | 84 | // Ref: https://github.com/nodejs/node/issues/12630 | |
Collapse file Copy file name to clipboardExpand all lines: src/node_i18n.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -515,7 +515,7 @@ int32_t ToASCII(MaybeStackBuffer<char>* buf, | 515 | 515 |
| 516 | 516 | // In UTS #46 which specifies ToASCII, certain error conditions are | 517 | 517 | // configurable through options, and the WHATWG URL Standard promptly elects | 518 | | - // to disable some of them to accomodate for real-world use cases. | | 518 | + // to disable some of them to accommodate for real-world use cases. | 519 | 519 | // Unfortunately, ICU4C's IDNA module does not support disabling some of | 520 | 520 | // these options through `options` above, and thus continues throwing | 521 | 521 | // unnecessary errors. To counter this situation, we just filter out the | |
Collapse file Copy file name to clipboardExpand all lines: src/tracing/trace_event.h +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -396,21 +396,21 @@ static inline uint64_t AddTraceEventImpl( | 396 | 396 | const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args, | 397 | 397 | const char** arg_names, const uint8_t* arg_types, | 398 | 398 | const uint64_t* arg_values, unsigned int flags) { | 399 | | - std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertables[2]; | | 399 | + std::unique_ptr<v8::ConvertableToTraceFormat> arg_convertibles[2]; | 400 | 400 | if (num_args > 0 && arg_types[0] == TRACE_VALUE_TYPE_CONVERTABLE) { | 401 | | - arg_convertables[0].reset(reinterpret_cast<v8::ConvertableToTraceFormat*>( | | 401 | + arg_convertibles[0].reset(reinterpret_cast<v8::ConvertableToTraceFormat*>( | 402 | 402 | static_cast<intptr_t>(arg_values[0]))); | 403 | 403 | } | 404 | 404 | if (num_args > 1 && arg_types[1] == TRACE_VALUE_TYPE_CONVERTABLE) { | 405 | | - arg_convertables[1].reset(reinterpret_cast<v8::ConvertableToTraceFormat*>( | | 405 | + arg_convertibles[1].reset(reinterpret_cast<v8::ConvertableToTraceFormat*>( | 406 | 406 | static_cast<intptr_t>(arg_values[1]))); | 407 | 407 | } | 408 | 408 | // DCHECK(num_args <= 2); | 409 | 409 | v8::Platform* platform = | 410 | 410 | node::tracing::TraceEventHelper::GetCurrentPlatform(); | 411 | 411 | return platform->AddTraceEvent(phase, category_group_enabled, name, scope, id, | 412 | 412 | bind_id, num_args, arg_names, arg_types, | 413 | | - arg_values, arg_convertables, flags); | | 413 | + arg_values, arg_convertibles, flags); | 414 | 414 | } | 415 | 415 |
| 416 | 416 | // Define SetTraceValue for each allowed type. It stores the type and | |
Collapse file Copy file name to clipboardExpand all lines: test/README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ This directory contains code and data used to test the Node.js implementation. | 5 | 5 | For a detailed guide on how to write tests in this | 6 | 6 | directory, see [the guide on writing tests](../doc/guides/writing-tests.md). | 7 | 7 |
| 8 | | -On how to run tests in this direcotry, see | | 8 | +On how to run tests in this directory, see | 9 | 9 | [the contributing guide](../CONTRIBUTING.md#step-5-test). | 10 | 10 |
| 11 | 11 | ## Test Directories | |
|