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 the npm group with 6 updates #311

Merged
merged 2 commits into from
Jan 21, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 21, 2024

Bumps the npm group with 6 updates:

Package From To
@astrojs/mdx 2.0.4 2.0.5
@astrojs/sitemap 3.0.4 3.0.5
astro 4.1.2 4.2.1
eslint-plugin-astro 0.31.0 0.31.3
prettier 3.2.2 3.2.4
prettier-plugin-astro 0.12.3 0.13.0

Updates @astrojs/mdx from 2.0.4 to 2.0.5

Release notes

Sourced from @​astrojs/mdx's releases.

@​astrojs/mdx@​2.0.5

Patch Changes

Changelog

Sourced from @​astrojs/mdx's changelog.

2.0.5

Patch Changes

Commits

Updates @astrojs/sitemap from 3.0.4 to 3.0.5

Release notes

Sourced from @​astrojs/sitemap's releases.

@​astrojs/sitemap@​3.0.5

Patch Changes

Changelog

Sourced from @​astrojs/sitemap's changelog.

3.0.5

Patch Changes

Commits

Updates astro from 4.1.2 to 4.2.1

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

[email protected]

Minor Changes

  • #9566 165cfc154be477337037185c32b308616d1ed6fa Thanks @​OliverSpeir! - Allows remark plugins to pass options specifying how images in .md files will be optimized

  • #9661 d6edc7540864cf5d294d7b881eb886a3804f6d05 Thanks @​ematipico! - Adds new helper functions for adapter developers.

    • Astro.clientAddress can now be passed directly to the app.render() method.
    const response = await app.render(request, { clientAddress: '012.123.23.3' });
    • Helper functions for converting Node.js HTTP request and response objects to web-compatible Request and Response objects are now provided as static methods on the NodeApp class.
    http.createServer((nodeReq, nodeRes) => {
      const request: Request = NodeApp.createRequest(nodeReq);
      const response = await app.render(request);
      await NodeApp.writeResponse(response, nodeRes);
    });
    • Cookies added via Astro.cookies.set() can now be automatically added to the Response object by passing the addCookieHeader option to app.render().
    -const response = await app.render(request)
    -const setCookieHeaders: Array<string> = Array.from(app.setCookieHeaders(webResponse));
    -if (setCookieHeaders.length) {
    
    for (const setCookieHeader of setCookieHeaders) {
    
       headers.append('set-cookie', setCookieHeader);
    
    
    }
    -}
    +const response = await app.render(request, { addCookieHeader: true })
  • #9638 f1a61268061b8834f39a9b38bca043ae41caed04 Thanks @​ematipico! - Adds a new i18n.routing config option redirectToDefaultLocale to disable automatic redirects of the root URL (/) to the default locale when prefixDefaultLocale: true is set.

    In projects where every route, including the default locale, is prefixed with /[locale]/ path, this property allows you to control whether or not src/pages/index.astro should automatically redirect your site visitors from / to /[defaultLocale].

    You can now opt out of this automatic redirection by setting redirectToDefaultLocale: false:

    // astro.config.mjs
  • ... (truncated)

    Changelog

    Sourced from astro's changelog.

    4.2.1

    Patch Changes

    4.2.0

    Minor Changes

    • #9566 165cfc154be477337037185c32b308616d1ed6fa Thanks @​OliverSpeir! - Allows remark plugins to pass options specifying how images in .md files will be optimized

    • #9661 d6edc7540864cf5d294d7b881eb886a3804f6d05 Thanks @​ematipico! - Adds new helper functions for adapter developers.

      • Astro.clientAddress can now be passed directly to the app.render() method.
      const response = await app.render(request, { clientAddress: '012.123.23.3' });
      • Helper functions for converting Node.js HTTP request and response objects to web-compatible Request and Response objects are now provided as static methods on the NodeApp class.
      http.createServer((nodeReq, nodeRes) => {
        const request: Request = NodeApp.createRequest(nodeReq);
        const response = await app.render(request);
        await NodeApp.writeResponse(response, nodeRes);
      });
      • Cookies added via Astro.cookies.set() can now be automatically added to the Response object by passing the addCookieHeader option to app.render().
      -const response = await app.render(request)
      -const setCookieHeaders: Array<string> = Array.from(app.setCookieHeaders(webResponse));
      -if (setCookieHeaders.length) {
      
      for (const setCookieHeader of setCookieHeaders) {
      
         headers.append('set-cookie', setCookieHeader);
      
      
      }
      -}
      +const response = await app.render(request, { addCookieHeader: true })
  • #9638 f1a61268061b8834f39a9b38bca043ae41caed04 Thanks @​ematipico! - Adds a new i18n.routing config option redirectToDefaultLocale to disable automatic redirects of the root URL (/) to the default locale when prefixDefaultLocale: true is set.

    In projects where every route, including the default locale, is prefixed with /[locale]/ path, this property allows you to control whether or not src/pages/index.astro should automatically redirect your site visitors from / to /[defaultLocale].

    You can now opt out of this automatic redirection by setting redirectToDefaultLocale: false:

  • ... (truncated)

    Commits

    Updates eslint-plugin-astro from 0.31.0 to 0.31.3

    Release notes

    Sourced from eslint-plugin-astro's releases.

    v0.31.3

    Patch Changes

    v0.31.2

    Patch Changes

    v0.31.1

    Patch Changes

    Changelog

    Sourced from eslint-plugin-astro's changelog.

    0.31.3

    Patch Changes

    0.31.2

    Patch Changes

    0.31.1

    Patch Changes

    Commits
    • bb945ad chore: release eslint-plugin-astro (#307)
    • babd7ef fix(deps): update dependency eslint-compat-utils to ^0.4.0 (#306)
    • 325c53d chore: release eslint-plugin-astro (#305)
    • eec7e97 fix(deps): update dependency eslint-compat-utils to ^0.3.0 (#304)
    • ee43850 test: refactor (#303)
    • 3ec2e6b chore: release eslint-plugin-astro (#302)
    • 58606dc chore(deps): update actions/deploy-pages action to v4 (#296)
    • a0d909d chore(deps): update actions/upload-pages-artifact action to v3 (#297)
    • 12a5190 fix(deps): update dependency eslint-compat-utils to ^0.2.0 (#301)
    • 46adae6 chore: format
    • Additional commits viewable in compare view

    Updates prettier from 3.2.2 to 3.2.4

    Release notes

    Sourced from prettier's releases.

    3.2.4

    • Fix .eslintrc.json format #15947

    🔗 Changelog

    3.2.3

    • Format tsconfig.json file with jsonc parser #15927

    🔗 Changelog

    Changelog

    Sourced from prettier's changelog.

    3.2.4

    diff

    Fix incorrect parser inference (#15947 by @​fisker)

    Files like .eslintrc.json were incorrectly formatted as JSONC files.

    // Input
    prettier --file-info .eslintrc.json
    { "ignored": false, "inferredParser": "jsonc" }
    // Prettier 3.2.4
    prettier --file-info .eslintrc.json
    { "ignored": false, "inferredParser": "json" }

    3.2.3

    diff

    Throw errors for invalid code (#15881 by @​fisker, @​Josh-Cena, @​auvred)

    // Input
    1++;
    // Prettier 3.2.2
    1++;
    // Prettier 3.2.3
    SyntaxError: Invalid left-hand side expression in unary operation (1:1)
    > 1 | 1++;
    | ^

    // Input
    try {} catch (error = 1){}
    // Prettier 3.2.2
    try {
    } catch (error) {}
    // Prettier 3.2.3
    SyntaxError: Catch clause variable cannot have an initializer. (1:23)
    </tr></table>

    ... (truncated)

    Commits

    Updates prettier-plugin-astro from 0.12.3 to 0.13.0

    Release notes

    Sourced from prettier-plugin-astro's releases.

    v0.13.0

    Minor Changes

    • e97406a: Fix plugin sometimes including significant whitespace inside components, fragments and custom elements
    Changelog

    Sourced from prettier-plugin-astro's changelog.

    0.13.0

    Minor Changes

    • e97406a: Fix plugin sometimes including significant whitespace inside components, fragments and custom elements
    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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
    • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
    • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
    • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
    • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

    Bumps the npm group with 6 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `2.0.4` | `2.0.5` |
    | [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) | `3.0.4` | `3.0.5` |
    | [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `4.1.2` | `4.2.1` |
    | [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro) | `0.31.0` | `0.31.3` |
    | [prettier](https://github.com/prettier/prettier) | `3.2.2` | `3.2.4` |
    | [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro) | `0.12.3` | `0.13.0` |
    
    
    Updates `@astrojs/mdx` from 2.0.4 to 2.0.5
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/mdx)
    
    Updates `@astrojs/sitemap` from 3.0.4 to 3.0.5
    - [Release notes](https://github.com/withastro/astro/releases)
    - [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
    - [Commits](https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/sitemap)
    
    Updates `astro` from 4.1.2 to 4.2.1
    - [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 `eslint-plugin-astro` from 0.31.0 to 0.31.3
    - [Release notes](https://github.com/ota-meshi/eslint-plugin-astro/releases)
    - [Changelog](https://github.com/ota-meshi/eslint-plugin-astro/blob/main/CHANGELOG.md)
    - [Commits](ota-meshi/eslint-plugin-astro@v0.31.0...v0.31.3)
    
    Updates `prettier` from 3.2.2 to 3.2.4
    - [Release notes](https://github.com/prettier/prettier/releases)
    - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/prettier@3.2.2...3.2.4)
    
    Updates `prettier-plugin-astro` from 0.12.3 to 0.13.0
    - [Release notes](https://github.com/withastro/prettier-plugin-astro/releases)
    - [Changelog](https://github.com/withastro/prettier-plugin-astro/blob/main/CHANGELOG.md)
    - [Commits](withastro/prettier-plugin-astro@v0.12.3...v0.13.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@astrojs/mdx"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: npm
    - dependency-name: "@astrojs/sitemap"
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: npm
    - dependency-name: astro
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: npm
    - dependency-name: eslint-plugin-astro
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: npm
    - dependency-name: prettier
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: npm
    - dependency-name: prettier-plugin-astro
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: npm
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    @dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 21, 2024
    @dependabot dependabot bot requested a review from jakemulley January 21, 2024 14:55
    @jakemulley jakemulley merged commit b7fe251 into main Jan 21, 2024
    2 checks passed
    @jakemulley jakemulley deleted the dependabot/npm_and_yarn/npm-e5702a5548 branch January 21, 2024 15:04
    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.

    1 participant