You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will allow to use this package on current platforms easily. It tried to apply this simple patch and it allowed me to run npm install wich was completely failing previously because of my recent node version.
I ran the test and all of them passed correctly, but I don't know how much of the library code is tested.
Tests results
$ npm run test
> @mapbox/[email protected]test
> mocha -R spec --timeout 10000 Closing behavior ✓ should close cleanly 1 (504ms) ✓ should close cleanly 2 (327ms) ✓ should throw with invalid usage (close before getTile) (301ms) ✓ should throw with invalid usage (close after getTile) (324ms) Handling Errors ✓ invalid style (301ms) ✓ invalid font, strict (297ms) ✓ invalid font, non-strict (default) (296ms) ✓ missing data (295ms) ✓ bad style (292ms) ✓ invalid image format (311ms) ✓ invalid image format 2 (315ms) Render getGrid() ✓ validates (44ms) Grid Render Errors ✓ invalid layer (304ms) Info ✓ getInfo() (310ms) ✓ getInfo() with XML string (307ms) ✓ getInfo() with template (304ms) ✓ getInfo() with jpeg format defined (300ms) ✓ creates backend from string with correct internal boolean values 1 ✓ creates backend from string with correct internal boolean values 2 ✓ creates backend from object with correct internal boolean values locking cache ✓ cache works ✓ multiple requests get same response ✓ errors get propagated ✓ multiple error-ed requests get the same response ✓ derived keys get the same response ✓ .clear() ✓ .del() ✓ later requests get a cached response ✓ test cache with timeout=0 metatile ✓ test metatile calculation at z=0 ✓ test metatile calculation at z=1 ✓ test metatile calculation at z=2 Render ✓ getTile() override format getTile() ✓ validates (94ms) getTile() with XML string ✓ validates (92ms) .mapnik ✓ exposes the mapnik binding 36 passing (6s)
The text was updated successfully, but these errors were encountered:
Please consider upgrading node-mapnik to at least 4.5 as it seems to use a lot more stable node extension API:
This will allow to use this package on current platforms easily. It tried to apply this simple patch and it allowed me to run npm install wich was completely failing previously because of my recent node version.
I ran the test and all of them passed correctly, but I don't know how much of the library code is tested.
Tests results
The text was updated successfully, but these errors were encountered: