fand / veda

⚡VJ / Live Coding on Atom⚡
http://veda.gl/
MIT License
509 stars 34 forks source link

Update dependency ava to v2 - autoclosed #139

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change
ava (source) devDependencies major 1.4.1 -> 2.2.0

Release Notes

avajs/ava ### [`v2.2.0`](https://togithub.com/avajs/ava/releases/v2.2.0) [Compare Source](https://togithub.com/avajs/ava/compare/v2.1.0...v2.2.0) #### Enhancements You can now specify an alternative config file, using the `--config` CLI argument. This is useful if you want to run unit tests separately from integration tests, since you can have a config file specific to your integration tests which specifies different glob patterns. [`2dae2bf`](https://togithub.com/avajs/ava/commit/2dae2bfaf4b4ae53700fa439f34923b5a2c35a83) #### Bug fixes We're now faking the new [`hasColors()`](https://nodejs.org/api/tty.html#tty_writestream_hascolors_count_env) method for better compatibility with Node.js 12. [`d399797`](https://togithub.com/avajs/ava/commit/d3997971a42a6c8e5599d16c8c457c792ce943c6) #### Node.js 11 We've removed Node.js 11 from our test matrix. You should upgrade to Node.js 12. [`90acbb9`](https://togithub.com/avajs/ava/commit/90acbb93ca0d92aeedd2b8101a3692ef3b864dc7) #### All changes [`v2.1.0...v2.2.0`](https://togithub.com/avajs/ava/compare/v2.1.0...v2.2.0) #### Thanks Thank you [@​langri-sha](https://togithub.com/langri-sha), [@​keyspress](https://togithub.com/keyspress), [@​cdaringe](https://togithub.com/cdaringe) and [@​okyantoro](https://togithub.com/okyantoro). We couldn't have done this without you! #### Get involved We welcome new contributors. AVA is a friendly place to get started in open source. We have a [great article](https://medium.com/@​vadimdemedes/making-your-first-contribution-de6576ddb190#.umxr7id07) on getting started contributing and a comprehensive [contributing guide](https://togithub.com/avajs/ava/blob/master/contributing.md). ### [`v2.1.0`](https://togithub.com/avajs/ava/releases/v2.1.0) [Compare Source](https://togithub.com/avajs/ava/compare/v2.0.0...v2.1.0) #### Bug fixes - AVA's TypeScript definition now explicitly references the Node.js definition [`bb44da7`](https://togithub.com/avajs/ava/commit/bb44da714bf8c1d7f18ae581aeb292b3cd0d0cf0) #### Enhancements - Did you know you can provide human-readable timeout values? We've now documented this. [`486acaf`](https://togithub.com/avajs/ava/commit/486acaf41aa632a2672722f62bc4edfa55a2931c) - We're now including all stack trace lines in the TAP output (though we still pre-process them). [`ac212ba`](https://togithub.com/avajs/ava/commit/ac212ba1a16d3506bbd8362c511fb3fa00253e17) - Logs from successful hooks are now included in the TAP output. [`007c7af`](https://togithub.com/avajs/ava/commit/007c7af55a65983cb2ebd6170f31b43f468216ea) - Our ESLint plugin helper has been updated to allow extensions and glob patterns to be overridden [`b3c9ea7`](https://togithub.com/avajs/ava/commit/b3c9ea7161bd94b77f3ca25b9a51d9d9c402741b) #### All changes [`v2.0.0...v2.1.0`](https://togithub.com/avajs/ava/compare/v2.0.0...v2.1.0) #### Thanks Thank you [@​anishkny](https://togithub.com/anishkny), [@​yovasx2](https://togithub.com/yovasx2) and [@​mihai-dinu](https://togithub.com/mihai-dinu). We couldn't have done this without you! #### Get involved We welcome new contributors. AVA is a friendly place to get started in open source. We have a [great article](https://medium.com/@​vadimdemedes/making-your-first-contribution-de6576ddb190#.umxr7id07) on getting started contributing and a comprehensive [contributing guide](https://togithub.com/avajs/ava/blob/master/contributing.md). ### [`v2.0.0`](https://togithub.com/avajs/ava/releases/v2.0.0) [Compare Source](https://togithub.com/avajs/ava/compare/v1.4.1...v2.0.0) #### Breaking changes ##### AVA now requires at least Node.js 8.9.4 Per the Node.js [release schedule](https://togithub.com/nodejs/Release), the 6.x releases reach end of live on April 30th. Consequently we've removed support in AVA. We are now testing with Node.js 12 though. [`3a4afc6`](https://togithub.com/avajs/ava/commit/3a4afc6cf35aeffb6b019c6b75fa9b8e071bb53d) ##### Test file and helper selection We've been working on simplifying how test files and helpers are selected. First off, the `files` option now only accepts glob patterns. If you configured it with directories before, please add `/**/*` to get the previous behavior. The `files` and `sources` options must now be arrays containing at least one pattern. It's no longer possible to override a default exclusion pattern, but [we're looking at making these configurable separately](https://togithub.com/avajs/ava/issues/2106). AVA used to treat all files inside a `helpers` directory as test helpers. Finding these files could be really slow, however, and it also meant you couldn't have tests inside a `helpers` directory. Instead you can now specify glob paterns to find these helpers: ```json { "ava": { "helpers": [ "**/helpers/**/*" ] } } ``` Test files starting with an underscore are still recognized as helpers. Files inside `fixtures` directories are no longer ignored, and will now be treated as test files. The watcher now also watches `ava.config.js` files. AVA now also selects files ending with `.spec.js` when looking for tests, as well as looking in `tests` directories. [`08e99e5`](https://togithub.com/avajs/ava/commit/08e99e516e13af75d3ebe70f12194a89b610217c) [`b1e54b1`](https://togithub.com/avajs/ava/commit/b1e54b1a02ba7220571a06e4d324d460ea7ece54) The CLI now only takes file paths, not glob patterns. We'd [like some help updating our ESLint plugin](https://togithub.com/avajs/eslint-plugin-ava/issues/238) as well. ##### Snapshots in CI When you run tests locally and add a new snapshot, AVA automatically updates the `.snap` file. However if you forget to commit this file and then run your CI tests, they won't fail because AVA quietly updates the `.snap` file, just like it does locally. With this release, AVA will fail the `t.snapshot()` assertion if it is run in CI and no snapshot could be found. [`0804107`](https://togithub.com/avajs/ava/commit/0804107b49ef3bb43656cd48d27b0d54ea080d71) ##### Assertion messages must be strings AVA now enforces assertion messages to be strings. The message is only used when the assertion fails, and non-string values may cause AVA to crash. You may see test failures if you were accidentally passing a non-string message. [`49120aa`](https://togithub.com/avajs/ava/commit/49120aafd40c96bbe8196d3da8898d05006588d8) ##### Flow type definitions We've decided to remove the Flow type definitions from AVA itself. We don't have anybody to maintain them and consequently they've become a blocker when adding features to AVA. [`c633cf0`](https://togithub.com/avajs/ava/commit/c633cf08891abaf7649d490642eef38b8150bfe0) We've set up a new repository from which we'll publish the definitions, but we need your help setting it up. If you use AVA and Flow, please join us in [avajs/flow-typed#​1](https://togithub.com/avajs/flow-typed/issues/1). ##### Observable typing Test implementations may return observables. We've updated our TypeScript definition to require these to have a `Symbol.observable` function. [`c2d8218`](https://togithub.com/avajs/ava/commit/c2d8218ba78b26fe1368df183924757cd27555e4) #### New features ##### Configurable printing depth AVA now uses the [`util.inspect.defaultOptions.depth`](https://nodejs.org/api/util.html#util_util_inspect_defaultoptions) option when printing objects, so you can configure the depth. [`98034fb`](https://togithub.com/avajs/ava/commit/98034fbb661bcc6cb882e1ae007a7877a803b3a4) ##### Specify environment variables in your AVA config You can now specify environment variables in your config, using the `environmentVariables` object. [`a53ea15`](https://togithub.com/avajs/ava/commit/a53ea157367c9cec91184cfbb226487c81229513) #### Other changes - We've added `UntitledMacro` and `UntitledCbMacro` types, for macro functions that will never have a `.title` function. Though really this just helped simplify the type definition. Thanks [@​qlonik](https://togithub.com/qlonik)! [`ebf4807`](https://togithub.com/avajs/ava/commit/ebf480779b826dcccc86376caf8ca5af4273e912) - The dependency tracking in watch mode now respects custom require hooks you install in the worker processes. Thanks [@​lo1tuma](https://togithub.com/lo1tuma)! [`cb4c809`](https://togithub.com/avajs/ava/commit/cb4c8095952a970fb9bf5d1620810d5e172080ae) - The TypeScript definition once again allows `test.skip(macro)` [`ba5cd80`](https://togithub.com/avajs/ava/commit/ba5cd804845517b1a5c4b04d1c08253ef27133d3) - AVA now exposes some methods to our [ESLint plugin](https://togithub.com/avajs/eslint-plugin-ava), allowing our plugin to support the new test & helper file selection. [`51433be`](https://togithub.com/avajs/ava/commit/51433bed947d31e5f3df26bdf6eee10ad4344efa) #### All changes [`v1.4.1...v2.0.0`](https://togithub.com/avajs/ava/compare/v1.4.1...v2.0.0) #### Thanks Thank you [@​StoneCypher](https://togithub.com/StoneCypher), [@​LukasHechenberger](https://togithub.com/LukasHechenberger), [@​lo1tuma](https://togithub.com/lo1tuma), [@​htor](https://togithub.com/htor), [@​alexisfontaine](https://togithub.com/alexisfontaine) and [@​grnch](https://togithub.com/grnch). We couldn't have done this without you! #### Get involved We welcome new contributors. AVA is a friendly place to get started in open source. We have a [great article](https://medium.com/@​vadimdemedes/making-your-first-contribution-de6576ddb190#.umxr7id07) on getting started contributing and a comprehensive [contributing guide](https://togithub.com/avajs/ava/blob/master/contributing.md).

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot. View repository job log here.