refactor(core): Remove request libraries from cli package (#3803)

*  Remove request libraries

* ♻️ Refactor requests and remove unused imports

*  Fix loaded workflow gets parsed twice

*  Fix remote workflow is parsed twice as json

*  Fix workflowData assignment when data is fetched

*  Fix move workflow request and assignment into try/catch block
This commit is contained in:
brianinoa
2022-08-02 16:43:31 +02:00
committed by GitHub
parent 7e578b7f4d
commit 2cab8e7779
2 changed files with 17 additions and 24 deletions

View File

@@ -81,7 +81,6 @@
"@types/parseurl": "^1.3.1",
"@types/passport-jwt": "^3.0.6",
"@types/psl": "^1.1.0",
"@types/request-promise-native": "~1.0.15",
"@types/superagent": "4.1.13",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.2",
@@ -159,7 +158,6 @@
"pg": "^8.3.0",
"prom-client": "^13.1.0",
"psl": "^1.8.0",
"request-promise-native": "^1.0.7",
"shelljs": "^0.8.5",
"sqlite3": "^5.0.2",
"sse-channel": "^3.1.1",