mitre-attack / attack-navigator

Web app that provides basic navigation and annotation of ATT&CK matrices
https://mitre-attack.github.io/attack-navigator
Apache License 2.0
2.01k stars 594 forks source link

Bump jasmine-spec-reporter from 5.0.2 to 7.0.0 in /nav-app #464

Closed dependabot[bot] closed 1 year ago

dependabot[bot] 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


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)