Merge pull request #296 from CartoDB/nodejs-10

Support Nodejs 10 LTS
This commit is contained in:
Daniel G. Aubert 2018-11-21 10:12:52 +01:00 committed by GitHub
commit 8664c32b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3550 additions and 8 deletions

View File

@ -1,6 +1,8 @@
language: node_js
node_js:
- 6.9.2
- '6'
- '8'
- '10'
before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
addons:

10
NEWS
View File

@ -1,4 +1,12 @@
2.16.3
2.17.0 (2018-mm-dd)
- Use our current fork of mapnik while testing
- Add support for Node 8 & 10
- Support package-lock.json file
v2.16.5
-
v2.16.4
-
2.16.2

3532
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "torque.js",
"version": "2.16.5",
"version": "2.17.0",
"description": "Temporal mapping for CARTO",
"repository": {
"type": "git",
@ -31,18 +31,18 @@
"turf-jenks": "~1.0.1"
},
"devDependencies": {
"@carto/mapnik": "^3.6.2-carto.11",
"browserify": "~7.0.0",
"canvas": "~1.2.1",
"canvas": "^1.6.9",
"leaflet": "1.0.3",
"mapnik": "3.5.14",
"node-qunit-phantomjs": "1.6.0",
"phantomjs-polyfill": "0.0.2",
"qunit": "~0.7.5",
"qunitjs": "1.x",
"request": "~2.53.0",
"sinon": "~1.15.4",
"uglify-js": "1.3.3",
"underscore": "1.8.3",
"sinon": "~1.15.4"
"underscore": "1.8.3"
},
"scripts": {
"test": "make test-all",

View File

@ -1,4 +1,4 @@
var mapnik = require('mapnik');
var mapnik = require('@carto/mapnik');
function compare(buffer, fixtureRelPath) {
save(__dirname + '/../results/' + fixtureRelPath, buffer);