mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
(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)
This commit is contained in:
parent
9c265b3df4
commit
9afc8df0a1
6
package-lock.json
generated
6
package-lock.json
generated
@ -956,9 +956,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"object-hash": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/object-hash/-/object-hash-1.3.1.tgz",
|
||||
"integrity": "sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA==",
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/object-hash/-/object-hash-2.0.2.tgz",
|
||||
"integrity": "sha512-b+2AKjAf6uQlxxv8ChHdM+VT4eeX+ZSwv+pk2xIXZWbo+yxn4/En1iC+GHe/OFYa9on0AhFF2PvuAcFHoiiHaA==",
|
||||
"dev": true
|
||||
},
|
||||
"once": {
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user