diff options
Diffstat (limited to 'ext/node/polyfills')
-rw-r--r-- | ext/node/polyfills/internal/crypto/keys.ts | 2 | ||||
-rw-r--r-- | ext/node/polyfills/internal_binding/handle_wrap.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/polyfills/internal/crypto/keys.ts b/ext/node/polyfills/internal/crypto/keys.ts index ca22e12c6..26cd86b44 100644 --- a/ext/node/polyfills/internal/crypto/keys.ts +++ b/ext/node/polyfills/internal/crypto/keys.ts @@ -234,7 +234,7 @@ export function prepareAsymmetricKey(key) { return { format: "pem", data: getArrayBufferOrView(key, "key") }; } else if (isKeyObject(key)) { return { - // Assumes that assymetric keys are stored as PEM. + // Assumes that asymmetric keys are stored as PEM. format: "pem", data: getKeyMaterial(key), }; diff --git a/ext/node/polyfills/internal_binding/handle_wrap.ts b/ext/node/polyfills/internal_binding/handle_wrap.ts index ef8457338..1b3036a7e 100644 --- a/ext/node/polyfills/internal_binding/handle_wrap.ts +++ b/ext/node/polyfills/internal_binding/handle_wrap.ts @@ -39,7 +39,7 @@ export class HandleWrap extends AsyncWrap { close(cb: () => void = () => {}) { this._onClose(); - // We need to delay 'cb' at least 2 ticks to avoid "close" event happenning before "error" event in net.Socket + // We need to delay 'cb' at least 2 ticks to avoid "close" event happening before "error" event in net.Socket // See https://github.com/denoland/deno/pull/24656 for more information nextTick(nextTick, cb); } |