core
core copied to clipboard
chore(deps): bump astro from 4.14.4 to 4.16.3 in /examples/astro
Bumps astro from 4.14.4 to 4.16.3.
Release notes
Sourced from astro's releases.
[email protected]
Patch Changes
#12220
b049359
Thanks@bluwy
! - Fixes accidental internalsetOnSetGetEnv
parameter rename that caused runtime errors#12197
2aa2dfd
Thanks@ematipico
! - Fix a regression where a port was incorrectly added to theAstro.url
[email protected]
Patch Changes
- #12206
12b0022
Thanks@bluwy
! - Reverts withastro/astro#12173 which causedCan't modify immutable headers
warnings and 500 errors on Cloudflare Pages[email protected]
Patch Changes
#12177
a4ffbfa
Thanks@matthewp
! - Ensure we target scripts for execution in the routerUsing
document.scripts
is unsafe because if the application has aname="scripts"
this will shadow the built-indocument.scripts
. Fix is to usegetElementsByTagName
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 amarkdown.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 thejavascript
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
#12220
b049359
Thanks@bluwy
! - Fixes accidental internalsetOnSetGetEnv
parameter rename that caused runtime errors#12197
2aa2dfd
Thanks@ematipico
! - Fix a regression where a port was incorrectly added to theAstro.url
4.16.2
Patch Changes
- #12206
12b0022
Thanks@bluwy
! - Reverts withastro/astro#12173 which causedCan't modify immutable headers
warnings and 500 errors on Cloudflare Pages4.16.1
Patch Changes
#12177
a4ffbfa
Thanks@matthewp
! - Ensure we target scripts for execution in the routerUsing
document.scripts
is unsafe because if the application has aname="scripts"
this will shadow the built-indocument.scripts
. Fix is to usegetElementsByTagName
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 amarkdown.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 thejavascript
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
a338041
[ci] release (#12221)59a2fbc
[ci] format2aa2dfd
fix: revert regression of port computation (#12197)b049359
Fix setOnSetGetEnv parameter name (#12220)bbc72a1
[ci] release (#12207)12b0022
Revert #12173 (#12206)c73d65d
[ci] release (#12178)650dd22
Fix VT video test fail in firefox (#12188)58e22bd
[ci] format2d10de5
fix(routing): actions should redirect the original pathname (#12173)- 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 <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.