Update dependency ava to v3.12.1#893
Merged
kristoferbaxter merged 3 commits intoampproject:mainfrom Sep 8, 2020
Merged
Conversation
b19da93 to
fe3a8e8
Compare
fe3a8e8 to
a53f439
Compare
a53f439 to
feb18b1
Compare
kristoferbaxter
approved these changes
Sep 8, 2020
valleykid
added a commit
to icatjs/worker-dom
that referenced
this pull request
Sep 9, 2020
* update to latest version of np (ampproject#915) * update to latest version of np * also update jsdom, some strange errors occuring with whatwg-url * Mention that innerHTML has partial support (ampproject#911) * Pin dependency jsdom to 16.4.0 (ampproject#916) * Update Yarn to v1.22.5 (ampproject#918) * Update dependency rollup-plugin-terser to v7 (ampproject#907) * Update dependency rollup to v2.26.8 (ampproject#899) * Update dependency acorn-walk to v8 (ampproject#922) * HTMLElement.click() support (ampproject#919) * HTMLElement: Support .click() function. * HTMLElement.click() support * update web compat table. * Update dependency acorn to v8 (ampproject#908) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update dependency typescript to v4 (ampproject#923) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update dependency np to v6.5.0 (ampproject#921) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Support Dirty Flag for HTMLInputElement.value (ampproject#913) * v0.25.1 * Support dirty flag for HTMLInputElement.value * Support dirty flag for HTMLInputElement.value * add a test * fix progress * update test for progress as well * Bump size of worker.mjs * Remove populated demo examples since tests now cover the functionality Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update Node.js to v14.9.0 (ampproject#889) * v0.26.0 (ampproject#925) * Update dependency rollup to v2.26.9 (ampproject#924) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency prettier to v2.1.1 (ampproject#920) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency css-loader to v4 (ampproject#906) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency webpack-cli to v3.3.12 (ampproject#905) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency webpack to v4.44.1 (ampproject#904) * Update dependency tslint to v6.1.3 (ampproject#902) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Remove esmodule syntax (ampproject#927) * v0.25.1 * Remove ESModules Package syntax since its not being used * Use toUpper utility (ampproject#928) * v0.25.1 * Use the utilities instead of direct methods * Update dependency sirv to v1.0.6 (ampproject#901) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency sinon to v9.0.3 (ampproject#900) * Update dependency rollup to v2.26.11 (ampproject#931) * Update dependency css-loader to v4.3.0 (ampproject#934) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Refactor output (ampproject#929) * v0.25.1 * Create production and debug outputs for AMP * tweak tracked resources for filesize * Additional tracking for nodom variant * Update dependency husky to v4.3.0 (ampproject#933) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update Dependencies (ampproject#935) * v0.25.1 * Update to latest versions * Bump version + skip hooks for release (ampproject#936) * v0.27.0 * skip hooks on release * v0.27.1 Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update Node.js to v14.10.0 (ampproject#930) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency preact to v10.4.8 (ampproject#898) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency mini-css-extract-plugin to v0.11.1 (ampproject#897) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency ava to v3.12.1 (ampproject#893) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency lint-staged to v10.3.0 (ampproject#896) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Ben Morss <morss@google.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com>
valleykid
added a commit
to icatjs/worker-dom
that referenced
this pull request
Sep 9, 2020
* feat: sync from base-source (#1) * update to latest version of np (ampproject#915) * update to latest version of np * also update jsdom, some strange errors occuring with whatwg-url * Mention that innerHTML has partial support (ampproject#911) * Pin dependency jsdom to 16.4.0 (ampproject#916) * Update Yarn to v1.22.5 (ampproject#918) * Update dependency rollup-plugin-terser to v7 (ampproject#907) * Update dependency rollup to v2.26.8 (ampproject#899) * Update dependency acorn-walk to v8 (ampproject#922) * HTMLElement.click() support (ampproject#919) * HTMLElement: Support .click() function. * HTMLElement.click() support * update web compat table. * Update dependency acorn to v8 (ampproject#908) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update dependency typescript to v4 (ampproject#923) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update dependency np to v6.5.0 (ampproject#921) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Support Dirty Flag for HTMLInputElement.value (ampproject#913) * v0.25.1 * Support dirty flag for HTMLInputElement.value * Support dirty flag for HTMLInputElement.value * add a test * fix progress * update test for progress as well * Bump size of worker.mjs * Remove populated demo examples since tests now cover the functionality Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update Node.js to v14.9.0 (ampproject#889) * v0.26.0 (ampproject#925) * Update dependency rollup to v2.26.9 (ampproject#924) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency prettier to v2.1.1 (ampproject#920) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency css-loader to v4 (ampproject#906) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency webpack-cli to v3.3.12 (ampproject#905) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency webpack to v4.44.1 (ampproject#904) * Update dependency tslint to v6.1.3 (ampproject#902) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Remove esmodule syntax (ampproject#927) * v0.25.1 * Remove ESModules Package syntax since its not being used * Use toUpper utility (ampproject#928) * v0.25.1 * Use the utilities instead of direct methods * Update dependency sirv to v1.0.6 (ampproject#901) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency sinon to v9.0.3 (ampproject#900) * Update dependency rollup to v2.26.11 (ampproject#931) * Update dependency css-loader to v4.3.0 (ampproject#934) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Refactor output (ampproject#929) * v0.25.1 * Create production and debug outputs for AMP * tweak tracked resources for filesize * Additional tracking for nodom variant * Update dependency husky to v4.3.0 (ampproject#933) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> * Update Dependencies (ampproject#935) * v0.25.1 * Update to latest versions * Bump version + skip hooks for release (ampproject#936) * v0.27.0 * skip hooks on release * v0.27.1 Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update Node.js to v14.10.0 (ampproject#930) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency preact to v10.4.8 (ampproject#898) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency mini-css-extract-plugin to v0.11.1 (ampproject#897) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency ava to v3.12.1 (ampproject#893) Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * Update dependency lint-staged to v10.3.0 (ampproject#896) Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Ben Morss <morss@google.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com> * fix: package.json conflict Co-authored-by: Jake Fried <samouri@users.noreply.github.com> Co-authored-by: Ben Morss <morss@google.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: Kristofer Baxter <kristofer@kristoferbaxter.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.8.2->3.12.1Release Notes
avajs/ava
v3.12.1Compare Source
Configure how AVA loads test files
Normally, AVA loads all files as CommonJS, except for
mjsfiles and if you've configured"type": "module"in yourpackage.json.As an experiment, you can now configure how AVA loads other file extensions. This is useful if you want to use Node.js' experimental loaders feature. Read more in our documentation. Thank you @macarie for working on this!
5c9dbb9Comparison bugfix
There was a bug in our comparison library which meant that negative-index properties on lists were not compared. This was fixed in a patch release, which will definitely be installed when you install AVA 3.12. Your tests may have been passing, even though they should have been failing. They'll fail now. Snapshots may also be different, causing tests to fail.
All changes
See avajs/ava@v3.11.1...v3.12.1 for all changes.
Thank you @AnthumChris for making sure our ESM example used ESM syntax (
20bc781).v3.12.0Compare Source
v3.11.1Compare Source
This release fixes corrupted output of the default reporter when test or program code writes to standard out.
5ddc9fdAlso, thanks to @jonathansamines we've taken another step to using AVA to test AVA.
1150991See avajs/ava@v3.11.0...v3.11.1 for all changes.
v3.11.0Compare Source
New
t.like()assertionThanks to @futpib we now have a
t.like()assertion19c4f35:In the following example, the
mapproperty ofvaluemust be deeply equal to that ofselector. Howevernested.quxis ignored, because it's not inselector.Read more in the
t.like()assertion documentation.This assertion was previously introduced as an experiment.
VSCode 1.47 debugging improvements
You can now debug tests using the new JavaScript Debug Terminal in VSCode 1.47. We've updated our debugging recipe accordingly. Thank you @connor4312 for the documentation updates and your work on VSCode!
bc39bccAll changes
See avajs/ava@v3.10.1...v3.11.0 for all changes.
v3.10.1Compare Source
It's time for another AVA release 🎉
Restricting when you can update snapshots
When executing a subset of tests, through
--matchor 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.f72fab4If 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()callsThanks 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:ca8ea45t.try()does not work in hookst.try()has never worked in hooks, but thanks to @okyantoro it now fails properly instead of crashing.d01db61t.snapshot()does not really work in hooks eithert.snapshot()sort of works in hooks, but we'll be removing this in AVA 4. You can opt in to this behavior by enabling thedisableSnapshotsInHooksexperiment. Again thank you @okyantorod01db61.Fixed TypeScript definition for
t.like()The experimental
t.like()assertion should now work better with TypeScript.All changes
See avajs/ava@v3.9.0...v3.10.1 for all changes.
v3.10.0Compare Source
v3.9.0Compare Source
New experiments!
Thanks to @futpib we now have an experimental
t.like()assertion19c4f35:In the following example, the
mapproperty ofvaluemust be deeply equal to that ofselector. Howevernested.quxis ignored, because it's not inselector.Read more in the
t.like()assertion documentation and let us know what you think.@yjpa7145 has contributed an experiment to reverse the order in which
t.teardown()functions are run, so that the last registered function is called first952a017. This will be the behavior in AVA 4.To enable both these experiments update your AVA configuration:
package.json:{ "ava": { "nonSemVerExperiments": { "likeAssertion": true, "reverseTeardowns": true } } }ava.config.js:Reporter changes
@Michael55555 has helped us combine our reporter code into a single file
b3866b6. We've also made some other tweaks and improvementsbaaf99a. Let us know if anything seems amiss.Improved diffs
@bunysae made it so that missing or extraneous objects in diffs are printed with extra depth concordancejs/concordance#62.
Farewell Node.js 13
Node.js 13 has reached end-of-life. Per our support statement we have removed it from our test matrix and supported version list.
All changes
See avajs/ava@v3.8.2...v3.9.0 for all changes. Thank you @paulrobertlloyd and @Autre31415 for contributing documentation improvements.
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 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.