Comparing version 6.2.0 to 6.3.0-next.1585540363.fdba639c531008658edfc010dccdcb89f1fe8140
@@ -163,3 +163,3 @@ /** Comparator for sorting fellows in an array */ | ||
if (typeof fellow === 'string') { | ||
const match = /^([^<(]+)\s*(?:<(.+?)>)?\s*(?:\((.+?)\))?$/.exec(fellow) | ||
const match = /^([^<(]+)\s*(?:<(.*?)>)?\s*(?:\((.*?)\))?$/.exec(fellow) | ||
if (!match) { | ||
@@ -324,3 +324,5 @@ throw new Error('Invalid fellow string') | ||
} | ||
parts.push(`(${this.url})`) | ||
if (this.url) { | ||
parts.push(`(${this.url})`) | ||
} | ||
} | ||
@@ -327,0 +329,0 @@ return parts.join(' ') |
@@ -166,3 +166,3 @@ 'use strict' | ||
if (typeof fellow === 'string') { | ||
const match = /^([^<(]+)\s*(?:<(.+?)>)?\s*(?:\((.+?)\))?$/.exec(fellow) | ||
const match = /^([^<(]+)\s*(?:<(.*?)>)?\s*(?:\((.*?)\))?$/.exec(fellow) | ||
if (!match) { | ||
@@ -327,3 +327,5 @@ throw new Error('Invalid fellow string') | ||
} | ||
parts.push(`(${this.url})`) | ||
if (this.url) { | ||
parts.push(`(${this.url})`) | ||
} | ||
} | ||
@@ -330,0 +332,0 @@ return parts.join(' ') |
# History | ||
## v6.3.0 2020 March 30 | ||
- Do not fail hard on malformed text/string entries | ||
## v6.2.0 2020 March 27 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "fellow", | ||
"version": "6.2.0", | ||
"version": "6.3.0-next.1585540363.fdba639c531008658edfc010dccdcb89f1fe8140", | ||
"description": "Fellow is a package for creating people that can be unified by their shared values via a singleton list on the class", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/bevry/fellow", |
@@ -55,3 +55,3 @@ <!-- TITLE/ --> | ||
<script type="module"> | ||
import pkg from '//cdn.pika.dev/fellow/^6.2.0' | ||
import pkg from '//cdn.pika.dev/fellow/^6.3.0' | ||
</script> | ||
@@ -64,3 +64,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//unpkg.com/fellow@^6.2.0' | ||
import pkg from '//unpkg.com/fellow@^6.3.0' | ||
</script> | ||
@@ -73,3 +73,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//dev.jspm.io/fellow@6.2.0' | ||
import pkg from '//dev.jspm.io/fellow@6.3.0' | ||
</script> | ||
@@ -76,0 +76,0 @@ ``` |
@@ -199,3 +199,3 @@ /** Comparator for sorting fellows in an array */ | ||
if (typeof fellow === 'string') { | ||
const match = /^([^<(]+)\s*(?:<(.+?)>)?\s*(?:\((.+?)\))?$/.exec(fellow) | ||
const match = /^([^<(]+)\s*(?:<(.*?)>)?\s*(?:\((.*?)\))?$/.exec(fellow) | ||
if (!match) { | ||
@@ -375,3 +375,5 @@ throw new Error('Invalid fellow string') | ||
} | ||
parts.push(`(${this.url})`) | ||
if (this.url) { | ||
parts.push(`(${this.url})`) | ||
} | ||
} | ||
@@ -378,0 +380,0 @@ return parts.join(' ') |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
53478
1062
1