Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const nearby = (l) => {
const r = parse.nearby(l)
if (r.id) r.id = to12Digit(r.id.replace(leadingZeros, ''))
if ('products' in r) r.products = util.products.parseBitmask(r.products)
return r
}