Remove unnecessary dependency promise-any-polyfill

Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
This commit is contained in:
Martina Iglesias Fernandez
2022-11-25 14:12:17 +01:00
parent cbe78bf116
commit cfe2b98fbe
4 changed files with 5 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-jenkins-backend': patch
---
Remove unnecessary dependency promise-any-polyfill
-1
View File
@@ -36,7 +36,6 @@
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"jenkins": "^1.0.0",
"promise-any-polyfill": "^1.0.1",
"winston": "^3.2.1",
"yn": "^4.0.0"
},
@@ -30,12 +30,6 @@ import {
import { jenkinsExecutePermission } from '@backstage/plugin-jenkins-common';
import { NotAllowedError } from '@backstage/errors';
if (!Promise.any) {
(async () => {
await import('promise-any-polyfill');
})();
}
export class JenkinsApiImpl {
private static readonly lastBuildTreeSpec = `lastBuild[
number,
-8
View File
@@ -6072,7 +6072,6 @@ __metadata:
express-promise-router: ^4.1.0
jenkins: ^1.0.0
msw: ^0.49.0
promise-any-polyfill: ^1.0.1
supertest: ^6.1.6
winston: ^3.2.1
yn: ^4.0.0
@@ -31339,13 +31338,6 @@ __metadata:
languageName: node
linkType: hard
"promise-any-polyfill@npm:^1.0.1":
version: 1.0.1
resolution: "promise-any-polyfill@npm:1.0.1"
checksum: 8eccebb8f9278c422cda05083e506964e6c75061b9c6d7fb6f3b7ccb707e5d338138aed3092b8358355a18f8d6dd47c139d0e198aae1eb0c84cd943a35d7ee0c
languageName: node
linkType: hard
"promise-call-limit@npm:^1.0.1":
version: 1.0.1
resolution: "promise-call-limit@npm:1.0.1"