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 astro and astro-compress in /astro #3333

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Bumps astro and astro-compress. These dependencies needed to be updated together.
Updates astro from 4.8.1 to 4.16.3

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

  • #12177 a4ffbfa Thanks @​matthewp! - Ensure we target scripts for execution in the router

    Using document.scripts is unsafe because if the application has a name="scripts" this will shadow the built-in document.scripts. Fix is to use getElementsByTagName to ensure we're only grabbing real scripts.

  • #12173 2d10de5 Thanks @​ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.

[email protected]

Minor Changes

  • #12039 710a1a1 Thanks @​ematipico! - Adds a markdown.shikiConfig.langAlias option that allows aliasing a non-supported code language to a known language. This is useful when the language of your code samples is not a built-in Shiki language, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.

    The following example configures Shiki to highlight cjs code blocks using the javascript syntax highlighter:

    import { defineConfig } from 'astro/config';
    export default defineConfig({
    markdown: {
    shikiConfig: {
    langAlias: {
    cjs: 'javascript',
    },
    },
    },
    });

    Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:

    ```cjs
    'use strict';
    function commonJs() {
    return 'I am a commonjs file';

... (truncated)

Changelog

Sourced from astro's changelog.

4.16.3

Patch Changes

4.16.2

Patch Changes

4.16.1

Patch Changes

  • #12177 a4ffbfa Thanks @​matthewp! - Ensure we target scripts for execution in the router

    Using document.scripts is unsafe because if the application has a name="scripts" this will shadow the built-in document.scripts. Fix is to use getElementsByTagName to ensure we're only grabbing real scripts.

  • #12173 2d10de5 Thanks @​ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.

4.16.0

Minor Changes

  • #12039 710a1a1 Thanks @​ematipico! - Adds a markdown.shikiConfig.langAlias option that allows aliasing a non-supported code language to a known language. This is useful when the language of your code samples is not a built-in Shiki language, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.

    The following example configures Shiki to highlight cjs code blocks using the javascript syntax highlighter:

    import { defineConfig } from 'astro/config';
    export default defineConfig({
    markdown: {
    shikiConfig: {
    langAlias: {
    cjs: 'javascript',
    },
    },
    },
    });

    Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:

    ```cjs

... (truncated)

Commits

Updates astro-compress from 2.2.23 to 2.3.3

Release notes

Sourced from astro-compress's releases.

AstroCompress/v2.3.3

What's Changed

Full Changelog: PlayForm/Compress@AstroCompress/v2.3.2...AstroCompress/v2.3.3

AstroCompress/v2.3.2

What's Changed

Full Changelog: PlayForm/Compress@AstroCompress/v2.3.1...AstroCompress/v2.3.2

AstroCompress/v2.3.1

Full Changelog: PlayForm/Compress@AstroCompress/v2.3.0...AstroCompress/v2.3.1

AstroCompress/v2.3.0

Full Changelog: PlayForm/Compress@Compress/v0.1.0...AstroCompress/v2.3.0

AstroCompress/v2.2.28

What's Changed

... (truncated)

Changelog

Sourced from astro-compress's changelog.

2.3.3

Fixed

  • Fixes missing Pipe.js

2.3.2

Added

  • New CLI functionality with Compress command
  • New CLI.ts and Pipe.ts functions for improved command-line operations
  • Added commander dependency for CLI support
  • Added fast-glob dependency for file pattern matching

Changed

  • Updated package name from astro-compress to @playform/compress
  • Updated various dependencies to their latest versions:
    • @playform/pipe from 0.1.0 to 0.1.1
    • deepmerge-ts from 7.1.0 to 7.1.1
    • lightningcss from 1.25.1 to 1.27.0
    • sharp from 0.33.4 to 0.33.5
    • svgo from 4.0.0-rc.0 to 3.3.2
    • terser from 5.31.3 to 5.34.1
    • @playform/build from 0.1.3 to 0.1.7
  • Refactored and improved various TypeScript interfaces and types
  • Updated README with new installation instructions and badge styling
  • Updated README badges to use HTTPS URLs
  • Updated README table layout for better visual presentation
  • Updated dependency badges in README to use correct package name (@playform/compress instead of @playform/inline)
  • Updated README to remove unnecessary line breaks and improve spacing
  • Updated Source/Function/Image/Writesharp.ts to simplify an import statement
  • Added Source/Function/CLI.ts for command-line interface functionality
  • Added Source/Interface/CLI.ts to define the command-line interface
  • Updated package.json to include necessary CLI dependencies

Removed

  • Removed Documentation/ directory (replaced with docs/)
  • Removed Summary.md file

Fixed

  • Various code improvements and refactoring for better type safety and performance
  • Fixed broken links in README badges
  • Fixed alignment and spacing issues in README table

... (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 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.

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [astro-compress](https://github.com/PlayForm/Compress). These dependencies needed to be updated together.

Updates `astro` from 4.8.1 to 4.16.3
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro)

Updates `astro-compress` from 2.2.23 to 2.3.3
- [Release notes](https://github.com/PlayForm/Compress/releases)
- [Changelog](https://github.com/PlayForm/Compress/blob/AstroCompress/v2.3.3/CHANGELOG.md)
- [Commits](PlayForm/Compress@AstroCompress/v2.2.23...AstroCompress/v2.3.3)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
- dependency-name: astro-compress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner October 14, 2024 20:25
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 14, 2024
@dependabot dependabot bot requested review from a team as code owners October 14, 2024 20:25
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants