srod / node-minify

Light Node.js module that compress javascript, css and html files
https://node-minify.2clics.net
MIT License
507 stars 54 forks source link

fix(deps): update dependency astro to v4.16.0 #2462

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 4.15.12 -> 4.16.0 age adoption passing confidence

Release Notes

withastro/astro (astro) ### [`v4.16.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4160) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.15.12...astro@4.16.0) ##### Minor Changes - [#​12039](https://redirect.github.com/withastro/astro/pull/12039) [`710a1a1`](https://redirect.github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), 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: ```js 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: ````md ```cjs 'use strict'; function commonJs() { return 'I am a commonjs file'; } ``` ```` - [#​11984](https://redirect.github.com/withastro/astro/pull/11984) [`3ac2263`](https://redirect.github.com/withastro/astro/commit/3ac2263ff6070136bec9cffb863c38bcc31ccdfe) Thanks [@​chaegumi](https://redirect.github.com/chaegumi)! - Adds a new `build.concurreny` configuration option to specify the number of pages to build in parallel **In most cases, you should not change the default value of `1`.** Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient. Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded. > \[!WARNING] > This feature is stable and is not considered experimental. However, this feature is only intended to address difficult performance issues, and breaking changes may occur in a [minor release](https://docs.astro.build/en/upgrade-astro/#semantic-versioning) to keep this option as performant as possible. ```js // astro.config.mjs import { defineConfig } from 'astro'; export default defineConfig({ build: { concurrency: 2, }, }); ``` ##### Patch Changes - [#​12160](https://redirect.github.com/withastro/astro/pull/12160) [`c6fd1df`](https://redirect.github.com/withastro/astro/commit/c6fd1df695d0f2a24bb49e6954064f92664ccf67) Thanks [@​louisescher](https://redirect.github.com/louisescher)! - Fixes a bug where `astro.config.mts` and `astro.config.cts` weren't reloading the dev server upon modifications. - [#​12130](https://redirect.github.com/withastro/astro/pull/12130) [`e96bcae`](https://redirect.github.com/withastro/astro/commit/e96bcae535ef2f0661f539c1d49690c531df2d4e) Thanks [@​thehansys](https://redirect.github.com/thehansys)! - Fixes a bug in the parsing of `x-forwarded-\*` `Request` headers, where multiple values assigned to those headers were not correctly parsed. Now, headers like `x-forwarded-proto: https,http` are correctly parsed. - [#​12147](https://redirect.github.com/withastro/astro/pull/12147) [`9db755a`](https://redirect.github.com/withastro/astro/commit/9db755ab7cfe658ec426387e297bdcd32c4bc8de) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Skips setting statusMessage header for HTTP/2 response HTTP/2 doesn't support status message, so setting this was logging a warning. - [#​12151](https://redirect.github.com/withastro/astro/pull/12151) [`bb6d37f`](https://redirect.github.com/withastro/astro/commit/bb6d37f94a283433994f9243189cb4386df0e11a) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where `Astro.currentLocale` wasn't incorrectly computed when the `defaultLocale` belonged to a custom locale path. - Updated dependencies \[[`710a1a1`](https://redirect.github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​5](https://redirect.github.com/5).3.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

netlify[bot] commented 1 month ago

Deploy Preview for node-minify-docs-dev canceled.

Name Link
Latest commit 77ec3337204cbc1293ad6762af91dc4895a416d9
Latest deploy log https://app.netlify.com/sites/node-minify-docs-dev/deploys/6707ce941a5ad300082d79d1
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.46%. Comparing base (b651d71) to head (77ec333). Report is 1 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2462 +/- ## ======================================== Coverage 92.46% 92.46% ======================================== Files 24 24 Lines 2004 2004 Branches 237 237 ======================================== Hits 1853 1853 Misses 151 151 ``` | [Flag](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | Coverage Δ | | |---|---|---| | [babel-minify](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `98.82% <ø> (ø)` | | | [clean-css](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `98.80% <ø> (ø)` | | | [cli](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `69.78% <ø> (ø)` | | | [core](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `97.67% <ø> (ø)` | | | [crass](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [cssnano](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [csso](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [google-closure-compiler](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `99.06% <ø> (ø)` | | | [html-minifier](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [jsonminify](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [no-compress](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [run](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [sqwish](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [terser](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [uglify-es](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `100.00% <ø> (ø)` | | | [uglify-js](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `98.46% <ø> (ø)` | | | [utils](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `81.42% <ø> (ø)` | | | [yui](https://app.codecov.io/gh/srod/node-minify/pull/2462/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin) | `98.52% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rodolphe+Stoclin#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.