Commit be325ef
authored
Bump vulnerable transitive npm dependencies to patched versions (#944)
* Bump vulnerable transitive npm dependencies to patched versions
- minimatch 9.0.3 → 9.0.7 (ReDoS, CVE)
- picomatch 2.3.1 → 2.3.2 (ReDoS)
- picomatch 4.0.3 → 4.0.4 (ReDoS)
- yaml 1.10.2 → 1.10.3 (stack overflow via deeply nested collections)
- yaml 2.8.2 → 2.8.3 (stack overflow via deeply nested collections)
Addresses Dependabot alerts #148, #158, #159, #160, #161, #162.
* Skip R loader test when rpy2 is incompatible with installed R version
Recent rpy2 releases require R >= 4.1 (R_existsVarInFrame) / R >= 4.2
(R_getVar), but the CircleCI Ubuntu 20.04 images ship with R 3.6.3.
The existing guard (pytest.importorskip) only skips when rpy2 is not
installed, not when it is installed but incompatible with the R runtime.
Add a lightweight import check so the test is skipped gracefully in that
environment rather than erroring.
* Install R from CRAN rather than Ubuntu apt default
The Ubuntu 20.04 apt default (R 3.6.3) is incompatible with recent rpy2
releases which require R >= 4.1. Add the official CRAN Ubuntu repository
so all Python version builds get R 4.x. Uses lsb_release to pick the
correct codename (focal/jammy/noble) dynamically.
* Fix hanging 'Install R' CI step by avoiding interactive add-apt-repository
Replace `add-apt-repository` (which prompts for [ENTER]) with a direct
non-interactive write to sources.list.d. Also removes the now-unnecessary
apt update/upgrade and software-properties-common install.
* Unpin dash, dash-bootstrap-components, and dash_daq
- dash: unpinned for python > 3.7 (was <=2.18.2)
- dash-bootstrap-components: unpinned for python > 3.0 (was <=1.7.1)
- dash_daq: unpinned entirely (was <=0.5.0)
* Fix dash_daq pin and werkzeug version detection for package updates
- Pin dash_daq<=0.5.0 to avoid breakage with newer versions
- Fix werkzeug.__version__ AttributeError in test_shutdown by falling
back to importlib.metadata for newer werkzeug versions
* Replace dash_daq with dbc.Switch and dbc.Input for Python 3+
dash_daq is incompatible with dash 4.x (removed component_loader).
Replace BooleanSwitch with dbc.Switch and NumericInput with
dbc.Input(type="number") for Python 3+, keeping dash_daq only for
Python 2.7. Add switch.css to fix Bootstrap 4/5 style collisions.
* Bump serialize-javascript to 7.0.5 and add handlebars 4.7.9 resolution
- Bump serialize-javascript from 7.0.4 to 7.0.5 to fix CPU exhaustion DoS
- Add handlebars 4.7.9 yarn resolution to fix JS injection via AST type
confusion (CVE-2026-33937) and related vulnerabilities1 parent e9ddc5c commit be325ef
10 files changed
Lines changed: 147 additions & 74 deletions
File tree
- .circleci
- dtale
- dash_application
- layout
- static/css
- frontend
- tests/dtale
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | | - | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | | - | |
| 349 | + | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| |||
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
363 | | - | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
395 | | - | |
| 396 | + | |
396 | 397 | | |
397 | 398 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
924 | 926 | | |
925 | 927 | | |
926 | 928 | | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
927 | 944 | | |
928 | 945 | | |
929 | 946 | | |
| |||
1031 | 1048 | | |
1032 | 1049 | | |
1033 | 1050 | | |
1034 | | - | |
| 1051 | + | |
1035 | 1052 | | |
1036 | 1053 | | |
1037 | 1054 | | |
| |||
2330 | 2347 | | |
2331 | 2348 | | |
2332 | 2349 | | |
2333 | | - | |
2334 | | - | |
2335 | | - | |
| 2350 | + | |
2336 | 2351 | | |
2337 | 2352 | | |
2338 | 2353 | | |
| |||
2412 | 2427 | | |
2413 | 2428 | | |
2414 | 2429 | | |
2415 | | - | |
| 2430 | + | |
2416 | 2431 | | |
| 2432 | + | |
2417 | 2433 | | |
2418 | 2434 | | |
2419 | 2435 | | |
| |||
2481 | 2497 | | |
2482 | 2498 | | |
2483 | 2499 | | |
2484 | | - | |
2485 | | - | |
2486 | | - | |
| 2500 | + | |
2487 | 2501 | | |
2488 | 2502 | | |
2489 | 2503 | | |
| |||
2493 | 2507 | | |
2494 | 2508 | | |
2495 | 2509 | | |
2496 | | - | |
2497 | | - | |
2498 | | - | |
| 2510 | + | |
2499 | 2511 | | |
2500 | 2512 | | |
2501 | 2513 | | |
| |||
2618 | 2630 | | |
2619 | 2631 | | |
2620 | 2632 | | |
2621 | | - | |
2622 | | - | |
| 2633 | + | |
| 2634 | + | |
2623 | 2635 | | |
2624 | 2636 | | |
2625 | 2637 | | |
| |||
2652 | 2664 | | |
2653 | 2665 | | |
2654 | 2666 | | |
2655 | | - | |
2656 | | - | |
2657 | | - | |
| 2667 | + | |
2658 | 2668 | | |
2659 | 2669 | | |
2660 | 2670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
781 | 785 | | |
782 | 786 | | |
783 | 787 | | |
784 | | - | |
| 788 | + | |
785 | 789 | | |
786 | 790 | | |
787 | 791 | | |
| |||
868 | 872 | | |
869 | 873 | | |
870 | 874 | | |
871 | | - | |
872 | | - | |
| 875 | + | |
| 876 | + | |
873 | 877 | | |
874 | 878 | | |
875 | 879 | | |
876 | 880 | | |
877 | | - | |
| 881 | + | |
878 | 882 | | |
879 | 883 | | |
880 | 884 | | |
| |||
911 | 915 | | |
912 | 916 | | |
913 | 917 | | |
914 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
915 | 921 | | |
916 | 922 | | |
917 | 923 | | |
| |||
987 | 993 | | |
988 | 994 | | |
989 | 995 | | |
990 | | - | |
| 996 | + | |
991 | 997 | | |
992 | 998 | | |
993 | 999 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
0 commit comments