Commit 6b6c7a9
committed
fix: Better compatibility with Express 5 by removing
Remove `router` dependency and mark `express` as peer dependency. This
way we get rid of the security warnings when we npm install this
package. We also allow the use of the Router that comes with whatever
express version the host application has.router dependency1 parent b56f6ee commit 6b6c7a9
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
23 | 32 | | |
24 | 33 | | |
25 | 34 | | |
| |||
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
37 | | - | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
| |||
0 commit comments