We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f5d494 commit 011023bCopy full SHA for 011023b
package.json
@@ -68,7 +68,7 @@
68
"rollup-plugin-node-resolve": "^3.4.0",
69
"rollup-plugin-replace": "^2.0.0",
70
"rollup-plugin-terser": "^3.0.0",
71
- "xo": "^0.23.0"
+ "xo": "^0.20.3"
72
},
73
"dependencies": {
74
"invariant": "^2.2.4",
src/utils/ownKeys.js
@@ -2,7 +2,7 @@ import isMap from './isMap';
2
3
export default function ownKeys(object) {
4
if (isMap(object)) {
5
- return [...object.keys()];
+ return Array.from(object.keys());
6
}
7
8
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
0 commit comments