jegtnes / jegtnes-static

0 stars 0 forks source link

Bump axios and eleventy-plugin-metagen #40

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

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: https://github.com/tannerdolby/eleventy-plugin-metagen/compare/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: https://github.com/tannerdolby/eleventy-plugin-metagen/compare/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


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 show 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](https://github.com/jegtnes/jegtnes-static/network/alerts).