Skip to content

Commit

Permalink
Downgrade @astrojs/sitemap back to v1.2.2
Browse files Browse the repository at this point in the history
Draft posts show up in the sitemap with higher versions.

There was a fix for filtering in general:
withastro/astro#7263

But it didn't seem to fix drafts. There is a broader discussion for how
to handle drafts:
withastro/astro#7324
  • Loading branch information
dguo committed Jul 16, 2023
1 parent 85aef46 commit 73b112b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@astrojs/mdx": "0.19.7",
"@astrojs/rss": "2.4.3",
"@astrojs/sitemap": "1.4.0",
"@astrojs/sitemap": "1.2.2",
"@fontsource/open-sans": "5.0.5",
"@fontsource/source-code-pro": "5.0.5",
"@fontsource/source-serif-pro": "5.0.5",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,13 @@ __metadata:
languageName: node
linkType: hard

"@astrojs/sitemap@npm:1.4.0":
version: 1.4.0
resolution: "@astrojs/sitemap@npm:1.4.0"
"@astrojs/sitemap@npm:1.2.2":
version: 1.2.2
resolution: "@astrojs/sitemap@npm:1.2.2"
dependencies:
sitemap: ^7.1.1
zod: ^3.17.3
checksum: ef0360d7b49861b4a41ace6d5708ce3d57f7937f36299169bc31a4cf1eff45149f1e8879e3bbbfed0a738062bdec5e4b31d483b5ed4bbd08d35c2872e6bc90a3
checksum: 19211ac62716fe366f722324d01f10e894e219c6a7a29fbd994a16179e933c189a019a6461653472b09e92b6e6cd6bd73ffb3b16bb8185d290677cf71f2720bf
languageName: node
linkType: hard

Expand Down Expand Up @@ -3725,7 +3725,7 @@ __metadata:
dependencies:
"@astrojs/mdx": 0.19.7
"@astrojs/rss": 2.4.3
"@astrojs/sitemap": 1.4.0
"@astrojs/sitemap": 1.2.2
"@fontsource/open-sans": 5.0.5
"@fontsource/source-code-pro": 5.0.5
"@fontsource/source-serif-pro": 5.0.5
Expand Down

0 comments on commit 73b112b

Please sign in to comment.