color-name-list 9.7.0 → 9.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12841,10 +12841,6 @@
12841
12841
  <hex>#edebe1</hex>
12842
12842
  </color>
12843
12843
  <color>
12844
- <name>Savannah Grass</name>
12845
- <hex>#babc72</hex>
12846
- </color>
12847
- <color>
12848
12844
  <name>Savory Salmon</name>
12849
12845
  <hex>#d19c97</hex>
12850
12846
  </color>
@@ -9628,9 +9628,6 @@
9628
9628
  -
9629
9629
  name:"Sauna Steam"
9630
9630
  hex:"#edebe1"
9631
- -
9632
- name:"Savannah Grass"
9633
- hex:"#babc72"
9634
9631
  -
9635
9632
  name:"Savory Salmon"
9636
9633
  hex:"#d19c97"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "color-name-list",
3
- "version": "9.7.0",
3
+ "version": "9.7.1",
4
4
  "description": "long list of color names",
5
5
  "main": "dist/colornames.json",
6
6
  "browser": "dist/colornames.umd.js",
package/scripts/build.js CHANGED
@@ -64,6 +64,18 @@ colorsSrc.values['name'].forEach((name) => {
64
64
  }
65
65
  });
66
66
 
67
+ // loop good name markers
68
+ colorsSrc.values['good name'].forEach((str) => {
69
+ // check for spaces
70
+ if (spacesValidation.test(str)) {
71
+ log('"good name" marker', str, `${str} found either a leading or trailing space (or both)`);
72
+ }
73
+
74
+ if (!(str == 'x' || str == '')) {
75
+ log('"good name" marker', str, `${str} must be a lowercase "x" character or empty`);
76
+ }
77
+ });
78
+
67
79
  showLog();
68
80
 
69
81
  if (isTestRun) {
@@ -22952,7 +22952,7 @@ Sauvignon,#f4eae4,
22952
22952
  Sauvignon Blanc,#b18276,
22953
22953
  Savanna,#874c44,
22954
22954
  Savannah,#d1bd92,
22955
- Savannah Grass,#babc72,fv
22955
+ Savannah Grass,#babc72,
22956
22956
  Savannah Moss,#47533f,
22957
22957
  Savannah Sun,#ffb989,
22958
22958
  Saveloy,#aa2200,