From 286473fadb50e5fdb77b5497521bfc4afd08d6ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Mon, 29 Oct 2018 17:48:24 +0100 Subject: [PATCH] Downgrade canvas to version 1.6.9 --- package-lock.json | 27 ++++----------------------- package.json | 2 +- 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 167d646..a3c77e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -565,13 +565,12 @@ "dev": true }, "canvas": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/canvas/-/canvas-2.0.1.tgz", - "integrity": "sha512-aVESjDBMXGRL+aZqjFtxMVOg8KzHhNcKIscoeC8OROccmApKOriHsnySxq228Kc+3tzB9Qc6tzD4ukp9Zjwz1Q==", + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/canvas/-/canvas-1.6.9.tgz", + "integrity": "sha1-4/lc7HsWvy1vP8clwC2UDTJY9ps=", "dev": true, "requires": { - "nan": "^2.11.1", - "node-pre-gyp": "^0.11.0" + "nan": "^2.4.0" } }, "carto": { @@ -2114,24 +2113,6 @@ "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 12cf271..f66b316 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@carto/mapnik": "^3.6.2-carto.11", "browserify": "~7.0.0", - "canvas": "^2.0.1", + "canvas": "^1.6.9", "leaflet": "1.0.3", "node-qunit-phantomjs": "1.6.0", "phantomjs-polyfill": "0.0.2",