Commit 73d9692
authored
fix(examples): patch vulnerable npm dependencies (#1347)
## What
- bump `examples/browser` to `vite@^6.4.2`
- pin `langsmith` to `0.5.20` in example JS workspaces
- refresh the affected package-lock files only
## Why
- clears the open Dependabot alerts in the example/browser and JS
package lockfiles without changing runtime code paths
## How
- use npm overrides for transitive `langsmith`
- move the browser example to a non-vulnerable `vite` release on the
same major line
- regenerate lockfiles with `npm install --package-lock-only
--ignore-scripts`
## Verification
- `npm audit --json` in `examples/browser`
- `npm audit --json` in `examples`
- `npm audit --json` in `crates/bashkit-js`
- `TMPDIR=$PWD/.tmp-test just pre-pr`1 parent 813f3df commit 73d9692
7 files changed
Lines changed: 24 additions & 74 deletions
File tree
- crates/bashkit-js
- src
- examples
- browser
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
597 | 598 | | |
598 | 599 | | |
599 | 600 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments