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

13
19

4.5.2

Diff

Changelog

Source

4.5.2

  • Fixed default scale_denominator value in Map::render(..)` (#952)
  • Set JS objects properties napi_writable for backward compatibility with sinon usage (#954)
artem
published 4.5.1 •

Changelog

Source

4.5.1

  • Fixed 'scale_denominator' default value in VectorTile::render(..)(#952)
  • Fixed wrong arguments order in AsyncComposite + added test (#953)
springmeyer
published 4.5.0 •

Changelog

Source

4.5.0

  • Ported to N-API.
  • Now supporting node v14 using a "universal binary" (same binary will be used for all major node versions)
  • Update mapnik@26d3084ea
  • Ported tests from mocha to tape
  • Upgraded to boost 1.73.0
  • Binaries now compiled with clang++ 10.x
springmeyer
published 4.4.0-napi.1 •

artem
published 4.4.0 •

Changelog

Source

4.4.0

  • Update mapnik@3be9ce8fa (https://github.com/mapnik/mapnik/compare/a0ea7db1a...3be9ce8fa)
    • SVG renderer fixes https://github.com/mapnik/mapnik/pull/4113
    • Add "darkslategray" and "rebeccapurple" named colors (ref: https://drafts.csswg.org/css-color/#typedef-color)
    • Use std::round (ref:https://en.cppreference.com/w/cpp/numeric/math/round) mapnik@ed194a3
    • Move 0.5 up/down rounding into rounding expression (via @lightmare https://github.com/mapnik/mapnik/pull/4113/commits/7f54e947485df0a35e0dab9b5aacea8db2cff88c#r369294323) #4116
    • SVG: only use reflection of the second control point on the previous command relative to the current point as first control point when both last and prev( NOTE: before last command in AGG logic!) are curve commands. This fixes long outstanding SVG rendering bug aka Octocat bug #4115
    • SVG parser: fix typo (stroke gradient was applied instead if fill gradient) mapnik@1a0b1a1e77
    • Add support for scale-factor parameter - useful for debugging SVG issues (ref #4112)
    • Don't attempt to rasterize ARCs with very small sweep_angles, just resort to LINETO (#4112)
    • SVG parser: ix typo in agg_bezier_arc initialisation mapnik@0420b13055
    • SVG parser: use numeric parser for arc flags mapnik@60a33a9b
    • SVG parser: parse arc and sweep flags using special single digit parser, numeric int_ parser was over greedy and didn't handle compact notation produced by svgo (https://github.com/svg/svgo) mapnik@222835e73
    • Use official colospace HSL/HSV converters from boost source tree (BOOST_VERSION > 1_69) mapnik@7f2c8b756a
    • Only push new elements to parenStack when needed #4096
    • Use & mask for array bounds clipping (provided array size is 2^n) mapnik@1edd3b7a930
    • Avoid potential out-of-bounds array access (undefined behaviour) + add c++ C-array size implementation mapnik@dec6bc095081
  • Update protozero to v1.6.8
  • Update geometry.hpp to v1.0.0
  • Update wagyu to 0.5.0
  • Drop support for Node versions less than 10.
  • Consistent output image size compatible with other SVG libraries (#938)
artem
published 4.3.1 •

Changelog

Source

4.3.1

  • Update to mapnik@a0ea7db1a (https://github.com/mapnik/mapnik/compare/da69fdf66...a0ea7db1a)
    • Accept explicit parameter "application_name" in postgis and pgraster datasources https://github.com/mapnik/mapnik/pull/3984
    • Use ST_MakeEnvelope https://github.com/mapnik/mapnik/pull/3319
    • postgis.input: always put decimal point in substituted tokens in SQL https://github.com/mapnik/mapnik/pull/3942
    • Replace MAPNIK_INIT_PRIORITY workaround
    • Ensure 'scaling' and comp-op stored as enumeration_wrappers + fix image scaling property https://github.com/mapnik/mapnik/pull/4066
    • New raster colorizer mode for Terrain-RGB https://github.com/mapnik/mapnik/pull/4058
    • mapnik@831e353c5 SVG parser: better stderr - don't assume fill/stroke ref is a <gradient>, can be a <pattern> also
    • Adaptive smooth https://github.com/mapnik/mapnik/pull/4031
    • CSS parser - use appropriate storage type for hue value (0..320) https://github.com/mapnik/mapnik/issues/4020
    • mapnik@776fa0d2f True global pattern alignment, fixed local alignment
    • mapnik@692fc7f10 render_pattern() needs its own rasterizer
  • Remove remaining "SVG parse error" error message headers
flippmoke
published 4.2.1 •

Changelog

Source

4.2.1

  • Performance improvement in mapnik.blend and mapnik.Image methods by having it hold the event loop less time and copying less data into buffers
  • Added Map.remove_layer method for removing layer from the map.
flippmoke
published 4.2.0 •

Changelog

Source

4.2.0

  • mapnik.Image.resize will now accept non premultiplied images and return them back as non premultiplied images
flippmoke
published 4.1.0 •

Changelog

Source

4.1.0

  • Added offset_width and offset_height optional parameters to the mapnik.Image.resize and mapnik.Image.resizeSync methods.
  • Made mapink.blend() now accept mapnik.Image objects.
artem
published 4.0.2 •

Changelog

Source

4.0.2

  • Update to mapnik@da69fdf66
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