cartocolor
Advanced tools
Comparing version 4.0.2 to 5.0.0
{ | ||
"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). | ||
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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
71784
7
0
3087
Yes
1
2
+ Addedcolorbrewer@1.5.6(transitive)
- Removedcolorbrewer@1.0.0(transitive)
Updatedcolorbrewer@1.5.6