Updated dependencies not locked by require.
This commit is contained in:
@@ -82,7 +82,7 @@ function convertApi(rawInput, fromOrTo, to) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const input = decode(rawInput); // remove html entities, e.g. 5' 8" for 5' 8"
|
||||
const input = typeof rawInput === 'string' ? decode(rawInput) : rawInput; // remove html entities, e.g. 5' 8" for 5' 8"
|
||||
|
||||
try {
|
||||
if (typeof input === 'string' && to === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user