cartocolor
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -346,11 +346,12 @@ !function() { | ||
var ramps = colorbrewer[r]; | ||
var reversedRamps = {}; | ||
for (var i in ramps) { | ||
ramps[i].reverse(); | ||
reversedRamps[i] = [].concat(ramps[i]).reverse(); | ||
} | ||
if (r in colorbrewer_tags) { | ||
ramps.tags = colorbrewer_tags[r].tags; | ||
reversedRamps.tags = colorbrewer_tags[r].tags; | ||
} | ||
cartocolor['cb_' + r] = ramps; | ||
cartocolor['cb_' + r] = reversedRamps; | ||
} | ||
@@ -357,0 +358,0 @@ |
# Changelog | ||
## Version 2.0.1 | ||
Released 2016-07-05 | ||
- Avoid in-place modification of colorbrewer ramps. | ||
## Version 2.0.0 | ||
@@ -4,0 +10,0 @@ Released 2016-07-05 |
{ | ||
"name": "cartocolor", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A module of CartoColors for browserify", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
19859
358
0