Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Update gcp-metadata to the latest version 🚀#395

Merged
ofrobots merged 2 commits intomasterfrom
greenkeeper/gcp-metadata-0.5.0
Feb 8, 2018
Merged

Update gcp-metadata to the latest version 🚀#395
ofrobots merged 2 commits intomasterfrom
greenkeeper/gcp-metadata-0.5.0

Conversation

@greenkeeper
Copy link
Copy Markdown
Contributor

@greenkeeper greenkeeper bot commented Feb 7, 2018

Version 0.5.0 of gcp-metadata was just published.

Dependency gcp-metadata
Current Version 0.4.1
Type dependency

The version 0.5.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of gcp-metadata.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Commits

The new version differs by 10 commits.

  • 1841f3c 0.5.0
  • 9686277 feat: add isAvailable method (#23)
  • a042275 feat: switch to promises (#24)
  • ee6713b fix: use the v1 path and remove trailing dot (#28)
  • 2b107a1 test: switch to ava (#27)
  • 99f29c9 fix: use v1beta1 instead of v1 to support GCF (#25)
  • d6d4454 feat: Export host name and use . at the end (#22)
  • b830edb chore: switch to axios (#20)
  • 0bfe4b0 test: add tests for node 9 (#21)
  • 85a471d chore: reorganize structure a bit (#19)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 7, 2018
[email protected] is a semver major release. As it uses promises now,
we can get rid of our promise wrappers. Simplify the tests – we don't
need to test functionality provided by gcp-metadata.
Copy link
Copy Markdown
Contributor

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

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

Deleting all that code looks amazing 😁

}

static async runningOnGCP(): Promise<boolean> {
const lookup = promisify(dns.lookup);

This comment was marked as spam.

This comment was marked as spam.

@ofrobots ofrobots merged commit e19e514 into master Feb 8, 2018
@ofrobots ofrobots deleted the greenkeeper/gcp-metadata-0.5.0 branch February 8, 2018 18:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement. greenkeeper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants