Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mapnik

Package Overview
Dependencies
Maintainers
9
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapnik - npm Package Versions

1
19

4.0.1

Diff

Changelog

Source

4.0.1

  • Updated mapnik-vector-tile to fix strange clipping in vector tiles https://github.com/mapnik/node-mapnik/issues/892
  • Added ability to release the underlying buffer from a vector tile when using getData method so no memory is copied.
springmeyer
published 4.0.0 •

Changelog

Source

4.0.0

  • Added support for node v10
  • Stop bundling node-pre-gyp
  • Upgraded to mapnik@a2f5969 (pre-release master)
    • See https://github.com/mapnik/mapnik/wiki/API-changes-between-v3.0-and-v3.1 for changes
  • Upgraded to protozero@1.6.2 (and also now pulling via submodule)
  • Upgraded to mapnik-vector-tile@2.1.1 (https://github.com/mapbox/mapnik-vector-tile/blob/master/CHANGELOG.md#211)
  • Pass variables to replace tokens in query (https://github.com/mapnik/node-mapnik/pull/809)
  • Changed SVG parsing behavior to respect strict mode, and default to off.
mapsam
published 3.7.3-svg1 •

gretacb
published 3.7.2 •

Changelog

Source

3.7.2

  • Upgraded to Mapnik v3.0.20
flippmoke
published 3.7.1 •

Changelog

Source

3.7.1

  • Mapnik 3.7.0 was not properly published to npm with node-pre-gyp. Releasing again with fix.
  • Fix to SSE_MATH flag during building
flippmoke
published 3.7.0 •

Changelog

Source

3.7.0

Updated to 3.0.18 of mapnik. See here.

  • Updated to mapnik-vector-tile@1.6.1
  • Removed windows support (https://github.com/mapnik/node-mapnik/issues/848)
flippmoke
published 3.6.2 •

Changelog

Source

3.6.2

Updated to 3.0.15 of mapnik. The full changelog for this release is located here.

flippmoke
published 3.6.1 •

Changelog

Source

3.6.1

Updated for a fix associated with mapnik-vector-tile where images could be requested that would have a width or height of zero resulting in exceptions.

Several fixes associated with different mapnik by updating to use 3.0.14. Please see mapnik change log for specifics. In general note worthy changes from mapnik include stricter geojson parsing, fixes for raster plugin, fixes to image scaling, changing the meaning of filter-factor, and improvements to the the TIFF decoder.

Due to changes in the mapnik core version during this update you should see some changes in the image rescaling of raster and gdal plugin source data. This will definitely change the expected output. This is due to fixes in long standing bugs in the mapnik library.

  • Now supporting node v8
  • Updated to mapnik-vector-tile@1.4.0
  • Mapnik minimum version updated to 3.0.14. Does not work with mapnik 3.1.x currently.
  • Fixed tests around zlib compression and decompression when comparing to node's implementation
  • Fixes rare situation of seg faults during mapnik-vector-tile image processing.
  • Corrects the resolution of images in mapnik-vector-tile when using parameters from postgis plugin.
  • Updated to use font_engine instance() method explicitely, reflecting on changes brought by 3688
flippmoke
published 3.6.0 •

Changelog

Source

3.6.0

This release has major performance and stability improvements.

The biggest change is the move to https://github.com/mapbox/wagyu for clipping polygons, which is faster and results in more robust results than the previous implementation based off the "clipper" http://www.angusj.com/delphi/clipper.php. The "clipper" was known to hang on very large polygons and could output self-intersecting polygons.

The second largest change is the update of all major C/C++ dependencies. The changelogs for each are listed below. The highlights are 1) the performance improvements in webp 1.6.0, 2) the many crashes fixed in harfbuzz (https://github.com/behdad/harfbuzz/issues/139), and critical security bugs fixed in libpng, libjpeg, and libtiff.

The third most important set of changes were to node-mapnik directly: for performance many functions now can premultiply as part of another async operation (to avoid needing an additional threadpool access for async premultiply - this matters under load when the threadpool may be full since access can block). And many functions that allocate images now protect from extreme allocation that could hang a machine and result in OOM. Additionally the address sanitizer caught several cases of undefined behavior.

  • Added support for node v7
  • Updated to 1.3.0 of Mapnik Vector Tile (https://github.com/mapbox/mapnik-vector-tile/blob/master/CHANGELOG.md#130)
  • Removed Angus Clipper and replaced with Wagyu v0.4.2 (https://github.com/mapbox/wagyu)
  • Upgraded to protozero@1.5.1
  • Upgraded to mapnik-vector-tile@1.3.0
  • Changed build system to use mason instead of mapnik-packaging
  • Added docs for Map#queryPoint and Map#queryMapPoint, #701
  • Added docs for plugins
  • Fixed potential abort due to unhandled error in Mapnik when passing invalid image dimensions
  • Now limiting size of image internally allocated for image.fromSVGBytes and image.fromSVG, #709 Default max_size is 2046x2046. Pass max_size option to customize.
  • Added max_size limitation + premultiply option to Image.fromBytes, #720
  • Optimized VectorTile.query to use fewer allocations
  • Fixed potential overflow in Image.fromSVG, refs #740
  • Fixed support for generating Vector Tiles at > z30, #730
  • Fixed invalid casts detected by address sanitizer, #739
  • Binaries compiled with clang-3.9 and requiring at least GLIBCXX_3.4.21 from libstdc++ (https://github.com/mapnik/node-mapnik#depends)
  • Binaries updated to use mapnik v3.0.13, see changelog.
  • Updated dependency versions (also visible in install_mason.sh):
    • jpeg_turbo 1.5.1 (previously 1.5.0 | https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/1.5.1)
    • libpng 1.6.28 (previously 1.6.24 | http://www.libpng.org/pub/png/libpng.html)
    • libtiff 4.0.7 (previously 4.0.6 | http://www.simplesystems.org/libtiff/v4.0.7.html)
    • icu 57.1 (previously 56.1 | http://site.icu-project.org/download/57)
    • proj 4.9.3 (previously 4.9.2 | https://github.com/OSGeo/proj.4/blob/18e6f047af7962a6da4ae3d6122034db4f8fe935/NEWS#L1)
    • pixman 0.34.0 (no change)
    • cairo 1.14.8 (previously 1.14.6 | https://www.cairographics.org/news/cairo-1.14.8/)
    • webp 0.6.0 (previously 0.5.1 | https://chromium.googlesource.com/webm/libwebp/+/v0.6.0)
    • libgdal 2.1.3 (previously 2.1.1 | https://trac.osgeo.org/gdal/wiki/Release/2.1.3-News)
    • boost 1.63.0 (previously 1.61.0 | http://www.boost.org/users/history/version_1_63_0.html)
    • freetype 2.7.1 (previously 2.6.5 | https://sourceforge.net/projects/freetype/files/freetype2/2.7.1/)
    • harfbuzz 1.4.2 (previously 1.3.0 | https://github.com/behdad/harfbuzz/blob/8568588202dd718b089e43cd6d46f689c706f665/NEWS#L29)
springmeyer
published 3.5.14 •

Changelog

Source

3.5.14

  • Added support for node v6.x
  • Now persisting image buffer in mapnik.Image.fromBufferSync to prevent undefined behavior if buffer were to go out of scope (#677)
  • Upgraded to mapnik-vector-tile@1.2.2
  • Upgraded to protozero@1.4.2
  • Added typeName() to mapnik.Geometry. This returns the GeoJSON type name of a geometry (@davidtheclark).
  • Fixed potential unsigned integer overflow in mapnik.blend
  • Binaries compiled with clang-3.8 and now requiring >= GLIBCXX_3.4.21 from libstdc++ (https://github.com/mapnik/node-mapnik#depends)
  • Binaries updated to use mapnik v3.0.12, see changelog.
  • Binaries updated to use mapnik-packaging@7862fb9:
  • icu 56.1
  • boost 1.61.0
  • sqlite 3140100
  • freetype 2.6.5
  • harfbuzz 1.3.0
  • proj 4.9.2
  • libpng 1.6.24
  • libtiff 4.0.6
  • webp 0.5.1
  • jpeg-turbo 1.5.0
  • libpq 9.4.5
  • cairo 1.14.6
  • pixman 0.34.0
  • gdal 2.1.1
  • expat 2.2.0
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc