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

[Snyk] Upgrade astro from 4.2.1 to 4.8.7 #27

Closed
wants to merge 1 commit into from

Conversation

baoduy
Copy link
Owner

@baoduy baoduy commented Jun 12, 2024

snyk-top-banner

Snyk has created this PR to upgrade astro from 4.2.1 to 4.8.7.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 65 versions ahead of your current version.

  • The recommended version was released on 21 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Access Control Bypass
SNYK-JS-VITE-6182924
482 Proof of Concept
medium severity Improper Access Control
SNYK-JS-VITE-6531286
482 Proof of Concept
Release notes
Package name: astro
  • 4.8.7 - 2024-05-22
  • 4.8.6 - 2024-05-17
  • 4.8.5 - 2024-05-16
  • 4.8.4 - 2024-05-15
  • 4.8.3 - 2024-05-13
  • 4.8.2 - 2024-05-09
  • 4.8.1 - 2024-05-09
  • 4.8.0 - 2024-05-09
  • 4.7.1 - 2024-05-02
  • 4.7.0 - 2024-04-25
  • 4.6.4 - 2024-04-23
  • 4.6.3 - 2024-04-18
  • 4.6.2 - 2024-04-16
  • 4.6.1 - 2024-04-12
  • 4.6.0 - 2024-04-11
  • 4.5.18 - 2024-04-10
  • 4.5.17 - 2024-04-09
  • 4.5.16 - 2024-04-04
  • 4.5.15 - 2024-04-03
  • 4.5.14 - 2024-04-02
  • 4.5.13 - 2024-04-02
  • 4.5.12 - 2024-03-28
  • 4.5.11 - 2024-03-28
  • 4.5.10 - 2024-03-26
  • 4.5.9 - 2024-03-22
  • 4.5.8 - 2024-03-20
  • 4.5.7 - 2024-03-20
  • 4.5.6 - 2024-03-18
  • 4.5.5 - 2024-03-15
  • 4.5.4 - 2024-03-14
  • 4.5.3 - 2024-03-13
  • 4.5.2 - 2024-03-12
  • 4.5.1 - 2024-03-11
  • 4.5.0 - 2024-03-11
  • 4.4.15 - 2024-03-08
  • 4.4.14 - 2024-03-07
  • 4.4.13 - 2024-03-06
  • 4.4.12 - 2024-03-06
  • 4.4.11 - 2024-03-04
  • 4.4.10 - 2024-03-04
  • 4.4.9 - 2024-03-02
  • 4.4.8 - 2024-03-01
  • 4.4.7 - 2024-03-01
  • 4.4.6 - 2024-02-28
  • 4.4.5 - 2024-02-26
  • 4.4.4 - 2024-02-23
  • 4.4.3 - 2024-02-22
  • 4.4.2 - 2024-02-21
  • 4.4.1 - 2024-02-20
  • 4.4.0 - 2024-02-15

    Minor Changes

    • #11144 803dd80 Thanks @ ematipico! - The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.

      import { experimental_AstroContainer as AstroContainer } from 'astro/container';
      import ReactWrapper from '../src/components/ReactWrapper.astro';
      import { loadRenderers } from 'astro:container';
      import { getContainerRenderer } from '@ astrojs/react';

      test('ReactWrapper with react renderer', async () => {
      const renderers = await loadRenderers([getContainerRenderer()]);
      const container = await AstroContainer.create({
      renderers,
      });
      const result = await container.renderToString(ReactWrapper);

      expect(result).toContain('Counter');
      expect(result).toContain('Count: <!-- -->5');
      });

  • 4.3.7 - 2024-02-13
  • 4.3.6 - 2024-02-12
  • 4.3.5 - 2024-02-07
  • 4.3.4 - 2024-02-07
  • 4.3.3 - 2024-02-06
  • 4.3.2 - 2024-02-02
  • 4.3.1 - 2024-02-01
  • 4.3.0 - 2024-02-01

    Minor Changes

    • #11144 803dd80 Thanks @ ematipico! - The integration now exposes a function called getContainerRenderer, that can be used inside the Container APIs to load the relative renderer.

      import { experimental_AstroContainer as AstroContainer } from 'astro/container';
      import ReactWrapper from '../src/components/ReactWrapper.astro';
      import { loadRenderers } from 'astro:container';
      import { getContainerRenderer } from '@ astrojs/react';

      test('ReactWrapper with react renderer', async () => {
      const renderers = await loadRenderers([getContainerRenderer()]);
      const container = await AstroContainer.create({
      renderers,
      });
      const result = await container.renderToString(ReactWrapper);

      expect(result).toContain('Counter');
      expect(result).toContain('Count: <!-- -->5');
      });

  • 4.2.8 - 2024-01-31
  • 4.2.7 - 2024-01-30
  • 4.2.6 - 2024-01-26
  • 4.2.5 - 2024-01-26
  • 4.2.4 - 2024-01-24
  • 4.2.3 - 2024-01-22
  • 4.2.2 - 2024-01-22
  • 4.2.1 - 2024-01-18
from astro GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • Snyk has automatically assigned this pull request, set who gets assigned.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade astro from 4.2.1 to 4.8.7.

See this package in npm:
astro

See this project in Snyk:
https://app.snyk.io/org/baoduy/project/f874d182-21f8-428e-801d-bbe621859de5?utm_source=github&utm_medium=referral&page=upgrade-pr
@baoduy baoduy self-assigned this Jun 12, 2024
@baoduy baoduy closed this Jul 29, 2024
@baoduy baoduy deleted the snyk-upgrade-ffc790af8301e97937dde1aa8996ed3c branch July 29, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants