Commit 22a56e9
committed
fix: remove universal-hot-reload and webpack-serve from examples
Remove universal-hot-reload and webpack-serve devDependencies from both
example apps. These packages pulled in vulnerable transitive deps:
- webpack-dev-server@3.x (GHSA-9hcv-j9pv-qmph)
- uuid@3.4.0 (GHSA-rr56-j5qj-qrhg)
- node-forge@0.10.0 (multiple CVEs)
Replace with explicit webpack CLI build scripts. The examples now use
'npm run build' to compile client/server bundles and 'npm start' to
build and run the server. Hot module replacement is removed as these
examples are for a deprecated SDK.1 parent b5a4c27 commit 22a56e9
6 files changed
Lines changed: 5290 additions & 7979 deletions
File tree
- examples
- async-provider
- src/server
- hoc
- src/server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
60 | | - | |
| 58 | + | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 1 | + | |
0 commit comments