Commit 3c4c4ea
authored
chore(deps): switch from lodash-es to es-toolkit (#3142)
> es-toolkit is a state-of-the-art, high-performance JavaScript utility
library with a small bundle size and strong type annotations.
Advantages for `bpmn-visualization`:
- receive more updates
- optimize for ESM
- better tree-shaking
- provide types out of the box (for lodash-es, we needed to use a
package provided by DefinitevlyTyped)
- provide CommonJS files as well, so we are no longer forced to use a
trick as we did for lodash-es in the jest configuration of the
integration test (which doesn't provide CommonJS file)
The performance tests were run on Ubuntu 22.
They include results for master a5886d1 and for switching to
es-toolkit.1 parent a1c7c26 commit 3c4c4ea
5 files changed
Lines changed: 20 additions & 51 deletions
File tree
- src/component/mxgraph
- test
- integration
- performance/data/linux
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 | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | | - | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 33 | + | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
| |||
0 commit comments