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

cartocolor

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cartocolor - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

cartocolor.js

@@ -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": [

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