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

cartocolor

Package Overview
Dependencies
Maintainers
2
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 4.0.2 to 5.0.0

dist/cartocolor.cjs

46

package.json
{
"name": "cartocolor",
"version": "4.0.2",
"description": "A module of CartoColors for browserify",
"version": "5.0.0",
"description": "CartoColors: custom color palettes from CARTO",
"license": "CC-BY-4.0",
"type": "module",
"sideEffects": false,
"main": "./dist/cartocolor.cjs",
"exports": {
"require": "./dist/cartocolor.cjs",
"default": "./dist/cartocolor.js"
},
"files": [
"src",
"dist"
],
"keywords": [

@@ -11,6 +23,5 @@ "colors",

"svg",
"d3",
"browserify"
"d3"
],
"homepage": "http://carto.com/",
"homepage": "https://carto.com/",
"repository": {

@@ -20,16 +31,17 @@ "type": "git",

},
"bugs": {
"url": "https://github.com/cartodb/cartocolor/issues",
"email": "support@carto.com"
},
"style": "cartocolor.css",
"dependencies": {
"colorbrewer": "1.0.0"
"colorbrewer": "1.5.6"
},
"files": [
"cartocolor.css",
"cartocolor.js",
"index.js"
],
"main": "index.js"
"devDependencies": {
"esbuild": "^0.21.2"
},
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "esbuild src/index.js --bundle --format=esm --outfile=dist/cartocolor.js --external:colorbrewer",
"build:cjs": "esbuild src/index.js --bundle --format=cjs --outfile=dist/cartocolor.cjs --external:colorbrewer",
"test": "node test/cartocolor.test.js",
"preversion": "yarn build && yarn test",
"version": "rm dist/* && yarn build && git add -u",
"postversion": "git push && git push --tags && npm publish"
}
}

@@ -16,4 +16,5 @@ # CARTOColors

## Licensing
CARTOColors are made available under a [Creative Commons Attribution](https://creativecommons.org/licenses/by/3.0/us/) license.
CARTOColors is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/).
## Credits/Additional Information

@@ -24,2 +25,1 @@ + CARTOColors as a node module inspired by https://github.com/saikocat/colorbrewer

+ CARTOColors includes a color-blind friendly qualitative scheme named [Safe](https://github.com/CartoDB/CartoColor/blob/master/cartocolor.js#L1633-L1733) we included this scheme based on the research and recommendations of [Paul Tol](https://personal.sron.nl/~pault/data/colourschemes.pdf).
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