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 axios and eleventy-plugin-metagen #85

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Removes axios. It's no longer used after updating ancestor dependency eleventy-plugin-metagen. These dependencies need to be updated together.

Removes axios

Updates eleventy-plugin-metagen from 1.7.11 to 1.8.3

Release notes

Sourced from eleventy-plugin-metagen's releases.

1.8.3

What's Changed?

  • add support for: og_image, og_image_alt, og_image_width, og_image_height, og_image_type

Full Changelog: tannerdolby/eleventy-plugin-metagen@v1.8.2...v1.8.3

1.8.2

What's Changed?

  • fix: properly return the meta-generator output when defining the metagen shortcode in .eleventy.js (fixed since v1.8.1)
  • chore: use latest version of meta-generator

Notable Changes from v1.8.0

  • bump Eleventy to latest stable version (v2.0.1) (resolves tannerdolby/eleventy-plugin-metagen#25)
  • package install size reduced from 48.7MB -> 25.0MB and publish size from 14.0kB -> 7.72kB
  • updated custom tag input and usage
  • improved functionality for js, css, inline-js, inline-css
  • updated inline-css to inline_css and inline-js to inline_js
  • updated attr_name to twitter_attr_name

Full Changelog: tannerdolby/eleventy-plugin-metagen@v1.8.0...v1.8.2

1.8.0

What's Changed?

Moved tag creation logic from .eleventy.js to a separate package meta-generator. Which will power populating metadata here in eleventy-plugin-metagen, now the logic can also be used in a React app or any JavaScript environment. See docs for more details.

  • bump Eleventy to latest stable version (v2.0.1) (resolves tannerdolby/eleventy-plugin-metagen#25)
  • package install size reduced from 48.7MB -> 25.0MB and publish size from 14.0kB -> 7.72kB
  • updated custom tag input and usage
  • improved functionality for js, css, inline-js, inline-css
  • updated inline-css to inline_css and inline-js to inline_js
  • updated attr_name to twitter_attr_name

Notable

I mistakenly returned an array of tag strings instead of properly returning string output for this v1.8.0 version 🙃. Please use v1.8.1+ or refer to the updated code if you wish to use v1.8.0 which works, you will just need to add the following to properly return the meta-generator output:

eleventyConfig.addShortcode('metagen', (data) => {
  const head = metagen(data);
  if (Array.isArray(head)) {
    return head.join('\n');
  } else if (typeof head === 'string') {
    return head;
  } else {
    return '';
  }
});
</tr></table> 

... (truncated)

Commits
  • 38a28e6 chore: bump patch version and meta-generator
  • 1754d3b chore: bump patch version and meta-generator
  • fce0bbc chore: bump patch version, now v1.8.1
  • ccb14f8 feat: format metagen output accordingly
  • 40ee69b chore: ignore CONTRIBUTING.md in 11ty output
  • 4611d9c chore: bump meta-generator and cleanup
  • bb0dce0 feat: install 'meta-generator' for tag creation
  • 22936aa chore: cleanup
  • 8c18870 feat: move tag creation logic to 'meta-generator'
  • a2f2eef Update CONTRIBUTING.md
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Removes [axios](https://github.com/axios/axios). It's no longer used after updating ancestor dependency [eleventy-plugin-metagen](https://github.com/tannerdolby/eleventy-plugin-metagen). These dependencies need to be updated together.


Removes `axios`

Updates `eleventy-plugin-metagen` from 1.7.11 to 1.8.3
- [Release notes](https://github.com/tannerdolby/eleventy-plugin-metagen/releases)
- [Commits](tannerdolby/eleventy-plugin-metagen@v1.7.11...v1.8.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
- dependency-name: eleventy-plugin-metagen
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 10, 2023
@reedcodes reedcodes merged commit 79fdfe3 into main Jun 24, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/axios-and-eleventy-plugin-metagen--removed branch June 24, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant