| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f2a22ef commit 1600869
8 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -998,7 +998,7 @@ an `emitReceived()` API for actin as if data has been received on it. | |||
| 998 | 998 | `makeUDPPair` returns an object `{ clientSide, serverSide }` where each side | |
| 999 | 999 | is an `FakeUDPWrap` connected to the other side. | |
| 1000 | 1000 | ||
| 1001 | - There is no difference between cient or server side beyond their names. | ||
| 1001 | + There is no difference between client or server side beyond their names. | ||
| 1002 | 1002 | ||
| 1003 | 1003 | ## WPT Module | |
| 1004 | 1004 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ const addresses = { | |||
| 32 | 32 | NAPTR_HOST: 'sip2sip.info', | |
| 33 | 33 | // A host with SOA records registered | |
| 34 | 34 | SOA_HOST: 'nodejs.org', | |
| 35 | - // A host with CAA record registred | ||
| 35 | + // A host with CAA record registered | ||
| 36 | 36 | CAA_HOST: 'google.com', | |
| 37 | 37 | // A host with CNAME records registered | |
| 38 | 38 | CNAME_HOST: 'blog.nodejs.org', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,6 +37,6 @@ await import(`${moduleName}`).finally(() => { | |||
| 37 | 37 | const { importedESM: importedESMAfter, | |
| 38 | 38 | importedCJS: importedCJSAfter } = global.getModuleTypeStats(); | |
| 39 | 39 | ||
| 40 | - // Dynamic import above should incriment ESM counter but not CJS counter | ||
| 40 | + // Dynamic import above should increment ESM counter but not CJS counter | ||
| 41 | 41 | assert.strictEqual(importedESMBefore + 1, importedESMAfter); | |
| 42 | 42 | assert.strictEqual(importedCJSBefore, importedCJSAfter); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher); | |||
| 117 | 117 | ||
| 118 | 118 | { | |
| 119 | 119 | // Test sync key generation with key objects with a non-standard | |
| 120 | - // publicExpononent | ||
| 120 | + // publicExponent | ||
| 121 | 121 | const { publicKey, privateKey } = generateKeyPairSync('rsa', { | |
| 122 | 122 | publicExponent: 3, | |
| 123 | 123 | modulusLength: 512 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | const common = require('../common'); | |
| 4 | 4 | const domain = require('domain'); | |
| 5 | 5 | ||
| 6 | - // Make sure that when an erorr is thrown from a nested domain, its error | ||
| 6 | + // Make sure that when an error is thrown from a nested domain, its error | ||
| 7 | 7 | // handler runs outside of that domain, but within the context of any parent | |
| 8 | 8 | // domain. | |
| 9 | 9 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -91,7 +91,7 @@ server.listen(0, common.mustCall((res) => { | |||
| 91 | 91 | ||
| 92 | 92 | anotherSocket.on('ready', common.mustCall(() => { | |
| 93 | 93 | // Do another 2 requests with another socket | |
| 94 | - // enusre that this will not affect the first socket | ||
| 94 | + // ensure that this will not affect the first socket | ||
| 95 | 95 | initialRequests(anotherSocket, 2, common.mustCall(() => { | |
| 96 | 96 | let buffer = ''; | |
| 97 | 97 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ server.on('stream', common.mustCall((stream) => { | |||
| 34 | 34 | name: 'Error' | |
| 35 | 35 | } | |
| 36 | 36 | ); | |
| 37 | - // When session is detroyed all streams are destroyed and no further | ||
| 37 | + // When session is destroyed all streams are destroyed and no further | ||
| 38 | 38 | // error should be emitted. | |
| 39 | 39 | stream.on('error', common.mustNotCall()); | |
| 40 | 40 | assert.strictEqual(stream.write('data', common.expectsError({ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ process.on('uncaughtException', common.mustCall((err) => { | |||
| 8 | 8 | assert.strictEqual(err.message, 'no way'); | |
| 9 | 9 | }, 2)); | |
| 10 | 10 | ||
| 11 | - // Ensure that listeners is removed if last stream is readble | ||
| 11 | + // Ensure that listeners is removed if last stream is readable | ||
| 12 | 12 | // And other stream's listeners unchanged | |
| 13 | 13 | const a = new PassThrough(); | |
| 14 | 14 | a.end('foobar'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments