Commit 61afbaa
committed
chore: remove deprecated global libraries
- `clipboard` => just use native `navigator.clipboard`
- `davclient.js` => use `webdav` or `@nextcloud/files`
- `moment` => use `@nextcloud/moment` or better native `Intl.DateTimeFormat` or `Temporal` API
- `underscore` => just use moder ES2015+ syntax
Adjusted core (remove usage of `_`) to be able to fully drop those
libraries as dependencies (except `moment` which we still use in some
legacy apps).
Now that `davclient.js` is gone we also can re-enable the
`Validate package-lock.json` step on CI.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>1 parent 368f338 commit 61afbaa
6 files changed
Lines changed: 40 additions & 358 deletions
File tree
- .github/workflows
- build/frontend-legacy
- core/src
- OC
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
0 commit comments