Skip to content

Commit

Permalink
Require node 6; permit default and rest params and destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed May 25, 2017
1 parent bb831bf commit cb84e67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ See [`bench/README.md`](https://github.com/mapbox/mapbox-gl-js/blob/master/bench
* Classes
* Template strings
* Computed and shorthand object properties
* The following ES6 features are not to be used, in order to maintain support for Node 4.x, IE 11, and older mobile browsers. This may change in the future.
* Default parameters
* Rest parameters
* Spread (`...`) operator
* Destructuring
* The following ES6 features are not to be used, in order to maintain support for IE 11 and older mobile browsers. This may change in the future.
* Spread (`...`) operator (because it requires Object.assign)
* Iterators and generators
* "Library" features such as `Map`, `Set`, `array.find`, etc.
* Modules
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "git://github.com/mapbox/mapbox-gl-js.git"
},
"engines": {
"node": ">=4.0.0"
"node": ">=6.4.0"
},
"dependencies": {
"@mapbox/gl-matrix": "^0.0.1",
Expand Down

0 comments on commit cb84e67

Please sign in to comment.