@ca-plant-list/ca-plant-list 0.1.16 → 0.1.17

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.
package/data/genera.json CHANGED
@@ -2163,6 +2163,10 @@
2163
2163
  "family": "Caryophyllaceae",
2164
2164
  "id": "10842"
2165
2165
  },
2166
+ "Sabulina": {
2167
+ "family": "Caryophyllaceae",
2168
+ "id": "69193"
2169
+ },
2166
2170
  "Sagina": {
2167
2171
  "family": "Caryophyllaceae",
2168
2172
  "id": "10854"
package/lib/taxon.js CHANGED
@@ -70,12 +70,8 @@ class Taxon {
70
70
  if ( !calfloraID ) {
71
71
  return;
72
72
  }
73
- return HTML.getLink(
74
- "https://www.calflora.org/app/taxon?crn=" + calfloraID,
75
- "Calflora",
76
- {},
77
- true
78
- );
73
+ const link = HTML.getLink( "https://www.calflora.org/app/taxon?crn=" + calfloraID, "Calflora", {}, true );
74
+ return this.#cfSyn ? ( link + " (" + this.#cfSyn + ")" ) : link;
79
75
  }
80
76
 
81
77
  getCESA() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ca-plant-list/ca-plant-list",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "Tools to create Jekyll files for a website listing plants in an area of California.",
5
5
  "license": "MIT",
6
6
  "repository": {