Skip to content

Commit

Permalink
(feat): upgrade object-hash to support async/await syntax
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
agilgur5 committed Feb 11, 2020
1 parent 9c265b3 commit f486726
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"colors": "1.3.3",
"graphlib": "2.1.7",
"lodash": "4.17.15",
"object-hash": "1.3.1",
"object-hash": "2.0.2",
"rimraf": "3.0.0",
"rollup": "^1.26.3 ",
"rollup-plugin-commonjs": "10.1.0",
Expand Down

0 comments on commit f486726

Please sign in to comment.