Skip to content

Commit a0009f6

Browse files
authored
chore: remove @types/axios and add axios in dev (#408)
This commit removes @types/axios from the devDependencies and replaces it with straight up axios. The @types package is deprecated and has not been updated in four years. Plus it was raising a security alert. Plus axios publishes their own types now. Signed-off-by: Lance Ball <lball@redhat.com>
1 parent 26ceb90 commit a0009f6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
},
5353
"devDependencies": {
5454
"@types/ajv": "^1.0.0",
55-
"@types/axios": "^0.14.0",
5655
"@types/chai": "^4.2.11",
5756
"@types/cucumber": "^6.0.1",
5857
"@types/got": "^9.6.11",
@@ -62,6 +61,7 @@
6261
"@types/uuid": "^8.0.0",
6362
"@typescript-eslint/eslint-plugin": "^3.4.0",
6463
"@typescript-eslint/parser": "^3.4.0",
64+
"axios": "^0.21.1",
6565
"chai": "~4.2.0",
6666
"cucumber": "^6.0.5",
6767
"cucumber-pretty": "^6.0.0",

0 commit comments

Comments
 (0)