Skip to content

Commit 9afc8df

Browse files
committed
(fix): upgrade object-hash to support async/await syntax
- object-hash v2.0.2 adds/fixes support for async functions - object-hash v2 has no breaking changes, just drops testing of Node < 6 - Node 5 was EOL April 2018, and on top of that Node 6 was EOL April 2019, and Node 8 was EOL December 2019, so this is still more tested support than is necessary - objectHashIgnoreUnknownHack isn't useful for its original purpose to workaround this, but is still useful for other types of objects/syntaxes that object-hash may not handle yet (e.g. async generator functions), so leave the hack in - might be good to add a warning though? so that those who used this option for async/await can upgrade and remove it (and have a stable cache again)
1 parent 9c265b3 commit 9afc8df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"colors": "1.3.3",
5353
"graphlib": "2.1.7",
5454
"lodash": "4.17.15",
55-
"object-hash": "1.3.1",
55+
"object-hash": "2.0.2",
5656
"rimraf": "3.0.0",
5757
"rollup": "^1.26.3 ",
5858
"rollup-plugin-commonjs": "10.1.0",

0 commit comments

Comments
 (0)