From be3a138d2af480203567d42ff827f1d712e58d64 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 23 Jul 2023 13:50:18 +0000 Subject: [PATCH 1/2] fix(deps): update dependency linguist-js to v2.6.1 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yarn.lock b/yarn.lock index 05be39bde2..3f52b1a54b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22055,7 +22055,7 @@ __metadata: languageName: node linkType: hard -"cross-fetch@npm:^3.1.3, cross-fetch@npm:^3.1.5, cross-fetch@npm:^3.1.6": +"cross-fetch@npm:^3.1.3, cross-fetch@npm:^3.1.5, cross-fetch@npm:^3.1.8 <4": version: 3.1.8 resolution: "cross-fetch@npm:3.1.8" dependencies: @@ -30579,13 +30579,13 @@ __metadata: linkType: hard "linguist-js@npm:^2.5.3": - version: 2.5.6 - resolution: "linguist-js@npm:2.5.6" + version: 2.6.1 + resolution: "linguist-js@npm:2.6.1" dependencies: binary-extensions: ^2.2.0 commander: ^9.5.0 <10 common-path-prefix: ^3.0.0 - cross-fetch: ^3.1.6 + cross-fetch: ^3.1.8 <4 ignore: ^5.2.4 isbinaryfile: ^4.0.10 <5 js-yaml: ^4.1.0 @@ -30593,7 +30593,7 @@ __metadata: bin: linguist: bin/index.js linguist-js: bin/index.js - checksum: bd1ae9514b4fa365611e571eb7c0cf5b087fc8ab77cdf7aeade2029a327ae3dd9005eb87e4b75770780e06e749c2d9b72f011d0a659705e1a2347b4fe7e28631 + checksum: 5eea5a0562e4a8958703833eef0377235fd34da1f12b7b8b8208934b877c9f36b7c140b25c66ab563ff229203cd8c224e84d840edbc4ee285ad051b8b8fdb5ae languageName: node linkType: hard From 7b95d42ac3045e7f11d0d47362829023293876f9 Mon Sep 17 00:00:00 2001 From: Andre Wanlin <67169551+awanlin@users.noreply.github.com> Date: Fri, 28 Jul 2023 13:15:02 -0500 Subject: [PATCH 2/2] Added alternatives to linguistResultMock Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com> --- plugins/linguist-backend/src/api/LinguistBackendClient.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/linguist-backend/src/api/LinguistBackendClient.test.ts b/plugins/linguist-backend/src/api/LinguistBackendClient.test.ts index 1b0a4f4673..55c74df424 100644 --- a/plugins/linguist-backend/src/api/LinguistBackendClient.test.ts +++ b/plugins/linguist-backend/src/api/LinguistBackendClient.test.ts @@ -38,6 +38,9 @@ const linguistResultMock = Promise.resolve({ '/readme.md': 'Markdown', '/no-lang': null, }, + alternatives: { + '~/alternatives.asc': ['AsciiDoc', 'Public Key'], + }, }, languages: { count: 3,