Skip to content

Commit dd4381e

Browse files
committed
Require Node.js 8
1 parent ed263b9 commit dd4381e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ node_js:
33
- '12'
44
- '10'
55
- '8'
6-
- '6'

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ const has = (array, key) => array.some(x => typeof x === 'string' ? x === key :
77
const cache = new QuickLru({maxSize: 100000});
88

99
const camelCaseConvert = (input, options) => {
10-
options = Object.assign({
11-
deep: false
12-
}, options);
10+
options = {
11+
deep: false,
12+
...options
13+
};
1314

1415
const {exclude} = options;
1516

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "sindresorhus.com"
1111
},
1212
"engines": {
13-
"node": ">=6"
13+
"node": ">=8"
1414
},
1515
"scripts": {
1616
"test": "xo && ava && tsd",
@@ -48,13 +48,13 @@
4848
],
4949
"dependencies": {
5050
"camelcase": "^5.3.1",
51-
"map-obj": "^3.0.0",
52-
"quick-lru": "^1.0.0"
51+
"map-obj": "^4.0.0",
52+
"quick-lru": "^4.0.1"
5353
},
5454
"devDependencies": {
55-
"ava": "^1.4.1",
55+
"ava": "^2.1.0",
5656
"matcha": "^0.7.0",
57-
"tsd": "^0.7.2",
57+
"tsd": "^0.7.3",
5858
"xo": "^0.24.0"
5959
},
6060
"xo": {

0 commit comments

Comments
 (0)