Remove unnecessary dependency promise-any-polyfill
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-jenkins-backend': patch
|
||||
---
|
||||
|
||||
Remove unnecessary dependency promise-any-polyfill
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user