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

carto

Package Overview
Dependencies
Maintainers
7
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carto - npm Package Compare versions

Comparing version 0.12.1 to 0.13.0

5

CHANGELOG.md
## Changelog
## 0.13.0
* Allows optional args in transforms.
* Bump `mapnik-reference` dependency to 5.1.x.
## 0.12.0

@@ -4,0 +9,0 @@

1

lib/carto/tree/call.js

@@ -81,2 +81,3 @@ (function(tree) {

if (fn !== args.length &&
!(Array.isArray(fn) && _.include(fn, args.length)) &&
// support variable-arg functions like `colorize-alpha`

@@ -83,0 +84,0 @@ fn !== -1) {

@@ -15,2 +15,10 @@ // Carto pulls in a reference from the `mapnik-reference`

ref.mapnikFunctions = generateMapnikFunctions(data);
ref.mapnikFunctions.matrix = [6];
ref.mapnikFunctions.translate = [1, 2];
ref.mapnikFunctions.scale = [1, 2];
ref.mapnikFunctions.rotate = [1, 3];
ref.mapnikFunctions.skewX = [1];
ref.mapnikFunctions.skewY = [1];
ref.required_cache = generateRequiredProperties(data);

@@ -17,0 +25,0 @@ };

4

package.json
{
"name": "carto",
"version": "0.12.1",
"version": "0.13.0",
"description": "Mapnik Stylesheet Compiler",

@@ -41,3 +41,3 @@ "url": "https://github.com/mapbox/carto",

"underscore": "~1.6.0",
"mapnik-reference": "5.0.9",
"mapnik-reference": "5.1.x",
"optimist": "~0.6.0"

@@ -44,0 +44,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