Skip to content

Commit

Permalink
Chore: Updating to latest Astro beta release (withastro#746)
Browse files Browse the repository at this point in the history
Co-authored-by: delucis <swithinbank@gmail.com>
  • Loading branch information
Tony Sullivan and delucis authored Jun 21, 2022
1 parent bf5b4c4 commit d948e98
Show file tree
Hide file tree
Showing 5 changed files with 767 additions and 343 deletions.
4 changes: 3 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { h } from 'hastscript';
import { tokens, foregroundPrimary, backgroundPrimary } from './syntax-highlighting-theme';
import { astroAsides } from './integrations/astro-asides';

import { escapeHtml } from './src/util';

const AnchorLinkIcon = h(
'svg',
{
Expand All @@ -26,7 +28,7 @@ const AnchorLinkIcon = h(
);

const createSROnlyLabel = (text: string) => {
const node = h('span.sr-only', `Section titled ${text}`);
const node = h('span.sr-only', `Section titled ${escapeHtml(text)}`);
node.properties['is:raw'] = true;
return node;
};
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,42 +21,42 @@
},
"devDependencies": {
"@actions/core": "^1.7.0",
"@algolia/client-search": "^4.13.0",
"@astrojs/preact": "^0.0.2",
"@astrojs/react": "^0.1.0",
"@astrojs/sitemap": "^0.1.0",
"@algolia/client-search": "^4.13.1",
"@astrojs/preact": "^0.1.3",
"@astrojs/react": "^0.1.3",
"@astrojs/sitemap": "^0.1.2",
"@babel/core": "^7.17.9",
"@docsearch/react": "^3.1.0",
"@types/mdast": "^3.0.10",
"@types/react": "^17.0.43",
"@types/react": "^18.0.14",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"astro": "^1.0.0-beta.17",
"astro": "1.0.0-beta.48",
"astro-eslint-parser": "^0.2.2",
"bcp-47-normalize": "^2.1.0",
"dedent-js": "^1.0.1",
"eslint": "^8.16.0",
"eslint-plugin-astro": "^0.8.1",
"eslint-plugin-astro": "^0.13.0",
"fast-glob": "^3.2.11",
"hastscript": "^7.0.2",
"htmlparser2": "^7.2.0",
"kleur": "^4.1.4",
"node-fetch": "^3.2.3",
"preact": "^10.7.1",
"node-fetch": "^3.2.6",
"preact": "^10.8.1",
"prettier": "^2.6.2",
"prompts": "^2.4.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark-directive": "^2.0.1",
"simple-git": "^3.7.1",
"tsm": "^2.2.1",
"typescript": "^4.7.2",
"typescript": "^4.7.4",
"unified": "^10.1.2",
"unist-util-remove": "^3.1.0",
"unist-util-visit": "^4.1.0"
},
"dependencies": {
"@astropub/icons": "^0.2.0",
"@docsearch/react": "^3.0.0",
"jsdoc-api": "^7.1.1",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1",
Expand Down
Loading

0 comments on commit d948e98

Please sign in to comment.