Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump axios from 0.21.1 to 1.6.0 in /frontend/amundsen_application/static #2207

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion frontend/tests/unit/api/metadata/test_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from http import HTTPStatus

from amundsen_application import create_app
from amundsen_application.api.metadata.v0 import TABLE_ENDPOINT, TYPE_METADATA_ENDPOINT, LAST_INDEXED_ENDPOINT,\
from amundsen_application.api.metadata.v0 import TABLE_ENDPOINT, TYPE_METADATA_ENDPOINT, LAST_INDEXED_ENDPOINT, \
POPULAR_RESOURCES_ENDPOINT, TAGS_ENDPOINT, USER_ENDPOINT, DASHBOARD_ENDPOINT, FEATURE_ENDPOINT
from amundsen_application.config import MatchRuleObject

Expand Down
Loading