Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jest-canvas-mock from 2.1.2 to 2.2.0 #171

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps jest-canvas-mock from 2.1.2 to 2.2.0.

Changelog

Sourced from jest-canvas-mock's changelog.

Version 2.2.0

  • Bug: Slice canvas transform value when pushing (#50)
  • Remove support for node 6 and 7
  • switch babel env to target node 8
  • add support for node 13
  • update package versions
  • fix lineWidth bug

Version 2.1.1

  • Feature: Support for ImageData instantiation using a source array (#45)

Version 2.1.0

This minor version bump now has some major snapshot support but is backwards compatible.

Changes:

  • Feature: Add static CanvasRenderingContext2D method: #.__getEvents(ctx)
    • Feature: Every successful modification of the CanvasRenderingContext2D state machine logs an _event
  • Feature: Add static CanvasRenderingContext2D method: #.__getPath(ctx)
    • Feature: Every path call adds a _path item and can be accessed via __getPath(ctx)
    • Feature: beginPath() empties the _path
  • Feature: Add static CanvasRenderingContext2D method: #.__getDrawCalls(ctx)
    • Feature: Every draw call adds a _drawCall item and can be accessed via __getDrawCall(ctx)
  • Feature: Add types/index.d.ts file for tooling types (in jest environment)
  • Feature: Support node 12
  • Docs
    • Updated arc example
    • Added snapshot testing documentation
  • Bug: createLinearGradient now accepts strings
  • Bug: createRadialGradient now accepts strings
  • Bug: globalAlpha now accepts null per Number coercion
  • Feature: Faster finite values checks
  • Feature: Add _path and _events to Path2D
  • Testing: Add and test snapshot outputs

Version 2.0.0

Just publish a stable version.

Version 2.0.0-beta.1

Class Instances

The Version 2.0.0-beta.1 of jest-canvas-mock is a complete overhaul of the mocking strategy entirely. Originally, the canvas.getCanvas('2d') method would return a single object that contained a set of methods without any property definitions. This caused problems for people who wanted to use jest to test and verify instanceof checks.

Now the following expectation works as expected.

... (truncated)
Commits
  • f83decf feat(version): update version
  • b836a8d Merge pull request #52 from jtenner/transform-fix
  • fe6c6f0 fix(changelog): update changelog
  • 0d1c52c fix(linewidth): stackIndex not tested properly
  • 595e206 fix(transform): slice transform on save, node 13
  • d895824 test(snapshot): add snapshot
  • 5337449 feat(clearpath): implement clearpath
  • b90f2b3 feat(mock): support clearing draw calls and events
  • See full diff in compare view
Maintainer changes

This version was pushed to npm by jtenner, a new releaser for jest-canvas-mock since your current version.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 11, 2019
Copy link
Contributor

@pchittum pchittum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked files Looks ok.

@pchittum pchittum merged commit c6e5c52 into master Dec 4, 2019
@pchittum pchittum deleted the dependabot/npm_and_yarn/jest-canvas-mock-2.2.0 branch December 4, 2019 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant