From c2346d59797319c8469dc0cd0cc49f2b82b6c84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 29 Mar 2019 16:09:52 +0100 Subject: [PATCH] Upgrade canvas version to 2.4.1 --- package-lock.json | 33 ++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 34413dc..4e10bed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -530,12 +530,13 @@ "dev": true }, "canvas": { - "version": "1.6.9", - "resolved": "https://registry.npmjs.org/canvas/-/canvas-1.6.9.tgz", - "integrity": "sha1-4/lc7HsWvy1vP8clwC2UDTJY9ps=", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/canvas/-/canvas-2.4.1.tgz", + "integrity": "sha512-SaFomFqDuuuSTScTHQ7nXc5ea71Ieb8ctvwXjR7vzLsBMfp3euTv2xsTY70zIoC5r4sSQZYXv6tiHiORJ4y1vg==", "dev": true, "requires": { - "nan": "^2.4.0" + "nan": "^2.12.1", + "node-pre-gyp": "^0.11.0" } }, "carto": { @@ -1922,9 +1923,9 @@ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" }, "nan": { - "version": "2.11.1", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", - "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.13.2.tgz", + "integrity": "sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw==", "dev": true }, "needle": { @@ -1938,6 +1939,24 @@ "sax": "^1.2.4" } }, + "node-pre-gyp": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz", + "integrity": "sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q==", + "dev": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, "node-qunit-phantomjs": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/node-qunit-phantomjs/-/node-qunit-phantomjs-1.6.0.tgz", diff --git a/package.json b/package.json index e80440d..5923aea 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@carto/mapnik": "^3.6.2-carto.11", "browserify": "^16.2.3", - "canvas": "^1.6.9", + "canvas": "^2.4.1", "leaflet": "1.0.3", "node-qunit-phantomjs": "1.6.0", "phantomjs-polyfill": "0.0.2",