RHeactorJS/models

View on GitHub

Showing 1 of 1 total issue

Function constructor has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor (token, $links) {
    super({$context, $contextVersion, $links})
    NonEmptyStringType(token)
    const data = JSON.parse(atobImpl(token.split('.')[1]))
    this.iss = undefined // Issuer
Severity: Minor
Found in src/jsonwebtoken.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language