Skip to content

Commit

Permalink
chore(deps): bump axios from 0.21.1 to 1.6.0 in /frontend/amundsen_ap…
Browse files Browse the repository at this point in the history
…plication/static (#2207)

* chore(deps): bump axios in /frontend/amundsen_application/static

Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.21.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Typing/lint fixes

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Attempt to fix test issue (not reproducable locally for me)

Signed-off-by: Kristen Armes <karmes@lyft.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Kristen Armes <karmes@lyft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristen Armes <karmes@lyft.com>
  • Loading branch information
dependabot[bot] and kristenarmes committed Dec 8, 2023
1 parent 613f78a commit d1ac187
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 8 deletions.
1 change: 1 addition & 0 deletions frontend/amundsen_application/static/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
moduleNameMapper: {
'^.+\\.(css|scss)$': '<rootDir>/node_modules/jest-css-modules',
'^axios$': 'axios/dist/node/axios.cjs',
},
globals: {
'ts-jest': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('getAnnouncements', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
// @ts-ignore: TypeScript errors on Jest mock methods unless we extend AxiosStatic for tests
Expand Down Expand Up @@ -62,6 +63,7 @@ describe('getAnnouncements', () => {
status: STATUS_CODES.INTERNAL_SERVER_ERROR,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
// @ts-ignore: TypeScript errors on Jest mock methods unless we extend AxiosStatic for tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('getAllBadges', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('getPopularTables', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
jest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe('searchResource', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
axiosMockPost = jest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('getAllTags', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('getLoggedInUser', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
axiosMock = jest
Expand Down Expand Up @@ -69,6 +70,7 @@ describe('getUser', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
axiosMock = jest
Expand Down Expand Up @@ -116,6 +118,7 @@ describe('getUserOwn', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
axiosMock = jest
Expand Down Expand Up @@ -163,6 +166,7 @@ describe('getUserRead', () => {
status: STATUS_CODES.OK,
statusText: '',
headers: {},
// @ts-ignore
config: {},
};
axiosMock = jest
Expand Down
41 changes: 34 additions & 7 deletions frontend/amundsen_application/static/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/amundsen_application/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"@rehooks/local-storage": "^2.4.4",
"analytics": "^0.7.3",
"autosize": "^4.0.2",
"axios": "0.21.1",
"axios": "1.6.0",
"core-js": "^3.6.5",
"d3-hierarchy": "^2.0.0",
"d3-selection": "^2.0.0",
Expand Down

0 comments on commit d1ac187

Please sign in to comment.