Comparing version 0.12.1 to 0.13.0
## Changelog | ||
## 0.13.0 | ||
* Allows optional args in transforms. | ||
* Bump `mapnik-reference` dependency to 5.1.x. | ||
## 0.12.0 | ||
@@ -4,0 +9,0 @@ |
@@ -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 @@ }; |
{ | ||
"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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194896
3351
+ Addedmapnik-reference@5.1.1(transitive)
- Removedmapnik-reference@5.0.9(transitive)
Updatedmapnik-reference@5.1.x