Commit 4f33698
chore: remove ua-parser-js — use core Utils.parseUserAgent instead
ua-parser-js was replaced in src/ by a lightweight browser detection in
Dash-Industry-Forum#4972 but the dependency itself was not removed. The only remaining
active usage was in test/functional/src/Utils.js, which now uses
CoreUtils.parseUserAgent() from src/core/Utils.js.
Also removes commented-out ua-parser-js imports in the Capabilities
unit test.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d4afee5 commit 4f33698
4 files changed
Lines changed: 2 additions & 106 deletions
File tree
- test
- functional/src
- unit/test/streaming
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 | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
| |||
0 commit comments