diff --git a/src/commands/npm.ts b/src/commands/npm.ts index e1a04b8..7cb8c74 100644 --- a/src/commands/npm.ts +++ b/src/commands/npm.ts @@ -34,6 +34,7 @@ export default class NPM extends Command { license = data.license; } let dependencies: string = 'None'; + // eslint-disable-next-line no-prototype-builtins if (version !== 'Unknown' && data.versions[version].hasOwnProperty('dependencies') && Object.keys(data.versions[version].dependencies).length > 0) { dependencies = Object.keys(data.versions[version].dependencies).join(', '); }