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.
#121732d10de5 Thanks @ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.
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';
}
</code></pre>
</li>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/11984">#11984</a> <a href="https://github.com/withastro/astro/commit/3ac2263ff6070136bec9cffb863c38bcc31ccdfe"><code>3ac2263</code></a> Thanks <a href="https://github.com/chaegumi"><code>@chaegumi</code></a>! - Adds a new <code>build.concurreny</code> configuration option to specify the number of pages to build in parallel</p>
<p><strong>In most cases, you should not change the default value of <code>1</code>.</strong></p>
<p>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.</p>
<p>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.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p>
<blockquote>
<h2>4.16.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/12177">#12177</a> <a href="https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e"><code>a4ffbfa</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Ensure we target scripts for execution in the router</p>
<p>Using <code>document.scripts</code> is unsafe because if the application has a <code>name="scripts"</code> this will shadow the built-in <code>document.scripts</code>. Fix is to use <code>getElementsByTagName</code> to ensure we're only grabbing real scripts.</p>
</li>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/12173">#12173</a> <a href="https://github.com/withastro/astro/commit/2d10de5f212323e6e19c7ea379826dcc18fe739c"><code>2d10de5</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.</p>
</li>
</ul>
<h2>4.16.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/12039">#12039</a> <a href="https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b"><code>710a1a1</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Adds a <code>markdown.shikiConfig.langAlias</code> option that allows <a href="https://shiki.style/guide/load-lang#custom-language-aliases">aliasing a non-supported code language to a known language</a>. This is useful when the language of your code samples is not <a href="https://shiki.style/languages">a built-in Shiki language</a>, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.</p>
<p>The following example configures Shiki to highlight <code>cjs</code> code blocks using the <code>javascript</code> syntax highlighter:</p>
<pre lang="js"><code>import { defineConfig } from 'astro/config';
export default defineConfig({
markdown: {
shikiConfig: {
langAlias: {
cjs: 'javascript',
},
},
},
});
</code></pre>
<p>Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:</p>
<pre lang="md"><code>```cjs
'use strict';
function commonJs() {
return 'I am a commonjs file';
}
#119843ac2263 Thanks @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.
Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library.
4.5.0 / 2024-09-03
feat #666: ignoreAttributes support function, and array of string or regex (By ArtemM)
4.4.1 / 2024-07-28
v5 fix: maximum length limit to currency value
fix #634: build attributes with oneListGroup and attributesGroupName (#653)(By Andreas Naziris)
fix: get oneListGroup to work as expected for array of strings (#662)(By Andreas Naziris)
4.4.0 / 2024-05-18
fix #654: parse attribute list correctly for self closing stop node.
Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you see automated scanners saying otherwise, don't be scared.
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/nbtca/Home/network/alerts).
Bumps the npm_and_yarn group with 3 updates in the / directory: astro, fast-xml-parser and micromatch.
Updates
astro
from 4.15.9 to 4.16.1Release notes
Sourced from astro's releases.
... (truncated)
Commits
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)a4ffbfa
Ensure router only targets scripts for execution (#12177)2f5b28e
Use p-queue instead of fastq (#12189)1f93fca
Fix biome lint warning (#12187)582f12e
[ci] release (#12148)b9e8e96
add info about content intellisense (#12164)c6fd1df
Fix mts reloads (#12160)Updates
cookie
from 0.6.0 to 0.7.2Release notes
Sourced from cookie's releases.
Commits
d19eaa1
0.7.2bc38ffd
Fix object assignment ofhasOwnProperty
(#177)cf4658f
0.7.16a8b8f5
Allow leading dot for domain (#174)58015c0
Remove more code and perf wins (#172)ab057d6
0.7.05f02ca8
Migrate history to GitHub releasesa5d591c
Migrate history to GitHub releases51968f9
Skip isNaN9e7ca51
perf(parse): cache length, return early (#144)Maintainer changes
This version was pushed to npm by blakeembrey, a new releaser for cookie since your current version.
Updates
dset
from 3.1.3 to 3.1.4Commits
05b1ec0
3.1.416d6154
fix: prevent proto assignment via implicit stringUpdates
fast-xml-parser
from 4.4.0 to 4.5.0Changelog
Sourced from fast-xml-parser's changelog.
... (truncated)
Commits
7ed4606
update package detail98d8f47
feat #666: add selective ignoreAttributes by pattern or callback (#668)d40e29c
update package detail and browser bundlesd0bfe8a
fix maxlength for currency value2c14fcf
Update bug-report-or-unexpected-output.mdacf610f
fix #634: build attributes with oneListGroup and attributesGroupName (#653)931e910
fix: get oneListGroup to work as expected for array of strings (#662)b8e40c8
Update ISSUE_TEMPLATE.mda6265ba
chore: add trend image (#658)db1c548
redesign README.mdUpdates
micromatch
from 4.0.7 to 4.0.8Release notes
Sourced from micromatch's releases.
Changelog
Sourced from micromatch's changelog.
Commits
8bd704e
4.0.8a0e6841
run verb to generate README documentation4ec2884
Merge branch 'v4' into hauserkristof-feature/v4.0.803aa805
Merge pull request #266 from hauserkristof/feature/v4.0.8814f5f7
lint67fcce6
fix: CHANGELOG about braces & CVE-2024-4068, v4.0.5113f2e3
fix: CVE numbers in CHANGELOGd9dbd9a
feat: updated CHANGELOG2ab1315
fix: use actions/setup-node@v41406ea3
feat: rework test to work on macos with node 10,12 and 14Updates
rollup
from 4.18.0 to 4.22.5Release notes
Sourced from rollup's releases.
... (truncated)
Changelog
Sourced from rollup's changelog.
... (truncated)
Commits
bc7780c
4.22.5ee138d1
chore(deps): lock file maintenance minor/patch updates (#5684)2d59dbc
chore(deps): update dependency@rollup/plugin-commonjs
to v28 (#5680)524670d
Fix panic with unicode characters (#5674)9c5e345
chore(deps): update dependency@rollup/plugin-replace
to v6 (#5681)6d75b6d
chore(deps): update dependency@rollup/plugin-typescript
to v12 (#5682)89a68c2
chore(deps): update dependency rollup to v4.22.4 [security] (#5675)79c0aba
4.22.4e2552c9
Fix DOM Clobbering CVE (#5671)10ab90e
refactor: Use object.prototype to check for reserved properties (#5670)Updates
vite
from 5.3.3 to 5.4.8Release notes
Sourced from vite's releases.
... (truncated)
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
0474550
release: v5.4.88464d97
fix(css): backport #18128, ensure sass compiler initialized only once (#18184)7d47fc1
fix(css): backport #18113, fix missing source file warning with sass modern a...a403e73
release: v5.4.7b5908a2
fix: treat config file as ESM in Deno (#18158)f969176
release: v5.4.6179b177
fix: avoid DOM Clobbering gadget ingetRelativeUrlFromDocument
(#18115)6820bb3
fix: fs raw query (#18112)37881e7
release: v5.4.5faa2405
fix(preload): backport #18098, throw error preloading module as well (#18099)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