New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

color-name-list

Package Overview
Dependencies
Maintainers
2
Versions
389
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-name-list - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

5

package.json
{
"name": "color-name-list",
"version": "3.4.1",
"version": "3.4.2",
"description": "long list of color names",

@@ -9,6 +9,5 @@ "main": "dist/colornames.json",

"get-new-colors": "curl 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQube6Y0wHyEtJnjg0eU3N7VseoxVnD4L9uDqvWZdl_tzzrHDVN10IPP7cdFipX8j70atNMLfPCB0Q6/pub?gid=40578722&single=true&output=csv' -o src/colornames.csv",
"count-colors": "sed -i -E \"s/__[0-9^]+__/__`awk 'END {print NR}' src/colornames.csv`__/g\" README.md",
"test": "node scripts/build.js --testOnly",
"clean-dist-folder": "rm -rf dist && mkdir dist",
"build": "npm run clean-dist-folder && node scripts/build.js && npm run count-colors",
"build": "npm run clean-dist-folder && node scripts/build.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",

@@ -15,0 +14,0 @@ "start": "node scripts/server.js"

10

README.md

@@ -1,2 +0,2 @@

# __15931__ color-names
# __15930__ color-names

@@ -10,5 +10,5 @@ <img align="right" height="200" width="200" src="https://meodai.github.io/color-names/logo/cockatoo-fill.svg">

[![license](https://img.shields.io/npm/l/color-name-list.svg?colorB=ff77b4)](https://github.com/meodai/color-names/blob/master/LICENSE)
[![color count](https://img.shields.io/badge/__15931__-colors-orange.svg)](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
[![color count](https://img.shields.io/badge/__15930__-colors-orange.svg)](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
A handpicked list of __15931__ unique color names from various sources and thousands of user submissions. [Try it yourself](http://codepen.io/meodai/full/mEvZRx/) or read [the full list](https://docs.google.com/spreadsheets/d/14ny2oB7g5Tof9TmKiaaDFv25XSCRt-LlBRJhIDz_3Mo/pubhtml?gid=40578722).
A handpicked list of __15930__ unique color names from various sources and thousands of user submissions. [Try it yourself](http://codepen.io/meodai/full/mEvZRx/) or read [the full list](https://docs.google.com/spreadsheets/d/14ny2oB7g5Tof9TmKiaaDFv25XSCRt-LlBRJhIDz_3Mo/pubhtml?gid=40578722).

@@ -25,3 +25,3 @@ > The names of color function like a thread attached to a frightfully slender needle, capable of stitching together our most delicate emotions and memories. When the needle hits the target, we feel either pleasure or emathy. **Kenya Hara – White**

### color count: __15931__ 🎉
### color count: __15930__ 🎉

@@ -35,3 +35,3 @@ ### [Color distribution](https://codepen.io/meodai/full/zdgXJj/) 🛰

- Thousands of user submissions [Twitter](https://codepen.io/meodai/full/ZXQzLb/)/[Google Docs](https://docs.google.com/forms/d/e/1FAIpQLSfbS5D6owA4dQupJJ-6qhRzuxkjX9r2AliPMg-VR2V3NpGkQg/viewform)/[Github](#contributors-)
- [Wikipedia list of named colors](https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F)
- [Wikipedia list of named colors](https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F) (9 May 2017)
- [CSS/HTML color names](https://developer.mozilla.org/en/docs/Web/CSS/color_value)

@@ -38,0 +38,0 @@ - [ntc.js](http://chir.ag/projects/ntc/)

@@ -19,2 +19,3 @@ const fs = require('fs');

const fileNameSrc = 'colornames';
const readmeFileName = 'README.md';

@@ -113,2 +114,11 @@ const sortBy = 'name';

// adapts the count in the readme file
const readme = fs.readFileSync(
path.normalize(`${baseFolder}${readmeFileName}`)
).toString();
fs.writeFileSync(
path.normalize(`${baseFolder}${readmeFileName}`),
readme.replace(/__\d+__/g, `__${colorsSrc.entires.length}__`)
);
/**

@@ -115,0 +125,0 @@ * outputs the collected logs

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