Closed goszczynskip closed 4 years ago
"yarn test" run locally is passing (run on windows). Althoulgh I don't know if there are some false positives.
the test that fails is yarn prepublishOnly
yarn prepublishOnly
should pass now
ah yes, even simpler than https://github.com/d3/d3-geo-polygon/issues/40#issuecomment-652366638 :) so maybe a solution is possible that would be compatible with both node-canvas@1 and node-canvas@2, using:
Canvas = require("canvas")
if (Canvas.Canvas) Canvas = Canvas.Canvas;
and in package.json we would have canvas: "1 - 2"
Good idea! I've made changes as you requested.
thank you!
Removes node constraint and bumps canvas to "2.6.1".
Links to: #40