OneIdentity / IdentityManager.Imx

HTML5 source code for Identity Manager web apps
Other
28 stars 109 forks source link

Bump jasmine-spec-reporter from 5.0.2 to 7.0.0 in /imxweb #38

Closed RaffiMezaduryanQuest closed 2 years ago

RaffiMezaduryanQuest commented 2 years ago

Bumps jasmine-spec-reporter from 5.0.2 to 7.0.0.

Release notes

Sourced from jasmine-spec-reporter's releases.

v7.0.0

Bugfix

  • 'SpecReporter' is not assignable to type 'Reporter | CustomReporter' #588

Breaking change

Update signature of CustomReporterResult to fix collision with new jasmine properties

Before:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  duration?: string;
}

Now:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  _jsr?: {
    formattedDuration?: string;
  };
}

v6.0.0

Feature

  • Use colors/safe #538

Breaking change

String prototype does not contain color properties anymore, colors must now be applied with the new theme component available as a field in custom display processors.

Before:

class MyProcessor extends DisplayProcessor {
    public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
        return "OK ".successful + log;
    }
}

Now:

class MyProcessor extends DisplayProcessor {
    public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
        return this.theme.successful("OK ") + log;
    }
}
</tr></table> 

... (truncated)

Changelog

Sourced from jasmine-spec-reporter's changelog.

7.0.0

Bugfix

  • 'SpecReporter' is not assignable to type 'Reporter | CustomReporter' #588

Breaking change

Update signature of CustomReporterResult to fix collision with new jasmine properties

Before:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  duration?: string
}

Now:

export interface CustomReporterResult extends jasmine.CustomReporterResult {
  _jsr?: {
    formattedDuration?: string
  }
}

6.0.0

Feature

  • Use colors/safe #538

Breaking change

String prototype does not contain color properties anymore, colors must now be applied with the new theme component available as a field in custom display processors.

Before:

class MyProcessor extends DisplayProcessor {
  public displaySuccessfulSpec(spec: CustomReporterResult, log: string): string {
    return 'OK '.successful + log
  }
}

Now:

... (truncated)

Commits
  • bdd0346 7.0.0
  • 000ead1 💥 update jasmine types
  • eca3f45 🔼 update dependencies
  • c7a4323 🔼 update node version
  • 93e5a28 [Security] Bump y18n from 4.0.0 to 4.0.1
  • 5712600 Bump jasmine from 3.6.3 to 3.6.4
  • 0484090 Bump @​types/node from 14.14.14 to 14.14.33
  • 28fd33a Bump @​types/node from 14.14.13 to 14.14.14
  • 3d17586 Bump diff from 4.0.2 to 5.0.0
  • a963a8b Bump jasmine from 3.6.1 to 3.6.3
  • Additional commits viewable in compare view