Commit 0c5d21c
update axios dependency and update tests (#283)
* chore: update axios and axios-mock-adapter versions in package.json
* tests: fix tests
* Add TextEncoder, TextDecoder, ReadableStream as globals
due to jsdom/jsdom#2524
* Pin `cheerio` due to enzymejs/enzyme#2558
* Add option `--transformIgnorePatterns /\"node_modules/(?!axios)/\"`
to instruct jest to transform "node_modules/axios"
* chore: bump version to 2.3.1 in package.json
* ci: include maint branche & upgrade Ubuntu version
* chore: update CI to use Ubuntu 24.04 for testing
* dependencies: update axios
* closes #278
* chore: fix lint
* chore: update ESLint configuration to use eslint-config-invenio
* chore: update @babel/runtime peer dependency to version 7.26.10
* chore: update branch pattern and node versions
* remove end of life node versions from the matrix
* update branch pattern
* Add ESLint and React app configuration to package.json
* fix the issue when running npm run lint:
Oops! Something went wrong! :(
ESLint: 6.8.0.
ESLint couldn't find the config "react-app" to extend from. Please check that the name of the config is correct.
---------
Co-authored-by: Sam Arbid <[email protected]>
Co-authored-by: Anika Churilova <[email protected]>1 parent cb10bb7 commit 0c5d21c
File tree
11 files changed
+16752
-10710
lines changed- .github/workflows
- src
- lib
- api/contrib/invenio
- components
- ResultsGrid
- ResultsList
- ResultsMultiLayout
11 files changed
+16752
-10710
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| |||
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | | - | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
26 | | - | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | | - | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | | - | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
18 | 23 | | |
19 | | - | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
0 commit comments