From fb10f6462dab558ffe914cccd1f3538b4b89e92c Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Sat, 9 Nov 2024 18:29:49 +0530 Subject: [PATCH 01/12] fix(user-profile): enable saving empty bio to clear user profile field --- apps/meteor/server/methods/saveUserProfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/server/methods/saveUserProfile.ts b/apps/meteor/server/methods/saveUserProfile.ts index beb72d9a2f631..a8184e0611ffd 100644 --- a/apps/meteor/server/methods/saveUserProfile.ts +++ b/apps/meteor/server/methods/saveUserProfile.ts @@ -79,7 +79,7 @@ async function saveUserProfile( await setUserStatusMethod(this.userId, settings.statusType as UserStatus, undefined); } - if (user && settings.bio) { + if (user && settings.bio !== undefined) { if (typeof settings.bio !== 'string') { throw new Meteor.Error('error-invalid-field', 'bio', { method: 'saveUserProfile', From 86cb4dd8a5f33e48c71f959eaa37e9f5c4b24f3f Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Sat, 9 Nov 2024 22:55:56 +0530 Subject: [PATCH 02/12] Add changeset for user profile bio update --- .changeset/slimy-lamps-learn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/slimy-lamps-learn.md diff --git a/.changeset/slimy-lamps-learn.md b/.changeset/slimy-lamps-learn.md new file mode 100644 index 0000000000000..d04906d6c7d4b --- /dev/null +++ b/.changeset/slimy-lamps-learn.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/meteor': major +--- + +Enables saving of an empty bio field in user profiles by adjusting validation logic, allowing users to clear their bio information if desired. From bf964f372f1764ea526d0db30d3cde27a4c1ea06 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Mon, 11 Nov 2024 09:52:23 +0530 Subject: [PATCH 03/12] feat(users): add test for setting empty bio field and patch bio update handling - Added a test case to ensure the bio field is correctly set to an empty string. - Updated user identity handling to support clearing the bio field. --- .changeset/slimy-lamps-learn.md | 2 +- .../server/functions/getAvatarSuggestionForUser.ts | 2 +- .../tests/unit/server/users/saveUserIdentity.spec.ts | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.changeset/slimy-lamps-learn.md b/.changeset/slimy-lamps-learn.md index d04906d6c7d4b..a367354eb749f 100644 --- a/.changeset/slimy-lamps-learn.md +++ b/.changeset/slimy-lamps-learn.md @@ -1,5 +1,5 @@ --- -'@rocket.chat/meteor': major +'@rocket.chat/meteor': patch --- Enables saving of an empty bio field in user profiles by adjusting validation logic, allowing users to clear their bio information if desired. diff --git a/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts b/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts index 2560d2f08b7de..4078611e53785 100644 --- a/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts +++ b/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts @@ -53,7 +53,7 @@ const avatarProviders = { }, twitter(user: IUser) { - if (user.services?.twitter?.profile_image_url_https && settings.get('Accounts_OAuth_Twitter')) { + if (user.services?.twitter?._image_url_https && settings.get('Accounts_OAuth_Twitter')) { return { service: 'twitter', url: user.services.twitter.profile_image_url_https.replace(/_normal|_bigger/, ''), diff --git a/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts b/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts index b91165fb3ca90..56583f3daab02 100644 --- a/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts +++ b/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts @@ -131,4 +131,15 @@ describe('Users - saveUserIdentity', () => { expect(stubs.updateUserReferences.called).to.be.true; expect(result).to.be.true; }); + + it('should update bio to an empty string', async () => { + stubs.findOneUserById.returns({ bio: 'Some bio text', username: 'oldUsername' }); + stubs.setRealName.returns(true); + stubs.setUsername.returns(true); + const result = await saveUserIdentity({ _id: 'valid_id', bio: '' }); + expect(stubs.setRealName.called).to.be.false; + expect(stubs.setUsername.called).to.be.false; + expect(stubs.updateUsernameOfEditByUserId.called).to.be.false; + expect(result).to.be.true; + }); }); From 0881d36f7e1af3faa06e519267a8b4e9fa466eea Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Mon, 11 Nov 2024 11:44:17 +0530 Subject: [PATCH 04/12] chore: removed unrelated changes from previous commit --- .../app/lib/server/functions/getAvatarSuggestionForUser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts b/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts index 4078611e53785..2560d2f08b7de 100644 --- a/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts +++ b/apps/meteor/app/lib/server/functions/getAvatarSuggestionForUser.ts @@ -53,7 +53,7 @@ const avatarProviders = { }, twitter(user: IUser) { - if (user.services?.twitter?._image_url_https && settings.get('Accounts_OAuth_Twitter')) { + if (user.services?.twitter?.profile_image_url_https && settings.get('Accounts_OAuth_Twitter')) { return { service: 'twitter', url: user.services.twitter.profile_image_url_https.replace(/_normal|_bigger/, ''), From f3f9c69fd2fe6a57e13f96850797572b9a2c2112 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Tue, 19 Nov 2024 19:07:14 +0530 Subject: [PATCH 05/12] test: verify setBio is called when setting an empty bio - Added a check in the saveUserIdentity test suite to confirm that the setBio function is invoked when a user sets their bio to an empty string. - Introduced a stubbed function for setBio to monitor its invocation during the test. - Ensures proper behavior and validation of bio updates, including empty values. --- apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts b/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts index 56583f3daab02..4412b90493a52 100644 --- a/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts +++ b/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts @@ -12,6 +12,7 @@ const stubs = { updateUserReferences: sinon.stub(), setUsername: sinon.stub(), setRealName: sinon.stub(), + setBio: sinon.stub(), validateName: sinon.stub(), FileUpload: sinon.stub(), }; @@ -132,14 +133,16 @@ describe('Users - saveUserIdentity', () => { expect(result).to.be.true; }); - it('should update bio to an empty string', async () => { + it('should update bio to an empty string and call setBio', async () => { stubs.findOneUserById.returns({ bio: 'Some bio text', username: 'oldUsername' }); stubs.setRealName.returns(true); stubs.setUsername.returns(true); + stubs.setBio = sinon.stub(); const result = await saveUserIdentity({ _id: 'valid_id', bio: '' }); expect(stubs.setRealName.called).to.be.false; expect(stubs.setUsername.called).to.be.false; expect(stubs.updateUsernameOfEditByUserId.called).to.be.false; + expect(stubs.setBio.calledWith('valid_id', '')).to.be.true; expect(result).to.be.true; }); }); From aa0e7011d543ce82d506a08ee6ee91114fe29434 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Wed, 20 Nov 2024 18:16:52 +0530 Subject: [PATCH 06/12] feat(api-tests): add tests for setting empty bio field in user profile - Added a test to validate that the saveUserProfile API correctly handles setting the bio field to an empty string. - Included validation to ensure bio updates persist correctly when cleared. - Verified compliance with bio length constraints and ensured no errors occur for empty input. --- apps/meteor/tests/end-to-end/api/users.ts | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/apps/meteor/tests/end-to-end/api/users.ts b/apps/meteor/tests/end-to-end/api/users.ts index 87e4bd6733234..87b61cafb984a 100644 --- a/apps/meteor/tests/end-to-end/api/users.ts +++ b/apps/meteor/tests/end-to-end/api/users.ts @@ -4537,4 +4537,42 @@ describe('[Users]', () => { }); }); }); + + it('should allow clearing the bio field (empty string)', (done) => { + void request + .post(api('users.update')) + .set(credentials) + .send({ + userId: targetUser._id, + data: { + bio: '', + }, + }) + .expect('Content-Type', 'application/json') + .expect(200) + .expect((res) => { + expect(res.body).to.have.property('success', true); + expect(res.body).to.not.have.nested.property('user.bio'); + }) + .end(done); + }); + + it('should reject invalid bio values (e.g., null)', (done) => { + void request + .post(api('users.update')) + .set(credentials) + .send({ + userId: targetUser._id, + data: { + bio: null, + }, + }) + .expect('Content-Type', 'application/json') + .expect(400) + .expect((res) => { + expect(res.body).to.have.property('success', false); + expect(res.body.error).to.include('invalid bio'); + }) + .end(done); + }); }); From cec37614a8bbfb6dd9d6952954a183daa18efd01 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Sat, 23 Nov 2024 21:57:20 +0530 Subject: [PATCH 07/12] Add test for empty bio field and modify mocha configuration (incomplete) - Added a new test file to check the behavior when updating a user's bio to an empty field. - Altered .mocharc.js configuration to include the new test file for execution. - The update is still a work in progress and may need further adjustments. --- apps/meteor/.mocharc.js | 1 + .../methods/users/saveUserProfile.spec.ts | 39 +++++++++++++++++++ .../server/users/saveUserIdentity.spec.ts | 14 ------- 3 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts diff --git a/apps/meteor/.mocharc.js b/apps/meteor/.mocharc.js index f11b315b8cef8..131bda9b66d5f 100644 --- a/apps/meteor/.mocharc.js +++ b/apps/meteor/.mocharc.js @@ -37,5 +37,6 @@ module.exports = { 'tests/unit/server/**/*.tests.ts', 'tests/unit/server/**/*.spec.ts', 'app/api/**/*.spec.ts', + 'apps/meteor/tests/**/*.spec.ts', ], }; diff --git a/apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts b/apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts new file mode 100644 index 0000000000000..58c6b3a774bfa --- /dev/null +++ b/apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts @@ -0,0 +1,39 @@ +import { expect } from 'chai'; +import proxyquire from 'proxyquire'; +import sinon from 'sinon'; + +const stubs = { + Users: { + findOneById: sinon.stub(), + setBio: sinon.stub(), + }, + rcSettings: { + get: sinon.stub(), + }, +}; +const AccountsMock = { setPasswordAsync: sinon.stub() }; +const checkMock = sinon.stub(); +const MatchMock = { Maybe: sinon.stub() }; +const MeteorMock = { call: sinon.stub(), Error: sinon.stub() }; + +const { saveUserProfile } = proxyquire.noCallThru().load('../../../../server/methods/saveUserProfile', { + 'meteor/accounts-base': { 'Accounts': AccountsMock, '@global': true }, + 'meteor/check': { 'check': checkMock, 'Match': MatchMock, '@global': true }, + '@rocket.chat/models': { Users: stubs.Users }, + '../../../../app/settings/server': { settings: stubs.rcSettings }, + 'meteor/meteor': { 'Meteor': MeteorMock, '@global': true }, +}); + +describe('Users - saveUserProfile (Bio Update)', () => { + beforeEach(() => { + sinon.restore(); + stubs.rcSettings.get.withArgs('Accounts_AllowUserProfileChange').returns(true); + }); + + it('should update the bio to an empty string and call setBio', async () => { + stubs.Users.findOneById.resolves({ _id: 'userId', bio: 'Old bio text' }); + stubs.Users.setBio.resolves(true); + await saveUserProfile.call({ userId: 'userId' }, { bio: '' }, {}); + expect(stubs.Users.setBio.calledWith('userId', '')).to.be.true; + }); +}); diff --git a/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts b/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts index 4412b90493a52..b91165fb3ca90 100644 --- a/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts +++ b/apps/meteor/tests/unit/server/users/saveUserIdentity.spec.ts @@ -12,7 +12,6 @@ const stubs = { updateUserReferences: sinon.stub(), setUsername: sinon.stub(), setRealName: sinon.stub(), - setBio: sinon.stub(), validateName: sinon.stub(), FileUpload: sinon.stub(), }; @@ -132,17 +131,4 @@ describe('Users - saveUserIdentity', () => { expect(stubs.updateUserReferences.called).to.be.true; expect(result).to.be.true; }); - - it('should update bio to an empty string and call setBio', async () => { - stubs.findOneUserById.returns({ bio: 'Some bio text', username: 'oldUsername' }); - stubs.setRealName.returns(true); - stubs.setUsername.returns(true); - stubs.setBio = sinon.stub(); - const result = await saveUserIdentity({ _id: 'valid_id', bio: '' }); - expect(stubs.setRealName.called).to.be.false; - expect(stubs.setUsername.called).to.be.false; - expect(stubs.updateUsernameOfEditByUserId.called).to.be.false; - expect(stubs.setBio.calledWith('valid_id', '')).to.be.true; - expect(result).to.be.true; - }); }); From c5d0711363b7dbf1a8f2125e66f3aa27810d2368 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Tue, 26 Nov 2024 22:40:09 +0530 Subject: [PATCH 08/12] chore: remove saveUserProfile.spec.ts and its entry from .mocharc.js Based on feedback, the saveUserProfile.spec.ts test file is not required. The path added to .mocharc.js for running this test has also been removed. These changes align with the confirmation that unit tests for saveUserProfile are unnecessary, as the current API tests are sufficient. --- apps/meteor/.mocharc.js | 1 - .../methods/users/saveUserProfile.spec.ts | 39 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts diff --git a/apps/meteor/.mocharc.js b/apps/meteor/.mocharc.js index 131bda9b66d5f..f11b315b8cef8 100644 --- a/apps/meteor/.mocharc.js +++ b/apps/meteor/.mocharc.js @@ -37,6 +37,5 @@ module.exports = { 'tests/unit/server/**/*.tests.ts', 'tests/unit/server/**/*.spec.ts', 'app/api/**/*.spec.ts', - 'apps/meteor/tests/**/*.spec.ts', ], }; diff --git a/apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts b/apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts deleted file mode 100644 index 58c6b3a774bfa..0000000000000 --- a/apps/meteor/tests/server/methods/users/saveUserProfile.spec.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { expect } from 'chai'; -import proxyquire from 'proxyquire'; -import sinon from 'sinon'; - -const stubs = { - Users: { - findOneById: sinon.stub(), - setBio: sinon.stub(), - }, - rcSettings: { - get: sinon.stub(), - }, -}; -const AccountsMock = { setPasswordAsync: sinon.stub() }; -const checkMock = sinon.stub(); -const MatchMock = { Maybe: sinon.stub() }; -const MeteorMock = { call: sinon.stub(), Error: sinon.stub() }; - -const { saveUserProfile } = proxyquire.noCallThru().load('../../../../server/methods/saveUserProfile', { - 'meteor/accounts-base': { 'Accounts': AccountsMock, '@global': true }, - 'meteor/check': { 'check': checkMock, 'Match': MatchMock, '@global': true }, - '@rocket.chat/models': { Users: stubs.Users }, - '../../../../app/settings/server': { settings: stubs.rcSettings }, - 'meteor/meteor': { 'Meteor': MeteorMock, '@global': true }, -}); - -describe('Users - saveUserProfile (Bio Update)', () => { - beforeEach(() => { - sinon.restore(); - stubs.rcSettings.get.withArgs('Accounts_AllowUserProfileChange').returns(true); - }); - - it('should update the bio to an empty string and call setBio', async () => { - stubs.Users.findOneById.resolves({ _id: 'userId', bio: 'Old bio text' }); - stubs.Users.setBio.resolves(true); - await saveUserProfile.call({ userId: 'userId' }, { bio: '' }, {}); - expect(stubs.Users.setBio.calledWith('userId', '')).to.be.true; - }); -}); From b1d17d284e79a52e7b22bb250ad71494676330bd Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Thu, 9 Jan 2025 14:38:13 +0530 Subject: [PATCH 09/12] feat: added check for invalid bio values --- apps/meteor/server/methods/saveUserProfile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/server/methods/saveUserProfile.ts b/apps/meteor/server/methods/saveUserProfile.ts index a8184e0611ffd..b56c71f382945 100644 --- a/apps/meteor/server/methods/saveUserProfile.ts +++ b/apps/meteor/server/methods/saveUserProfile.ts @@ -79,7 +79,7 @@ async function saveUserProfile( await setUserStatusMethod(this.userId, settings.statusType as UserStatus, undefined); } - if (user && settings.bio !== undefined) { + if (user && settings.bio !== undefined && settings.bio !== null) { if (typeof settings.bio !== 'string') { throw new Meteor.Error('error-invalid-field', 'bio', { method: 'saveUserProfile', From f6ccc36c78b8c546f3e922eef97303fa46fdd132 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Fri, 10 Jan 2025 22:55:58 +0530 Subject: [PATCH 10/12] fix: adjust error message and operator to address failing tests --- apps/meteor/server/methods/saveUserProfile.ts | 2 +- apps/meteor/tests/end-to-end/api/users.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/meteor/server/methods/saveUserProfile.ts b/apps/meteor/server/methods/saveUserProfile.ts index b56c71f382945..6bb7920b786c6 100644 --- a/apps/meteor/server/methods/saveUserProfile.ts +++ b/apps/meteor/server/methods/saveUserProfile.ts @@ -79,7 +79,7 @@ async function saveUserProfile( await setUserStatusMethod(this.userId, settings.statusType as UserStatus, undefined); } - if (user && settings.bio !== undefined && settings.bio !== null) { + if (user && settings.bio != undefined) { // eslint-disable-line if (typeof settings.bio !== 'string') { throw new Meteor.Error('error-invalid-field', 'bio', { method: 'saveUserProfile', diff --git a/apps/meteor/tests/end-to-end/api/users.ts b/apps/meteor/tests/end-to-end/api/users.ts index 87b61cafb984a..b312fbab667cb 100644 --- a/apps/meteor/tests/end-to-end/api/users.ts +++ b/apps/meteor/tests/end-to-end/api/users.ts @@ -4571,7 +4571,7 @@ describe('[Users]', () => { .expect(400) .expect((res) => { expect(res.body).to.have.property('success', false); - expect(res.body.error).to.include('invalid bio'); + expect(res.body.error).to.include('error-invalid-field'); }) .end(done); }); From f562cd860611cf121c8f276f081c561796ec053e Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Sat, 11 Jan 2025 16:58:44 +0530 Subject: [PATCH 11/12] fix(tests): fix the failing api test --- apps/meteor/server/methods/saveUserProfile.ts | 2 +- apps/meteor/tests/end-to-end/api/users.ts | 3 +- yarn.lock | 326 +++++++----------- 3 files changed, 127 insertions(+), 204 deletions(-) diff --git a/apps/meteor/server/methods/saveUserProfile.ts b/apps/meteor/server/methods/saveUserProfile.ts index 6bb7920b786c6..a8184e0611ffd 100644 --- a/apps/meteor/server/methods/saveUserProfile.ts +++ b/apps/meteor/server/methods/saveUserProfile.ts @@ -79,7 +79,7 @@ async function saveUserProfile( await setUserStatusMethod(this.userId, settings.statusType as UserStatus, undefined); } - if (user && settings.bio != undefined) { // eslint-disable-line + if (user && settings.bio !== undefined) { if (typeof settings.bio !== 'string') { throw new Meteor.Error('error-invalid-field', 'bio', { method: 'saveUserProfile', diff --git a/apps/meteor/tests/end-to-end/api/users.ts b/apps/meteor/tests/end-to-end/api/users.ts index b312fbab667cb..8bc2bf53a51df 100644 --- a/apps/meteor/tests/end-to-end/api/users.ts +++ b/apps/meteor/tests/end-to-end/api/users.ts @@ -4559,10 +4559,9 @@ describe('[Users]', () => { it('should reject invalid bio values (e.g., null)', (done) => { void request - .post(api('users.update')) + .post(api('users.updateOwnBasicInfo')) .set(credentials) .send({ - userId: targetUser._id, data: { bio: null, }, diff --git a/yarn.lock b/yarn.lock index 3c86361aa2d91..44ef506e8f5b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9421,7 +9421,7 @@ __metadata: mime-db: "npm:^1.52.0" mime-type: "npm:^4.0.0" mkdirp: "npm:^1.0.4" - mocha: "npm:^9.2.2" + mocha: "npm:11.0.1" moleculer: "npm:^0.14.35" moment: "npm:^2.29.4" moment-timezone: "npm:^0.5.46" @@ -14010,13 +14010,6 @@ __metadata: languageName: node linkType: hard -"@ungap/promise-all-settled@npm:1.1.2": - version: 1.1.2 - resolution: "@ungap/promise-all-settled@npm:1.1.2" - checksum: 10/ee8fe811becd830f5e276ec63469ec66c22503eb140064580e712c9fccadfd54157c462188640ba6765d5c21f829e7120eb37afb5ead512684b9a1ab86d2db66 - languageName: node - linkType: hard - "@vector-im/matrix-bot-sdk@npm:0.7.1-element.6, @vector-im/matrix-bot-sdk@npm:^0.7.1-element.6": version: 0.7.1-element.6 resolution: "@vector-im/matrix-bot-sdk@npm:0.7.1-element.6" @@ -14785,13 +14778,6 @@ __metadata: languageName: node linkType: hard -"ansi-colors@npm:4.1.1": - version: 4.1.1 - resolution: "ansi-colors@npm:4.1.1" - checksum: 10/e862fddd0a9ca88f1e7c9312ea70674cec3af360c994762309f6323730525e92c77d2715ee5f08aa8f438b7ca18efe378af647f501fc92b15b8e4b3b52d09db4 - languageName: node - linkType: hard - "ansi-colors@npm:^4.1.1, ansi-colors@npm:^4.1.3": version: 4.1.3 resolution: "ansi-colors@npm:4.1.3" @@ -16347,7 +16333,7 @@ __metadata: languageName: node linkType: hard -"browser-stdout@npm:1.3.1": +"browser-stdout@npm:^1.3.1": version: 1.3.1 resolution: "browser-stdout@npm:1.3.1" checksum: 10/ac70a84e346bb7afc5045ec6f22f6a681b15a4057447d4cc1c48a25c6dedb302a49a46dd4ddfb5cdd9c96e0c905a8539be1b98ae7bc440512152967009ec7015 @@ -17325,7 +17311,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:3.5.3, chokidar@npm:^3.5.3": +"chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -19145,18 +19131,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:4.3.3": - version: 4.3.3 - resolution: "debug@npm:4.3.3" - dependencies: - ms: "npm:2.1.2" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 10/723a9570dcd15d146ea4992f0dca12467d1b00f534abb42473df166d36826fcae8bab045aef59ac2f407b47a23266110bc0e646df8ac82f7800c11384f82050e - languageName: node - linkType: hard - "debug@npm:4.3.6": version: 4.3.6 resolution: "debug@npm:4.3.6" @@ -19664,13 +19638,6 @@ __metadata: languageName: node linkType: hard -"diff@npm:5.0.0": - version: 5.0.0 - resolution: "diff@npm:5.0.0" - checksum: 10/4a179a75b17cbb420eb9145be913f9ddb34b47cb2ba4301e80ae745122826a468f02ca8f5e56945958de26ace594899c8381acb6659c88e7803ef078b53d690c - languageName: node - linkType: hard - "diff@npm:^3.1.0": version: 3.5.0 resolution: "diff@npm:3.5.0" @@ -19685,6 +19652,13 @@ __metadata: languageName: node linkType: hard +"diff@npm:^5.2.0": + version: 5.2.0 + resolution: "diff@npm:5.2.0" + checksum: 10/01b7b440f83a997350a988e9d2f558366c0f90f15be19f4aa7f1bb3109a4e153dfc3b9fbf78e14ea725717017407eeaa2271e3896374a0181e8f52445740846d + languageName: node + linkType: hard + "diff@npm:^7.0.0": version: 7.0.0 resolution: "diff@npm:7.0.0" @@ -20837,13 +20811,6 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:4.0.0, escape-string-regexp@npm:^4.0.0": - version: 4.0.0 - resolution: "escape-string-regexp@npm:4.0.0" - checksum: 10/98b48897d93060f2322108bf29db0feba7dd774be96cd069458d1453347b25ce8682ecc39859d4bca2203cc0ab19c237bcc71755eff49a0f8d90beadeeba5cc5 - languageName: node - linkType: hard - "escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.3, escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -20858,6 +20825,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:^4.0.0": + version: 4.0.0 + resolution: "escape-string-regexp@npm:4.0.0" + checksum: 10/98b48897d93060f2322108bf29db0feba7dd774be96cd069458d1453347b25ce8682ecc39859d4bca2203cc0ab19c237bcc71755eff49a0f8d90beadeeba5cc5 + languageName: node + linkType: hard + "escodegen@npm:^2.0.0": version: 2.1.0 resolution: "escodegen@npm:2.1.0" @@ -22271,16 +22245,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:5.0.0, find-up@npm:^5.0.0": - version: 5.0.0 - resolution: "find-up@npm:5.0.0" - dependencies: - locate-path: "npm:^6.0.0" - path-exists: "npm:^4.0.0" - checksum: 10/07955e357348f34660bde7920783204ff5a26ac2cafcaa28bace494027158a97b9f56faaf2d89a6106211a8174db650dd9f503f9c0d526b1202d5554a00b9095 - languageName: node - linkType: hard - "find-up@npm:^2.0.0": version: 2.1.0 resolution: "find-up@npm:2.1.0" @@ -22309,6 +22273,16 @@ __metadata: languageName: node linkType: hard +"find-up@npm:^5.0.0": + version: 5.0.0 + resolution: "find-up@npm:5.0.0" + dependencies: + locate-path: "npm:^6.0.0" + path-exists: "npm:^4.0.0" + checksum: 10/07955e357348f34660bde7920783204ff5a26ac2cafcaa28bace494027158a97b9f56faaf2d89a6106211a8174db650dd9f503f9c0d526b1202d5554a00b9095 + languageName: node + linkType: hard + "find-up@npm:^6.3.0": version: 6.3.0 resolution: "find-up@npm:6.3.0" @@ -23047,21 +23021,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:7.2.0": - version: 7.2.0 - resolution: "glob@npm:7.2.0" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^3.0.4" - once: "npm:^1.3.0" - path-is-absolute: "npm:^1.0.0" - checksum: 10/bc78b6ea0735b6e23d20678aba4ae6a4760e8c9527e3c4683ac25b14e70f55f9531245dcf25959b70cbc4aa3dcce1fc37ab65fd026a4cbd70aa3a44880bd396b - languageName: node - linkType: hard - -"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.10": +"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.4.5": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -23388,13 +23348,6 @@ __metadata: languageName: node linkType: hard -"growl@npm:1.10.5": - version: 1.10.5 - resolution: "growl@npm:1.10.5" - checksum: 10/1391a9add951964de566adc0aee8b0e2b2321e768c1fdccb7a8e156d6a6cd7ea72782883ba8c2c307baf524e3059519423b72e585eba5e7a5f6e83a1e2359b0d - languageName: node - linkType: hard - "gtoken@npm:^6.1.0": version: 6.1.2 resolution: "gtoken@npm:6.1.2" @@ -26505,17 +26458,6 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" - dependencies: - argparse: "npm:^2.0.1" - bin: - js-yaml: bin/js-yaml.js - checksum: 10/c138a34a3fd0d08ebaf71273ad4465569a483b8a639e0b118ff65698d257c2791d3199e3f303631f2cb98213fa7b5f5d6a4621fd0fff819421b990d30d967140 - languageName: node - linkType: hard - "js-yaml@npm:^3.13.1, js-yaml@npm:^3.2.7, js-yaml@npm:^3.6.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" @@ -26528,6 +26470,17 @@ __metadata: languageName: node linkType: hard +"js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" + dependencies: + argparse: "npm:^2.0.1" + bin: + js-yaml: bin/js-yaml.js + checksum: 10/c138a34a3fd0d08ebaf71273ad4465569a483b8a639e0b118ff65698d257c2791d3199e3f303631f2cb98213fa7b5f5d6a4621fd0fff819421b990d30d967140 + languageName: node + linkType: hard + "jsbn@npm:1.1.0, jsbn@npm:^1.1.0": version: 1.1.0 resolution: "jsbn@npm:1.1.0" @@ -27581,16 +27534,6 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:4.1.0, log-symbols@npm:^4.1.0": - version: 4.1.0 - resolution: "log-symbols@npm:4.1.0" - dependencies: - chalk: "npm:^4.1.0" - is-unicode-supported: "npm:^0.1.0" - checksum: 10/fce1497b3135a0198803f9f07464165e9eb83ed02ceb2273930a6f8a508951178d8cf4f0378e9d28300a2ed2bc49050995d2bd5f53ab716bb15ac84d58c6ef74 - languageName: node - linkType: hard - "log-symbols@npm:^2.0.0, log-symbols@npm:^2.2.0": version: 2.2.0 resolution: "log-symbols@npm:2.2.0" @@ -27600,6 +27543,16 @@ __metadata: languageName: node linkType: hard +"log-symbols@npm:^4.1.0": + version: 4.1.0 + resolution: "log-symbols@npm:4.1.0" + dependencies: + chalk: "npm:^4.1.0" + is-unicode-supported: "npm:^0.1.0" + checksum: 10/fce1497b3135a0198803f9f07464165e9eb83ed02ceb2273930a6f8a508951178d8cf4f0378e9d28300a2ed2bc49050995d2bd5f53ab716bb15ac84d58c6ef74 + languageName: node + linkType: hard + "logform@npm:^2.3.2": version: 2.4.0 resolution: "logform@npm:2.4.0" @@ -28614,15 +28567,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:4.2.1": - version: 4.2.1 - resolution: "minimatch@npm:4.2.1" - dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 10/27e49fb720116face9588c29634404edc0c6677e5448ba01b4ec6179002461cc4fabc842497a0537edc5aa87bc93e65cfb0fe6dc32b850563429a64836dd1d54 - languageName: node - linkType: hard - "minimatch@npm:^10.0.0": version: 10.0.1 resolution: "minimatch@npm:10.0.1" @@ -28641,7 +28585,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^5.0.1": +"minimatch@npm:^5.0.1, minimatch@npm:^5.1.6": version: 5.1.6 resolution: "minimatch@npm:5.1.6" dependencies: @@ -28859,38 +28803,34 @@ __metadata: languageName: node linkType: hard -"mocha@npm:^9.2.2": - version: 9.2.2 - resolution: "mocha@npm:9.2.2" - dependencies: - "@ungap/promise-all-settled": "npm:1.1.2" - ansi-colors: "npm:4.1.1" - browser-stdout: "npm:1.3.1" - chokidar: "npm:3.5.3" - debug: "npm:4.3.3" - diff: "npm:5.0.0" - escape-string-regexp: "npm:4.0.0" - find-up: "npm:5.0.0" - glob: "npm:7.2.0" - growl: "npm:1.10.5" - he: "npm:1.2.0" - js-yaml: "npm:4.1.0" - log-symbols: "npm:4.1.0" - minimatch: "npm:4.2.1" - ms: "npm:2.1.3" - nanoid: "npm:3.3.1" - serialize-javascript: "npm:6.0.0" - strip-json-comments: "npm:3.1.1" - supports-color: "npm:8.1.1" - which: "npm:2.0.2" - workerpool: "npm:6.2.0" - yargs: "npm:16.2.0" - yargs-parser: "npm:20.2.4" - yargs-unparser: "npm:2.0.0" +"mocha@npm:11.0.1": + version: 11.0.1 + resolution: "mocha@npm:11.0.1" + dependencies: + ansi-colors: "npm:^4.1.3" + browser-stdout: "npm:^1.3.1" + chokidar: "npm:^3.5.3" + debug: "npm:^4.3.5" + diff: "npm:^5.2.0" + escape-string-regexp: "npm:^4.0.0" + find-up: "npm:^5.0.0" + glob: "npm:^10.4.5" + he: "npm:^1.2.0" + js-yaml: "npm:^4.1.0" + log-symbols: "npm:^4.1.0" + minimatch: "npm:^5.1.6" + ms: "npm:^2.1.3" + serialize-javascript: "npm:^6.0.2" + strip-json-comments: "npm:^3.1.1" + supports-color: "npm:^8.1.1" + workerpool: "npm:^6.5.1" + yargs: "npm:^16.2.0" + yargs-parser: "npm:^20.2.9" + yargs-unparser: "npm:^2.0.0" bin: _mocha: bin/_mocha - mocha: bin/mocha - checksum: 10/8ee58bff8694ad4013fc0fbb5670c5ec6d8404c601df2d4ae798fad01dd03b5f9395347cf59167006b315a14813a6f839290d60dcbdee8ef4246afe43609d2dc + mocha: bin/mocha.js + checksum: 10/8c14292a90e8db4f199e70a007da082cabc2a3be803f95885ab03e32cb4dd7c3978c0b50d1f963c33eacaa981f105cf7c89c7fc4c14649dcbfd0e0f2d712c1e3 languageName: node linkType: hard @@ -29199,15 +29139,6 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:3.3.1": - version: 3.3.1 - resolution: "nanoid@npm:3.3.1" - bin: - nanoid: bin/nanoid.cjs - checksum: 10/306f2cb9e4dcfb94738b09de9dc63839a37db33626f66b24dbcc8f66d4b91784645794a7c4f250d629e4d66f5385164c6748c58ac5b7c95217e9e048590efbe4 - languageName: node - linkType: hard - "nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" @@ -34904,15 +34835,6 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:6.0.0": - version: 6.0.0 - resolution: "serialize-javascript@npm:6.0.0" - dependencies: - randombytes: "npm:^2.1.0" - checksum: 10/ed3dabfbb565c48c9eb1ca8fe58f0d256902ab70a8a605be634ddd68388d5f728bb0bd1268e94fab628748ba8ad8392f01b05f3cbe1e4878b5c58c669fd3d1b4 - languageName: node - linkType: hard - "serialize-javascript@npm:^5.0.1": version: 5.0.1 resolution: "serialize-javascript@npm:5.0.1" @@ -34931,6 +34853,15 @@ __metadata: languageName: node linkType: hard +"serialize-javascript@npm:^6.0.2": + version: 6.0.2 + resolution: "serialize-javascript@npm:6.0.2" + dependencies: + randombytes: "npm:^2.1.0" + checksum: 10/445a420a6fa2eaee4b70cbd884d538e259ab278200a2ededd73253ada17d5d48e91fb1f4cd224a236ab62ea7ba0a70c6af29fc93b4f3d3078bf7da1c031fde58 + languageName: node + linkType: hard + "serve-index@npm:^1.9.1": version: 1.9.1 resolution: "serve-index@npm:1.9.1" @@ -36428,7 +36359,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.1": +"strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 10/492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443 @@ -36753,15 +36684,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:8.1.1, supports-color@npm:^8.0.0": - version: 8.1.1 - resolution: "supports-color@npm:8.1.1" - dependencies: - has-flag: "npm:^4.0.0" - checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282 - languageName: node - linkType: hard - "supports-color@npm:^2.0.0": version: 2.0.0 resolution: "supports-color@npm:2.0.0" @@ -36796,6 +36718,15 @@ __metadata: languageName: node linkType: hard +"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": + version: 8.1.1 + resolution: "supports-color@npm:8.1.1" + dependencies: + has-flag: "npm:^4.0.0" + checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282 + languageName: node + linkType: hard + "supports-hyperlinks@npm:^2.0.0": version: 2.3.0 resolution: "supports-hyperlinks@npm:2.3.0" @@ -39698,25 +39629,25 @@ __metadata: languageName: node linkType: hard -"which@npm:2.0.2, which@npm:^2.0.1, which@npm:^2.0.2": - version: 2.0.2 - resolution: "which@npm:2.0.2" +"which@npm:^1.2.0, which@npm:^1.2.9, which@npm:^1.3.0, which@npm:^1.3.1": + version: 1.3.1 + resolution: "which@npm:1.3.1" dependencies: isexe: "npm:^2.0.0" bin: - node-which: ./bin/node-which - checksum: 10/4782f8a1d6b8fc12c65e968fea49f59752bf6302dc43036c3bf87da718a80710f61a062516e9764c70008b487929a73546125570acea95c5b5dcc8ac3052c70f + which: ./bin/which + checksum: 10/549dcf1752f3ee7fbb64f5af2eead4b9a2f482108b7de3e85c781d6c26d8cf6a52d37cfbe0642a155fa6470483fe892661a859c03157f24c669cf115f3bbab5e languageName: node linkType: hard -"which@npm:^1.2.0, which@npm:^1.2.9, which@npm:^1.3.0, which@npm:^1.3.1": - version: 1.3.1 - resolution: "which@npm:1.3.1" +"which@npm:^2.0.1, which@npm:^2.0.2": + version: 2.0.2 + resolution: "which@npm:2.0.2" dependencies: isexe: "npm:^2.0.0" bin: - which: ./bin/which - checksum: 10/549dcf1752f3ee7fbb64f5af2eead4b9a2f482108b7de3e85c781d6c26d8cf6a52d37cfbe0642a155fa6470483fe892661a859c03157f24c669cf115f3bbab5e + node-which: ./bin/node-which + checksum: 10/4782f8a1d6b8fc12c65e968fea49f59752bf6302dc43036c3bf87da718a80710f61a062516e9764c70008b487929a73546125570acea95c5b5dcc8ac3052c70f languageName: node linkType: hard @@ -39802,10 +39733,10 @@ __metadata: languageName: node linkType: hard -"workerpool@npm:6.2.0": - version: 6.2.0 - resolution: "workerpool@npm:6.2.0" - checksum: 10/c7dce6eae02098d70fe9924503bd95688564a1316cbb96fe55600f7ede0e66f1f2fea4d18aaec71fcee32373d17eda0bf87ac4dac8e5823e90ca1524aac90bdc +"workerpool@npm:^6.5.1": + version: 6.5.1 + resolution: "workerpool@npm:6.5.1" + checksum: 10/b1b00139fe62f2ebec556a2af8085bf6e7502ad26cf2a4dcb34fb4408b2e68aa12c88b0a50cb463b24f2806d60fa491fc0da933b56ec3b53646aeec0025d14cb languageName: node linkType: hard @@ -40130,13 +40061,6 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:20.2.4": - version: 20.2.4 - resolution: "yargs-parser@npm:20.2.4" - checksum: 10/db8f251ae40e24782d5c089ed86883ba3c0ce7f3c174002a67ec500802f928df9d505fea5d04829769221ce20b0f69f6fb1138fbb2e2fb102e3e9d426d20edab - languageName: node - linkType: hard - "yargs-parser@npm:^10.0.0": version: 10.1.0 resolution: "yargs-parser@npm:10.1.0" @@ -40180,7 +40104,7 @@ __metadata: languageName: node linkType: hard -"yargs-unparser@npm:2.0.0": +"yargs-unparser@npm:^2.0.0": version: 2.0.0 resolution: "yargs-unparser@npm:2.0.0" dependencies: @@ -40192,21 +40116,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:16.2.0": - version: 16.2.0 - resolution: "yargs@npm:16.2.0" - dependencies: - cliui: "npm:^7.0.2" - escalade: "npm:^3.1.1" - get-caller-file: "npm:^2.0.5" - require-directory: "npm:^2.1.1" - string-width: "npm:^4.2.0" - y18n: "npm:^5.0.5" - yargs-parser: "npm:^20.2.2" - checksum: 10/807fa21211d2117135d557f95fcd3c3d390530cda2eca0c840f1d95f0f40209dcfeb5ec18c785a1f3425896e623e3b2681e8bb7b6600060eda1c3f4804e7957e - languageName: node - linkType: hard - "yargs@npm:^13.2.2": version: 13.3.2 resolution: "yargs@npm:13.3.2" @@ -40244,6 +40153,21 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^16.2.0": + version: 16.2.0 + resolution: "yargs@npm:16.2.0" + dependencies: + cliui: "npm:^7.0.2" + escalade: "npm:^3.1.1" + get-caller-file: "npm:^2.0.5" + require-directory: "npm:^2.1.1" + string-width: "npm:^4.2.0" + y18n: "npm:^5.0.5" + yargs-parser: "npm:^20.2.2" + checksum: 10/807fa21211d2117135d557f95fcd3c3d390530cda2eca0c840f1d95f0f40209dcfeb5ec18c785a1f3425896e623e3b2681e8bb7b6600060eda1c3f4804e7957e + languageName: node + linkType: hard + "yargs@npm:^17.3.1, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" From 0ad565636303087c9cb026b3991deb45c681f4d5 Mon Sep 17 00:00:00 2001 From: Curious-Goblin Date: Mon, 13 Jan 2025 18:22:12 +0530 Subject: [PATCH 12/12] fix: remove unintended changes in yarn.lock --- yarn.lock | 326 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 201 insertions(+), 125 deletions(-) diff --git a/yarn.lock b/yarn.lock index 44ef506e8f5b4..3c86361aa2d91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9421,7 +9421,7 @@ __metadata: mime-db: "npm:^1.52.0" mime-type: "npm:^4.0.0" mkdirp: "npm:^1.0.4" - mocha: "npm:11.0.1" + mocha: "npm:^9.2.2" moleculer: "npm:^0.14.35" moment: "npm:^2.29.4" moment-timezone: "npm:^0.5.46" @@ -14010,6 +14010,13 @@ __metadata: languageName: node linkType: hard +"@ungap/promise-all-settled@npm:1.1.2": + version: 1.1.2 + resolution: "@ungap/promise-all-settled@npm:1.1.2" + checksum: 10/ee8fe811becd830f5e276ec63469ec66c22503eb140064580e712c9fccadfd54157c462188640ba6765d5c21f829e7120eb37afb5ead512684b9a1ab86d2db66 + languageName: node + linkType: hard + "@vector-im/matrix-bot-sdk@npm:0.7.1-element.6, @vector-im/matrix-bot-sdk@npm:^0.7.1-element.6": version: 0.7.1-element.6 resolution: "@vector-im/matrix-bot-sdk@npm:0.7.1-element.6" @@ -14778,6 +14785,13 @@ __metadata: languageName: node linkType: hard +"ansi-colors@npm:4.1.1": + version: 4.1.1 + resolution: "ansi-colors@npm:4.1.1" + checksum: 10/e862fddd0a9ca88f1e7c9312ea70674cec3af360c994762309f6323730525e92c77d2715ee5f08aa8f438b7ca18efe378af647f501fc92b15b8e4b3b52d09db4 + languageName: node + linkType: hard + "ansi-colors@npm:^4.1.1, ansi-colors@npm:^4.1.3": version: 4.1.3 resolution: "ansi-colors@npm:4.1.3" @@ -16333,7 +16347,7 @@ __metadata: languageName: node linkType: hard -"browser-stdout@npm:^1.3.1": +"browser-stdout@npm:1.3.1": version: 1.3.1 resolution: "browser-stdout@npm:1.3.1" checksum: 10/ac70a84e346bb7afc5045ec6f22f6a681b15a4057447d4cc1c48a25c6dedb302a49a46dd4ddfb5cdd9c96e0c905a8539be1b98ae7bc440512152967009ec7015 @@ -17311,7 +17325,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.5.3": +"chokidar@npm:3.5.3, chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -19131,6 +19145,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:4.3.3": + version: 4.3.3 + resolution: "debug@npm:4.3.3" + dependencies: + ms: "npm:2.1.2" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10/723a9570dcd15d146ea4992f0dca12467d1b00f534abb42473df166d36826fcae8bab045aef59ac2f407b47a23266110bc0e646df8ac82f7800c11384f82050e + languageName: node + linkType: hard + "debug@npm:4.3.6": version: 4.3.6 resolution: "debug@npm:4.3.6" @@ -19638,6 +19664,13 @@ __metadata: languageName: node linkType: hard +"diff@npm:5.0.0": + version: 5.0.0 + resolution: "diff@npm:5.0.0" + checksum: 10/4a179a75b17cbb420eb9145be913f9ddb34b47cb2ba4301e80ae745122826a468f02ca8f5e56945958de26ace594899c8381acb6659c88e7803ef078b53d690c + languageName: node + linkType: hard + "diff@npm:^3.1.0": version: 3.5.0 resolution: "diff@npm:3.5.0" @@ -19652,13 +19685,6 @@ __metadata: languageName: node linkType: hard -"diff@npm:^5.2.0": - version: 5.2.0 - resolution: "diff@npm:5.2.0" - checksum: 10/01b7b440f83a997350a988e9d2f558366c0f90f15be19f4aa7f1bb3109a4e153dfc3b9fbf78e14ea725717017407eeaa2271e3896374a0181e8f52445740846d - languageName: node - linkType: hard - "diff@npm:^7.0.0": version: 7.0.0 resolution: "diff@npm:7.0.0" @@ -20811,6 +20837,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:4.0.0, escape-string-regexp@npm:^4.0.0": + version: 4.0.0 + resolution: "escape-string-regexp@npm:4.0.0" + checksum: 10/98b48897d93060f2322108bf29db0feba7dd774be96cd069458d1453347b25ce8682ecc39859d4bca2203cc0ab19c237bcc71755eff49a0f8d90beadeeba5cc5 + languageName: node + linkType: hard + "escape-string-regexp@npm:^1.0.2, escape-string-regexp@npm:^1.0.3, escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -20825,13 +20858,6 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^4.0.0": - version: 4.0.0 - resolution: "escape-string-regexp@npm:4.0.0" - checksum: 10/98b48897d93060f2322108bf29db0feba7dd774be96cd069458d1453347b25ce8682ecc39859d4bca2203cc0ab19c237bcc71755eff49a0f8d90beadeeba5cc5 - languageName: node - linkType: hard - "escodegen@npm:^2.0.0": version: 2.1.0 resolution: "escodegen@npm:2.1.0" @@ -22245,6 +22271,16 @@ __metadata: languageName: node linkType: hard +"find-up@npm:5.0.0, find-up@npm:^5.0.0": + version: 5.0.0 + resolution: "find-up@npm:5.0.0" + dependencies: + locate-path: "npm:^6.0.0" + path-exists: "npm:^4.0.0" + checksum: 10/07955e357348f34660bde7920783204ff5a26ac2cafcaa28bace494027158a97b9f56faaf2d89a6106211a8174db650dd9f503f9c0d526b1202d5554a00b9095 + languageName: node + linkType: hard + "find-up@npm:^2.0.0": version: 2.1.0 resolution: "find-up@npm:2.1.0" @@ -22273,16 +22309,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^5.0.0": - version: 5.0.0 - resolution: "find-up@npm:5.0.0" - dependencies: - locate-path: "npm:^6.0.0" - path-exists: "npm:^4.0.0" - checksum: 10/07955e357348f34660bde7920783204ff5a26ac2cafcaa28bace494027158a97b9f56faaf2d89a6106211a8174db650dd9f503f9c0d526b1202d5554a00b9095 - languageName: node - linkType: hard - "find-up@npm:^6.3.0": version: 6.3.0 resolution: "find-up@npm:6.3.0" @@ -23021,7 +23047,21 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.4.5": +"glob@npm:7.2.0": + version: 7.2.0 + resolution: "glob@npm:7.2.0" + dependencies: + fs.realpath: "npm:^1.0.0" + inflight: "npm:^1.0.4" + inherits: "npm:2" + minimatch: "npm:^3.0.4" + once: "npm:^1.3.0" + path-is-absolute: "npm:^1.0.0" + checksum: 10/bc78b6ea0735b6e23d20678aba4ae6a4760e8c9527e3c4683ac25b14e70f55f9531245dcf25959b70cbc4aa3dcce1fc37ab65fd026a4cbd70aa3a44880bd396b + languageName: node + linkType: hard + +"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.10": version: 10.4.5 resolution: "glob@npm:10.4.5" dependencies: @@ -23348,6 +23388,13 @@ __metadata: languageName: node linkType: hard +"growl@npm:1.10.5": + version: 1.10.5 + resolution: "growl@npm:1.10.5" + checksum: 10/1391a9add951964de566adc0aee8b0e2b2321e768c1fdccb7a8e156d6a6cd7ea72782883ba8c2c307baf524e3059519423b72e585eba5e7a5f6e83a1e2359b0d + languageName: node + linkType: hard + "gtoken@npm:^6.1.0": version: 6.1.2 resolution: "gtoken@npm:6.1.2" @@ -26458,26 +26505,26 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.13.1, js-yaml@npm:^3.2.7, js-yaml@npm:^3.6.1": - version: 3.14.1 - resolution: "js-yaml@npm:3.14.1" +"js-yaml@npm:4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": + version: 4.1.0 + resolution: "js-yaml@npm:4.1.0" dependencies: - argparse: "npm:^1.0.7" - esprima: "npm:^4.0.0" + argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10/9e22d80b4d0105b9899135365f746d47466ed53ef4223c529b3c0f7a39907743fdbd3c4379f94f1106f02755b5e90b2faaf84801a891135544e1ea475d1a1379 + checksum: 10/c138a34a3fd0d08ebaf71273ad4465569a483b8a639e0b118ff65698d257c2791d3199e3f303631f2cb98213fa7b5f5d6a4621fd0fff819421b990d30d967140 languageName: node linkType: hard -"js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" +"js-yaml@npm:^3.13.1, js-yaml@npm:^3.2.7, js-yaml@npm:^3.6.1": + version: 3.14.1 + resolution: "js-yaml@npm:3.14.1" dependencies: - argparse: "npm:^2.0.1" + argparse: "npm:^1.0.7" + esprima: "npm:^4.0.0" bin: js-yaml: bin/js-yaml.js - checksum: 10/c138a34a3fd0d08ebaf71273ad4465569a483b8a639e0b118ff65698d257c2791d3199e3f303631f2cb98213fa7b5f5d6a4621fd0fff819421b990d30d967140 + checksum: 10/9e22d80b4d0105b9899135365f746d47466ed53ef4223c529b3c0f7a39907743fdbd3c4379f94f1106f02755b5e90b2faaf84801a891135544e1ea475d1a1379 languageName: node linkType: hard @@ -27534,16 +27581,7 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^2.0.0, log-symbols@npm:^2.2.0": - version: 2.2.0 - resolution: "log-symbols@npm:2.2.0" - dependencies: - chalk: "npm:^2.0.1" - checksum: 10/4c95e3b65f0352dbe91dc4989c10baf7a44e2ef5b0db7e6721e1476268e2b6f7090c3aa880d4f833a05c5c3ff18f4ec5215a09bd0099986d64a8186cfeb48ac8 - languageName: node - linkType: hard - -"log-symbols@npm:^4.1.0": +"log-symbols@npm:4.1.0, log-symbols@npm:^4.1.0": version: 4.1.0 resolution: "log-symbols@npm:4.1.0" dependencies: @@ -27553,6 +27591,15 @@ __metadata: languageName: node linkType: hard +"log-symbols@npm:^2.0.0, log-symbols@npm:^2.2.0": + version: 2.2.0 + resolution: "log-symbols@npm:2.2.0" + dependencies: + chalk: "npm:^2.0.1" + checksum: 10/4c95e3b65f0352dbe91dc4989c10baf7a44e2ef5b0db7e6721e1476268e2b6f7090c3aa880d4f833a05c5c3ff18f4ec5215a09bd0099986d64a8186cfeb48ac8 + languageName: node + linkType: hard + "logform@npm:^2.3.2": version: 2.4.0 resolution: "logform@npm:2.4.0" @@ -28567,6 +28614,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:4.2.1": + version: 4.2.1 + resolution: "minimatch@npm:4.2.1" + dependencies: + brace-expansion: "npm:^1.1.7" + checksum: 10/27e49fb720116face9588c29634404edc0c6677e5448ba01b4ec6179002461cc4fabc842497a0537edc5aa87bc93e65cfb0fe6dc32b850563429a64836dd1d54 + languageName: node + linkType: hard + "minimatch@npm:^10.0.0": version: 10.0.1 resolution: "minimatch@npm:10.0.1" @@ -28585,7 +28641,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^5.0.1, minimatch@npm:^5.1.6": +"minimatch@npm:^5.0.1": version: 5.1.6 resolution: "minimatch@npm:5.1.6" dependencies: @@ -28803,34 +28859,38 @@ __metadata: languageName: node linkType: hard -"mocha@npm:11.0.1": - version: 11.0.1 - resolution: "mocha@npm:11.0.1" - dependencies: - ansi-colors: "npm:^4.1.3" - browser-stdout: "npm:^1.3.1" - chokidar: "npm:^3.5.3" - debug: "npm:^4.3.5" - diff: "npm:^5.2.0" - escape-string-regexp: "npm:^4.0.0" - find-up: "npm:^5.0.0" - glob: "npm:^10.4.5" - he: "npm:^1.2.0" - js-yaml: "npm:^4.1.0" - log-symbols: "npm:^4.1.0" - minimatch: "npm:^5.1.6" - ms: "npm:^2.1.3" - serialize-javascript: "npm:^6.0.2" - strip-json-comments: "npm:^3.1.1" - supports-color: "npm:^8.1.1" - workerpool: "npm:^6.5.1" - yargs: "npm:^16.2.0" - yargs-parser: "npm:^20.2.9" - yargs-unparser: "npm:^2.0.0" +"mocha@npm:^9.2.2": + version: 9.2.2 + resolution: "mocha@npm:9.2.2" + dependencies: + "@ungap/promise-all-settled": "npm:1.1.2" + ansi-colors: "npm:4.1.1" + browser-stdout: "npm:1.3.1" + chokidar: "npm:3.5.3" + debug: "npm:4.3.3" + diff: "npm:5.0.0" + escape-string-regexp: "npm:4.0.0" + find-up: "npm:5.0.0" + glob: "npm:7.2.0" + growl: "npm:1.10.5" + he: "npm:1.2.0" + js-yaml: "npm:4.1.0" + log-symbols: "npm:4.1.0" + minimatch: "npm:4.2.1" + ms: "npm:2.1.3" + nanoid: "npm:3.3.1" + serialize-javascript: "npm:6.0.0" + strip-json-comments: "npm:3.1.1" + supports-color: "npm:8.1.1" + which: "npm:2.0.2" + workerpool: "npm:6.2.0" + yargs: "npm:16.2.0" + yargs-parser: "npm:20.2.4" + yargs-unparser: "npm:2.0.0" bin: _mocha: bin/_mocha - mocha: bin/mocha.js - checksum: 10/8c14292a90e8db4f199e70a007da082cabc2a3be803f95885ab03e32cb4dd7c3978c0b50d1f963c33eacaa981f105cf7c89c7fc4c14649dcbfd0e0f2d712c1e3 + mocha: bin/mocha + checksum: 10/8ee58bff8694ad4013fc0fbb5670c5ec6d8404c601df2d4ae798fad01dd03b5f9395347cf59167006b315a14813a6f839290d60dcbdee8ef4246afe43609d2dc languageName: node linkType: hard @@ -29139,6 +29199,15 @@ __metadata: languageName: node linkType: hard +"nanoid@npm:3.3.1": + version: 3.3.1 + resolution: "nanoid@npm:3.3.1" + bin: + nanoid: bin/nanoid.cjs + checksum: 10/306f2cb9e4dcfb94738b09de9dc63839a37db33626f66b24dbcc8f66d4b91784645794a7c4f250d629e4d66f5385164c6748c58ac5b7c95217e9e048590efbe4 + languageName: node + linkType: hard + "nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" @@ -34835,6 +34904,15 @@ __metadata: languageName: node linkType: hard +"serialize-javascript@npm:6.0.0": + version: 6.0.0 + resolution: "serialize-javascript@npm:6.0.0" + dependencies: + randombytes: "npm:^2.1.0" + checksum: 10/ed3dabfbb565c48c9eb1ca8fe58f0d256902ab70a8a605be634ddd68388d5f728bb0bd1268e94fab628748ba8ad8392f01b05f3cbe1e4878b5c58c669fd3d1b4 + languageName: node + linkType: hard + "serialize-javascript@npm:^5.0.1": version: 5.0.1 resolution: "serialize-javascript@npm:5.0.1" @@ -34853,15 +34931,6 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.2": - version: 6.0.2 - resolution: "serialize-javascript@npm:6.0.2" - dependencies: - randombytes: "npm:^2.1.0" - checksum: 10/445a420a6fa2eaee4b70cbd884d538e259ab278200a2ededd73253ada17d5d48e91fb1f4cd224a236ab62ea7ba0a70c6af29fc93b4f3d3078bf7da1c031fde58 - languageName: node - linkType: hard - "serve-index@npm:^1.9.1": version: 1.9.1 resolution: "serve-index@npm:1.9.1" @@ -36359,7 +36428,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:^3.1.1": +"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 10/492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443 @@ -36684,6 +36753,15 @@ __metadata: languageName: node linkType: hard +"supports-color@npm:8.1.1, supports-color@npm:^8.0.0": + version: 8.1.1 + resolution: "supports-color@npm:8.1.1" + dependencies: + has-flag: "npm:^4.0.0" + checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282 + languageName: node + linkType: hard + "supports-color@npm:^2.0.0": version: 2.0.0 resolution: "supports-color@npm:2.0.0" @@ -36718,15 +36796,6 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": - version: 8.1.1 - resolution: "supports-color@npm:8.1.1" - dependencies: - has-flag: "npm:^4.0.0" - checksum: 10/157b534df88e39c5518c5e78c35580c1eca848d7dbaf31bbe06cdfc048e22c7ff1a9d046ae17b25691128f631a51d9ec373c1b740c12ae4f0de6e292037e4282 - languageName: node - linkType: hard - "supports-hyperlinks@npm:^2.0.0": version: 2.3.0 resolution: "supports-hyperlinks@npm:2.3.0" @@ -39629,25 +39698,25 @@ __metadata: languageName: node linkType: hard -"which@npm:^1.2.0, which@npm:^1.2.9, which@npm:^1.3.0, which@npm:^1.3.1": - version: 1.3.1 - resolution: "which@npm:1.3.1" +"which@npm:2.0.2, which@npm:^2.0.1, which@npm:^2.0.2": + version: 2.0.2 + resolution: "which@npm:2.0.2" dependencies: isexe: "npm:^2.0.0" bin: - which: ./bin/which - checksum: 10/549dcf1752f3ee7fbb64f5af2eead4b9a2f482108b7de3e85c781d6c26d8cf6a52d37cfbe0642a155fa6470483fe892661a859c03157f24c669cf115f3bbab5e + node-which: ./bin/node-which + checksum: 10/4782f8a1d6b8fc12c65e968fea49f59752bf6302dc43036c3bf87da718a80710f61a062516e9764c70008b487929a73546125570acea95c5b5dcc8ac3052c70f languageName: node linkType: hard -"which@npm:^2.0.1, which@npm:^2.0.2": - version: 2.0.2 - resolution: "which@npm:2.0.2" +"which@npm:^1.2.0, which@npm:^1.2.9, which@npm:^1.3.0, which@npm:^1.3.1": + version: 1.3.1 + resolution: "which@npm:1.3.1" dependencies: isexe: "npm:^2.0.0" bin: - node-which: ./bin/node-which - checksum: 10/4782f8a1d6b8fc12c65e968fea49f59752bf6302dc43036c3bf87da718a80710f61a062516e9764c70008b487929a73546125570acea95c5b5dcc8ac3052c70f + which: ./bin/which + checksum: 10/549dcf1752f3ee7fbb64f5af2eead4b9a2f482108b7de3e85c781d6c26d8cf6a52d37cfbe0642a155fa6470483fe892661a859c03157f24c669cf115f3bbab5e languageName: node linkType: hard @@ -39733,10 +39802,10 @@ __metadata: languageName: node linkType: hard -"workerpool@npm:^6.5.1": - version: 6.5.1 - resolution: "workerpool@npm:6.5.1" - checksum: 10/b1b00139fe62f2ebec556a2af8085bf6e7502ad26cf2a4dcb34fb4408b2e68aa12c88b0a50cb463b24f2806d60fa491fc0da933b56ec3b53646aeec0025d14cb +"workerpool@npm:6.2.0": + version: 6.2.0 + resolution: "workerpool@npm:6.2.0" + checksum: 10/c7dce6eae02098d70fe9924503bd95688564a1316cbb96fe55600f7ede0e66f1f2fea4d18aaec71fcee32373d17eda0bf87ac4dac8e5823e90ca1524aac90bdc languageName: node linkType: hard @@ -40061,6 +40130,13 @@ __metadata: languageName: node linkType: hard +"yargs-parser@npm:20.2.4": + version: 20.2.4 + resolution: "yargs-parser@npm:20.2.4" + checksum: 10/db8f251ae40e24782d5c089ed86883ba3c0ce7f3c174002a67ec500802f928df9d505fea5d04829769221ce20b0f69f6fb1138fbb2e2fb102e3e9d426d20edab + languageName: node + linkType: hard + "yargs-parser@npm:^10.0.0": version: 10.1.0 resolution: "yargs-parser@npm:10.1.0" @@ -40104,7 +40180,7 @@ __metadata: languageName: node linkType: hard -"yargs-unparser@npm:^2.0.0": +"yargs-unparser@npm:2.0.0": version: 2.0.0 resolution: "yargs-unparser@npm:2.0.0" dependencies: @@ -40116,6 +40192,21 @@ __metadata: languageName: node linkType: hard +"yargs@npm:16.2.0": + version: 16.2.0 + resolution: "yargs@npm:16.2.0" + dependencies: + cliui: "npm:^7.0.2" + escalade: "npm:^3.1.1" + get-caller-file: "npm:^2.0.5" + require-directory: "npm:^2.1.1" + string-width: "npm:^4.2.0" + y18n: "npm:^5.0.5" + yargs-parser: "npm:^20.2.2" + checksum: 10/807fa21211d2117135d557f95fcd3c3d390530cda2eca0c840f1d95f0f40209dcfeb5ec18c785a1f3425896e623e3b2681e8bb7b6600060eda1c3f4804e7957e + languageName: node + linkType: hard + "yargs@npm:^13.2.2": version: 13.3.2 resolution: "yargs@npm:13.3.2" @@ -40153,21 +40244,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^16.2.0": - version: 16.2.0 - resolution: "yargs@npm:16.2.0" - dependencies: - cliui: "npm:^7.0.2" - escalade: "npm:^3.1.1" - get-caller-file: "npm:^2.0.5" - require-directory: "npm:^2.1.1" - string-width: "npm:^4.2.0" - y18n: "npm:^5.0.5" - yargs-parser: "npm:^20.2.2" - checksum: 10/807fa21211d2117135d557f95fcd3c3d390530cda2eca0c840f1d95f0f40209dcfeb5ec18c785a1f3425896e623e3b2681e8bb7b6600060eda1c3f4804e7957e - languageName: node - linkType: hard - "yargs@npm:^17.3.1, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2"