Skip to content

Commit 85d63a8

Browse files
committed
feat: require Node.js 8.3
BREAKING CHANGE: remove support for Node.js < 8.3
1 parent be6326f commit 85d63a8

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: node_js
22

33
node_js:
4+
- 12
45
- 10
56
- 8
6-
- 6
77

88
branches:
99
only:

index.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,12 @@ module.exports = (options = 'default', overrides = {}) => {
165165

166166
options = isString(options) ? hostConfig[options.toLowerCase()] : options;
167167

168-
const opts = Object.assign({}, hostConfig.default, options, overrides, {
169-
actions: Object.assign({}, hostConfig.default.actions, options.actions, overrides.actions),
170-
});
168+
const opts = {
169+
...hostConfig.default,
170+
...options,
171+
...overrides,
172+
actions: {...hostConfig.default.actions, ...options.actions, ...overrides.actions},
173+
};
171174

172175
normalize(opts);
173176

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"xo": "^0.24.0"
2222
},
2323
"engines": {
24-
"node": ">=6"
24+
"node": ">=8.3"
2525
},
2626
"files": [
2727
"lib",

0 commit comments

Comments
 (0)