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 1dabdbf

Browse filesBrowse files
sadikkuzuruyadorno
authored andcommitted
src,test: fix typos
* src: fix typo in `src/node_messaging.h` (`postMesssage` -> `postMessage`). * test/es-module: fix typo in `test-cjs-exports.js` (`eror` -> `error`). PR-URL: #44110 Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e0efd9a commit 1dabdbf
Copy full SHA for 1dabdbf

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

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

‎src/node_messaging.h‎

Copy file name to clipboardExpand all lines: src/node_messaging.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class MessagePort : public HandleWrap {
316316
};
317317

318318
// Provide a base class from which JS classes that should be transferable or
319-
// cloneable by postMesssage() can inherit.
319+
// cloneable by postMessage() can inherit.
320320
// See e.g. FileHandle in internal/fs/promises.js for an example.
321321
class JSTransferable : public BaseObject {
322322
public:
Collapse file

‎test/es-module/test-esm-cjs-exports.js‎

Copy file name to clipboardExpand all lines: test/es-module/test-esm-cjs-exports.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('ESM: importing CJS', { concurrency: true }, () => {
1717
assert.strictEqual(stdout, 'ok\n');
1818
});
1919

20-
it('should eror on invalid CJS exports', async () => {
20+
it('should error on invalid CJS exports', async () => {
2121
const invalidEntry = fixtures.path('/es-modules/cjs-exports-invalid.mjs');
2222
const { code, signal, stderr } = await spawnPromisified(execPath, [invalidEntry]);
2323

0 commit comments

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