Commit 5abcce8
Fix Dependabot security alerts across JavaScript samples (#365)
Resolve all open Dependabot vulnerability alerts across four JavaScript
sample projects (npm audit now reports 0 vulnerabilities in each):
- EventGridIntegration/javascript: migrate from the deprecated
azure-storage package (which depends on the unpatchable `request`
SSRF, GHSA-p8p7-x288-28g6) to @azure/data-tables. Rewrites the
OnConnection table logic; behavior and the optimistic-concurrency
retry loop are preserved.
- QuickStartServerless/javascript/v4-programming-model: drop the azurite
devDependency (a local-only emulator that pulls a large, perpetually
vulnerable transitive tree) and run it on demand via npx; bump
azure-functions-core-tools to ^4.12.0.
- ServerlessChatWithAuth/v4-model: bump azure-functions-core-tools to
^4.12.0 (older builds shipped vulnerable minimatch/debug/brace-expansion).
- Whiteboard/MCPServer: refresh lockfile (npm audit fix), bumping
@modelcontextprotocol/sdk, hono, fast-uri, qs and ws to patched versions.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 562e24e commit 5abcce8
9 files changed
Lines changed: 854 additions & 4877 deletions
File tree
- samples
- EventGridIntegration/javascript
- OnConnection
- QuickStartServerless/javascript/v4-programming-model
- ServerlessChatWithAuth/v4-model
- Whiteboard/MCPServer
Lines changed: 26 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| 22 | + | |
| 23 | + | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
| |||
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
27 | | - | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
38 | 49 | | |
39 | 50 | | |
40 | 51 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
| |||
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 81 | | |
103 | 82 | | |
104 | 83 | | |
| |||
0 commit comments