Skip to content

Commit

Permalink
Bump node dependency to 8.9.0
Browse files Browse the repository at this point in the history
6.9.0 is EOL next month and our defaultConfig stub already uses features not supported in 6.x, which means I either had to change that file to use Object.assign instead of spread, or bump our dependency.

Would rather not have to write prehistoric JS just to support an almost-EOL version.
  • Loading branch information
adamwathan committed Mar 29, 2019
1 parent c90d55c commit b2ad6a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@babel/preset-env",
{
"targets": {
"node": "6.9.0"
"node": "8.9.0"
}
}
]
Expand All @@ -78,6 +78,6 @@
]
},
"engines": {
"node": ">=6.9.0"
"node": ">=8.9.0"
}
}
7 changes: 4 additions & 3 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,10 @@ module.exports = {
'4': '4px',
'8': '8px',
},
borderColor: theme => {
return global.Object.assign({ default: theme('colors.gray.300', 'currentColor') }, theme('colors'))
},
borderColor: theme => ({
...theme('colors'),
default: theme('colors.gray.300', 'currentColor'),
}),
borderRadius: {
none: '0',
sm: '.125rem',
Expand Down

0 comments on commit b2ad6a4

Please sign in to comment.