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 got and @wordpress/env #160

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 22, 2022

Bumps got to 11.8.5 and updates ancestor dependency @wordpress/env. These dependencies need to be updated together.

Updates got from 10.7.0 to 11.8.5

Release notes

Sourced from got's releases.

v11.8.5

sindresorhus/got@v11.8.4...v11.8.5

v11.8.3

  • Bump cacheable-request dependency (#1921) 9463bb6
  • Fix HTTPError missing .code property (#1739) 0e167b8

sindresorhus/got@v11.8.2...v11.8.3

v11.8.2

  • Make the dnsCache option lazy (#1529) 3bd245f This slightly improves Got startup performance and fixes an issue with Jest.

sindresorhus/got@v11.8.1...v11.8.2

v11.8.1

  • Do not throw on custom stack traces (#1491) 4c815c3a609eb74d0eb139414d9996b4f65dc3c0

v11.8.0

  • Fix for sending files with size 0 on stat (#1488) 7acd380
  • beforeRetry allows stream body if different from original (#1501) 3dd2273
  • Set default value for an options object (#1495) 390b145

sindresorhus/got@v11.7.0...v11.8.0

v11.7.0

Improvements

  • Add pfx HTTPS option (#1364) c33df7f
  • Update body after beforeRequest (#1453) e1c1844
  • Don't allocate buffer twice (#1403) 7bc69d9

Fixes

  • Fix a regression where body was sent after redirect 88b32ea
  • Fix destructure error on promise.json() c97ce7c
  • Do not ignore userinfo on a redirect to the same origin 52de13b

sindresorhus/got@v11.6.2...v11.7.0

v11.6.2

Bug fixes

  • Inherit the prefixUrl option from parent if it's undefined (#1448) a3da70a78aeb7f44dd3e0d0fa47cebe9541eb91e
  • Prepare a fix for hanging promise on Node.js 14.10.x 29d4e325b110ccf7571d4265d40760be4175f7ff
  • Prepare for Node.js 15.0.0 c126ff19c4e893975cbf6c2c8bebce6ed7631276

... (truncated)

Commits

Updates @wordpress/env from 4.9.0 to 5.3.0

Changelog

Sourced from @​wordpress/env's changelog.

5.3.0 (2022-09-21)

5.2.0 (2022-08-16)

Enhancement

  • Query parameters can now be used in .zip source URLs.

5.1.1 (2022-08-16)

Bug Fix

  • Fix a crash when "core" was set to null in a .wp-env.json file. We now use the latest stable WordPress version in that case. This also restores the previous behavior of "core": null in .wp-env.override.json, which was to use the latest stable WordPress version.

5.1.0 (2022-08-10)

Enhancement

  • Previously, wp-env used the WordPress version provided by Docker in the WordPress image for installations which don't specify a WordPress version. Now, wp-env will find the latest stable version on WordPress.org and check out the https://github.com/WordPress/WordPress repository at the tag matching that version. In most cases, this will match what Docker provides. The benefit is that wp-env (and WordPress.org) now controls the default WordPress version rather than Docker.

Bug Fix

  • Downloading a default WordPress version also resolves a bug where the wrong WordPress test files were used if no core source was specified in wp-env.json. The current trunk test files were downloaded rather than the stable version. Now, the test files will match the default stable version.

5.0.0 (2022-07-27)

Breaking Changes

  • Removed the WP_PHPUNIT__TESTS_CONFIG environment variable from the phpunit container. This removes automatic support for the wp-phpunit/wp-phpunit Composer package. To continue using the package, set the following two environment variables in your phpunit.xml file or similar: WP_TESTS_DIR="" and WP_PHPUNIT__TESTS_CONFIG="/wordpress-phpunit/wp-tests-config.php".
  • Removed the generated /var/www/html/phpunit-wp-config.php file from the environment.

Enhancement

  • Read WordPress' version and include the corresponding PHPUnit test files in the environment.
  • Set the WP_TESTS_DIR environment variable in all containers to point at the PHPUnit test files.

Bug Fix

  • Restrict WP_TESTS_DOMAIN constant to just hostname rather than an entire URL (e.g. it now excludes scheme, port, etc.) (#41039).

4.8.0 (2022-06-01)

Enhancement

  • Removed the need for quotation marks when passing options to wp-env run.
  • Setting a config key to null will prevent adding the constant to wp-config.php even if a default value is defined by wp-env.

4.7.0 (2022-05-18)

Enhancement

  • Added SSH protocol support for git sources

4.2.0 (2022-01-27)

Enhancement

  • Added command wp-env install-path to list the directory used for the environment.
  • The help entry is now shown when no subcommand is passed to wp-env.

... (truncated)

Commits

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

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [got](https://github.com/sindresorhus/got) to 11.8.5 and updates ancestor dependency [@wordpress/env](https://github.com/WordPress/gutenberg/tree/HEAD/packages/env). These dependencies need to be updated together.


Updates `got` from 10.7.0 to 11.8.5
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](sindresorhus/got@v10.7.0...v11.8.5)

Updates `@wordpress/env` from 4.9.0 to 5.3.0
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/env@5.3.0/packages/env)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
- dependency-name: "@wordpress/env"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the type:dependency An issue with a separate library that this project relies upon. label Sep 22, 2022
@jeffpaul jeffpaul added this to the 1.1.0 milestone Sep 22, 2022
@jeffpaul jeffpaul requested review from a team and peterwilsoncc and removed request for a team September 22, 2022 16:20
peterwilsoncc
peterwilsoncc previously approved these changes Sep 26, 2022
Copy link
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

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

Dependencies in package-lock match those in the wordpress/env package

@peterwilsoncc peterwilsoncc dismissed their stale review September 26, 2022 01:19

Causes E2E tests to fail for some reason.

@peterwilsoncc
Copy link
Contributor

I ended up dismissing my review as the change is causing the e2e tests to fail for some reason. I'll need to dig in to the code a little to try and figure out why.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 26, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available.

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

@peterwilsoncc peterwilsoncc deleted the dependabot/npm_and_yarn/got-and-wordpress/env-11.8.5 branch September 26, 2022 01:59
@peterwilsoncc peterwilsoncc mentioned this pull request Sep 26, 2022
1 task
@peterwilsoncc
Copy link
Contributor

Replaced with #162.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:dependency An issue with a separate library that this project relies upon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants