Skip to content

Commit 011023b

Browse files
committed
rolling back xo
1 parent 4f5d494 commit 011023b

File tree

3 files changed

+159
-220
lines changed

3 files changed

+159
-220
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"rollup-plugin-node-resolve": "^3.4.0",
6969
"rollup-plugin-replace": "^2.0.0",
7070
"rollup-plugin-terser": "^3.0.0",
71-
"xo": "^0.23.0"
71+
"xo": "^0.20.3"
7272
},
7373
"dependencies": {
7474
"invariant": "^2.2.4",

src/utils/ownKeys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import isMap from './isMap';
22

33
export default function ownKeys(object) {
44
if (isMap(object)) {
5-
return [...object.keys()];
5+
return Array.from(object.keys());
66
}
77

88
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {

0 commit comments

Comments
 (0)