From aa372a1707da82c0e763445e28250079f621ee85 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Sun, 12 May 2024 18:16:55 +0200 Subject: [PATCH] Fix typo in source code comment --- .../@node-red/editor-client/src/types/node-red/util.d.ts | 2 +- packages/node_modules/@node-red/util/lib/util.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/types/node-red/util.d.ts b/packages/node_modules/@node-red/editor-client/src/types/node-red/util.d.ts index 255243d47..5d475cf57 100644 --- a/packages/node_modules/@node-red/editor-client/src/types/node-red/util.d.ts +++ b/packages/node_modules/@node-red/editor-client/src/types/node-red/util.d.ts @@ -76,7 +76,7 @@ declare namespace RED { */ function compareObjects(obj1: any, obj2: any): boolean; /** - * Generates a psuedo-unique-random id. + * Generates a pseudo-unique-random id. * @return {string} a random-ish id * @memberof @node-red/util_util */ diff --git a/packages/node_modules/@node-red/util/lib/util.js b/packages/node_modules/@node-red/util/lib/util.js index 4896789b6..06ed366a0 100644 --- a/packages/node_modules/@node-red/util/lib/util.js +++ b/packages/node_modules/@node-red/util/lib/util.js @@ -27,7 +27,7 @@ const util = require("util"); const { hasOwnProperty } = Object.prototype; const log = require("./log") /** - * Safely returns the object construtor name. + * Safely returns the object constructor name. * @return {String} the name of the object constructor if it exists, empty string otherwise. */ function constructorName(obj) { @@ -37,7 +37,7 @@ function constructorName(obj) { } /** - * Generates a psuedo-unique-random id. + * Generates a pseudo-unique-random id. * @return {String} a random-ish id * @memberof @node-red/util_util */