mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
Compare commits
1 Commits
95081b8b77
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36c6484c81 |
2
src/pnpm-lock.yaml
generated
2
src/pnpm-lock.yaml
generated
@@ -1363,6 +1363,7 @@ packages:
|
|||||||
|
|
||||||
intersection-observer@0.10.0:
|
intersection-observer@0.10.0:
|
||||||
resolution: {integrity: sha512-fn4bQ0Xq8FTej09YC/jqKZwtijpvARlRp6wxL5WTA6yPe2YWSJ5RJh7Nm79rK2qB0wr6iDQzH60XGq5V/7u8YQ==}
|
resolution: {integrity: sha512-fn4bQ0Xq8FTej09YC/jqKZwtijpvARlRp6wxL5WTA6yPe2YWSJ5RJh7Nm79rK2qB0wr6iDQzH60XGq5V/7u8YQ==}
|
||||||
|
deprecated: The Intersection Observer polyfill is no longer needed and can safely be removed. Intersection Observer has been Baseline since 2019.
|
||||||
|
|
||||||
iron-webcrypto@1.2.1:
|
iron-webcrypto@1.2.1:
|
||||||
resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==}
|
resolution: {integrity: sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==}
|
||||||
@@ -2115,6 +2116,7 @@ packages:
|
|||||||
sitemap@8.0.0:
|
sitemap@8.0.0:
|
||||||
resolution: {integrity: sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==}
|
resolution: {integrity: sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==}
|
||||||
engines: {node: '>=14.0.0', npm: '>=6.0.0'}
|
engines: {node: '>=14.0.0', npm: '>=6.0.0'}
|
||||||
|
deprecated: 'SECURITY: Multiple vulnerabilities fixed in 8.0.1 (XML injection, path traversal, command injection, protocol injection). Upgrade immediately: npm install sitemap@8.0.1'
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
smol-toml@1.4.2:
|
smol-toml@1.4.2:
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ author: Timothy Pidashev
|
|||||||
tags: ["uefi", "coreboot", "firmware", "chromebooks"]
|
tags: ["uefi", "coreboot", "firmware", "chromebooks"]
|
||||||
date: 2025-09-15
|
date: 2025-09-15
|
||||||
image: "/blog/breaking-the-chromebook-cage/thumbnail.png"
|
image: "/blog/breaking-the-chromebook-cage/thumbnail.png"
|
||||||
isDraft: true
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ author: Timothy Pidashev
|
|||||||
tags: [t440p, coreboot, thinkpad]
|
tags: [t440p, coreboot, thinkpad]
|
||||||
date: 2025-01-15
|
date: 2025-01-15
|
||||||
image: "/blog/thinkpad-t440p-coreboot-guide/thumbnail.png"
|
image: "/blog/thinkpad-t440p-coreboot-guide/thumbnail.png"
|
||||||
isDraft: true
|
|
||||||
---
|
---
|
||||||
|
|
||||||
import { Commands, Command, CommandSequence } from "@/components/mdx/command";
|
import { Commands, Command, CommandSequence } from "@/components/mdx/command";
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ export const collections = {
|
|||||||
}),
|
}),
|
||||||
image: z.string().optional(),
|
image: z.string().optional(),
|
||||||
imagePosition: z.string().optional(),
|
imagePosition: z.string().optional(),
|
||||||
isDraft: z.boolean().optional()
|
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
projects: defineCollection({
|
projects: defineCollection({
|
||||||
@@ -23,7 +22,7 @@ export const collections = {
|
|||||||
demoUrl: z.string().url().optional(),
|
demoUrl: z.string().url().optional(),
|
||||||
techStack: z.array(z.string()),
|
techStack: z.array(z.string()),
|
||||||
date: z.string(),
|
date: z.string(),
|
||||||
image: z.string().optional()
|
image: z.string().optional(),
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ const { slug } = Astro.params;
|
|||||||
const posts = await getCollection("blog");
|
const posts = await getCollection("blog");
|
||||||
const post = posts.find(post => post.slug === slug);
|
const post = posts.find(post => post.slug === slug);
|
||||||
|
|
||||||
if (!post || post.data.isDraft === true) {
|
if (!post) {
|
||||||
return new Response(null, {
|
return new Response(null, {
|
||||||
status: 404,
|
status: 404,
|
||||||
statusText: "Not found"
|
statusText: 'Not found'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user