ipfs-shipyard / ipfs-deploy

Zero-Config CLI to Deploy Static Websites to IPFS
Other
1.16k stars 123 forks source link

chore(deps-dev): bump ava from 2.4.0 to 3.10.1 #176

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps ava from 2.4.0 to 3.10.1.

Release notes

Sourced from ava's releases.

3.10.1

It's time for another AVA release 🎉

Restricting when you can update snapshots

When executing a subset of tests, through --match or or .only() or .skip(), you can no longer also update snapshots. This prevents you from accidentally deleting snapshots. Thank you @bunysae for putting this together. f72fab40160a413f4d7ab0208979fe3e721198ea

If you are skipping a test that you can't immediately fix, but you still need to update snapshots, use .failing() instead.

Support for message strings in t.timeout() calls

Thanks to @jonathansamines you can now provide a message string when using t.timeout(). This can be useful if your test depends on some other setup that may not have been completed: ca8ea45587ebefa5584d6a7aa50adf90840701cf

test('foo', t => {
    t.timeout(100, 'make sure database has started');
    // Write your assertions here
});

t.try() does not work in hooks

t.try() has never worked in hooks, but thanks to @okyantoro it now fails properly instead of crashing. d01db61ee5e9785d9f80ad5683cac21db4b96509

t.snapshot() does not really work in hooks either

t.snapshot() sort of works in hooks, but we'll be removing this in AVA 4. You can opt in to this behavior by enabling the disableSnapshotsInHooks experiment. Again thank you @okyantoro d01db61ee5e9785d9f80ad5683cac21db4b96509.

Fixed TypeScript definition for t.like()

The experimental t.like() assertion should now work better with TypeScript.

All changes

See https://github.com/avajs/ava/compare/v3.9.0...v3.10.1 for all changes.

3.9.0

New experiments!

Thanks to @futpib we now have an experimental t.like() assertion 19c4f35fbae740268dedeeb4d450f813f2d5e85e:

In the following example, the map property of value must be deeply equal to that of selector. However nested.qux is ignored, because it's not in selector.

t.like({
    map: new Map([['foo', 'bar']]),
    nested: {
        baz: 'thud',
        qux: 'quux'
    }
</tr></table> ... (truncated)
Commits
  • 07602f5 3.10.1
  • a557bc0 Reinstall XO to fix CI error
  • 7d4aa45 Revert "Use advanced serialization (when available) for test worker communica...
  • 3868611 3.10.0
  • b023a97 Update dependencies
  • d01db61 Detect t.try() usage in hooks; experimentally disable t.snapshot()
  • eee2f7b Fix t.like() selector type
  • b154612 Updates to our self-hosted tests
  • 51fafed Use advanced serialization (when available) for test worker communication
  • ca8ea45 Support assertion message in t.timeout()
  • 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) - `@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](https://app.dependabot.com): - 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[bot] commented 4 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.