cdaringe / pg-subscribe

subscribe to postgres events in node via LISTEN/NOTIFY apis
1 stars 0 forks source link

chore(deps): update dependency ava to v2 - autoclosed #46

Closed renovate[bot] closed 4 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.4.0

Release Notes

avajs/ava ### [`v2.4.0`](https://togithub.com/avajs/ava/releases/v2.4.0) [Compare Source](https://togithub.com/avajs/ava/compare/v2.3.0...v2.4.0) #### Experimental `t.try()` assertions Thanks to the amazing work and patience of [@​qlonik](https://togithub.com/qlonik) we're shipping a new assertion! `t.try()` lets you perform assertions and decide whether to commit or discard their outcome. All kinds of interesting things can be built on top of this, from fuzzy testers to new test interfaces and more. We're excited to get this out there, but it's not quite done yet. For now you have to [_opt in_](https://togithub.com/avajs/ava/blob/master/docs/06-configuration.md#experiments) to this new feature. Being opt-in, we may make changes (breaking ones even!) until we feel this is stable. To opt in, configure AVA with the following: `package.json`: ```json { "ava": { "nonSemVerExperiments": { "tryAssertion": true } } } ``` `ava.config.js`: ```js export default { nonSemVerExperiments: { tryAssertion: true } }; ``` We'd love to hear your feedback. Please join us in this issue: [#​2250](https://togithub.com/avajs/ava/issues/2250) Also, if you're looking to help out with the remaining issues so that we can ship this _without_ the opt-in, have a look at this project: Thanks again [@​qlonik](https://togithub.com/qlonik)! #### Other changes - We've added the [common pitfall](https://togithub.com/avajs/ava/blob/master/docs/08-common-pitfalls.md) of sharing variables across asynchronous tests [`49b202f`](https://togithub.com/avajs/ava/commit/49b202fb5c376e71c1400f6c35043280cf417140) - We've updated the [endpoint testing recipe](https://togithub.com/avajs/ava/blob/master/docs/recipes/endpoint-testing.md) to focus on the concept, not specific libraries [`67e4dea`](https://togithub.com/avajs/ava/commit/67e4deac2857503e5fac7d38da2d23014eb29724) #### All changes [`v2.3.0...v2.4.0`](https://togithub.com/avajs/ava/compare/v2.3.0...v2.4.0) #### Thanks Thank you [@​jeremenichelli](https://togithub.com/jeremenichelli), [@​jamesgeorge007](https://togithub.com/jamesgeorge007), [@​dongjae93](https://togithub.com/dongjae93), [@​qlonik](https://togithub.com/qlonik) and [@​tryzniak](https://togithub.com/tryzniak). 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.3.0`](https://togithub.com/avajs/ava/releases/v2.3.0) [Compare Source](https://togithub.com/avajs/ava/compare/v2.2.0...v2.3.0) #### Changes - We've fixed some bugs to improve watch mode. [`ffa62ce`](https://togithub.com/avajs/ava/commit/ffa62ce94dec43f18a0c66623fa604036ef8dc48) [`9e8d28f`](https://togithub.com/avajs/ava/commit/9e8d28f4408b2e218e6a315d454dd68f66351351) - AVA now prints an error when it receives non-existent test files on the command line. [`f01d05f`](https://togithub.com/avajs/ava/commit/f01d05f0c8373ff3fe8134364031fb36cba2850e) - When using the TAP reporter, remaining tests are now included in failed test count. Failed hooks are no longer treated as test failures, and logs are printed. [`8628976`](https://togithub.com/avajs/ava/commit/8628976e1ddd8fea2ff8177f8ab47c80410b424f) - Internal errors that may occur for some edge cases are now printed. [`b27cb8d`](https://togithub.com/avajs/ava/commit/b27cb8d538c58743ba3f5d46e0523e7a0ca5982c) - TTY in the worker processes should follow the new APIs in Node.js 12.7.0 (when used with those Node.js versions). [`7dcb473`](https://togithub.com/avajs/ava/commit/7dcb473d90d9415c691da90df75a0452d846cc29) - AVA now handles stage-4 syntax like dynamic import, and stage-3 syntax like BigInt, numeric separators and class properties that are supported by V8. [`9baca8c`](https://togithub.com/avajs/ava/commit/9baca8ca4dcbf9512c1f7a33adaeedd37fc8eda2) - AVA now supports dynamic import through our [stage-4](https://togithub.com/avajs/babel-preset-stage-4) preset. - AVA now uses [`import-local@^3.0.2`](https://togithub.com/sindresorhus/import-local/releases/tag/v3.0.2) which fixes issues with Lerna projects. - **For our TypeScript users**, we've changed the default type of `t.context` to `unknown`, [in line with TypeScript's changes in their 3.5 release](https://devblogs.microsoft.com/typescript/announcing-typescript-3-5/). [`2fc7d56`](https://togithub.com/avajs/ava/commit/2fc7d56475ca1d77078abc3e08390341bedda58f) #### All changes [`v2.2.0...v2.3.0`](https://togithub.com/avajs/ava/compare/v2.2.0...v2.3.0) #### Thanks Thank you [@​MarchWorks](https://togithub.com/MarchWorks), [@​yovasx2](https://togithub.com/yovasx2) and [@​bobthekingofegypt](https://togithub.com/bobthekingofegypt). 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.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 WhiteSource Renovate. View repository job log here.