runtime: polyfill Object.values()

Minimum supported Node version is 6.9.0, but Object.values() was introduced in
Node < 7. Let's use a polyfill if needed.

This will be removed when minimum supported Node version is raised to 8.9.0.

Fixes #3459
This commit is contained in:
muxator 2018-08-15 22:34:05 +02:00
parent 7a6d969537
commit fc14f60a4b
2 changed files with 17 additions and 0 deletions

View file

@ -45,6 +45,7 @@
"log4js": "0.6.35",
"measured-core": "1.11.2",
"npm": ">=4.0.2",
"object.values": "^1.0.4",
"request": "2.83.0",
"resolve": "1.1.7",
"security": "1.0.0",