Commit 1aa5931
committed
refactor: remove clonedeep dependency
This replacement with a shallow clone might look odd, but only one
value at the root level is mutated. Also, because of a quirk with
how clonedeep works with the AssetCss and AssetJs classes in
podium utils, the entries in the css and js arrays weren't actually
cloned – instead the values were copied.
See podium-lib/utils#289 for a more thorough
explanation with links to code.1 parent 79a58e9 commit 1aa5931
3 files changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
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 | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
0 commit comments