Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions demos/loaders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"@ascorbic/youtube-loader": "workspace:^",
"@astro-community/astro-embed-bluesky": "^0.1.3",
"@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4",
"@astrojs/netlify": "^6.4.0",
"@astrojs/check": "^0.9.7",
"@astrojs/netlify": "^7.0.2",
"@atproto/api": "^0.13.31",
"@unpic/astro": "^1.0.0",
"astro": "^5.10.1",
"astro": "^6.0.4",
"typescript": "^5.7.3"
}
}
4 changes: 2 additions & 2 deletions packages/airtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"astro": "^5.10.1",
"astro": "^6.0.4",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [
"withastro",
Expand Down
4 changes: 2 additions & 2 deletions packages/bluesky/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"astro": "^5.10.1",
"astro": "^6.0.4",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3",
"vitest": "^3.2.4"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [
"withastro",
Expand Down
4 changes: 2 additions & 2 deletions packages/csv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@types/papaparse": "^5.3.15",
"astro": "^5.10.1",
"astro": "^6.0.4",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [
"withastro",
Expand Down
8 changes: 4 additions & 4 deletions packages/feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"astro": "^5.10.1",
"astro": "^6.0.4",
"msw": "^2.10.2",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [
"withastro",
Expand All @@ -42,7 +42,7 @@
},
"homepage": "https://github.com/ascorbic/astro-loaders",
"dependencies": {
"@rowanmanning/feed-parser": "^2.0.0",
"@ascorbic/loader-utils": "workspace:^"
"@ascorbic/loader-utils": "workspace:^",
"@rowanmanning/feed-parser": "^2.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/feed/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const FeedCategorySchema = z.object({
});

// Legacy schemas from original implementation for exact backward compatibility
export const LegacyNSSchema = z.record(z.string());
export const LegacyNSSchema = z.record(z.string(), z.unknown());
Copy link
Copy Markdown
Author

@kydecker kydecker Mar 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zod 4 requires two arguments for z.record(): https://zod.dev/v4/changelog?id=drops-single-argument-usage


export const LegacyImageSchema = z.object({
url: z.string().optional(),
Expand Down Expand Up @@ -111,7 +111,7 @@ export const LegacyItemSchema = z
enclosures: z.array(LegacyEnclosureSchema),
meta: LegacyMetaSchema,
})
.and(z.record(z.unknown())); // Allow additional fields
.and(z.record(z.string(), z.unknown())); // Allow additional fields

// Feed schema for the complete feed structure
export const FeedSchema = z.object({
Expand Down
4 changes: 2 additions & 2 deletions packages/mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"astro": "^5.10.1",
"astro": "^6.0.4",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [
"withastro",
Expand Down
7 changes: 3 additions & 4 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"astro": "^5.10.1",
"astro": "^6.0.4",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [],
"author": "",
Expand All @@ -34,6 +34,5 @@
"url": "git+https://github.com:ascorbic/astro-loaders.git",
"directory": "packages/utils"
},
"homepage": "https://github.com/ascorbic/astro-loaders",
"dependencies": {}
"homepage": "https://github.com/ascorbic/astro-loaders"
}
4 changes: 2 additions & 2 deletions packages/youtube/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"astro": "^5.10.1",
"astro": "^6.0.4",
"msw": "^2.10.2",
"publint": "^0.3.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"peerDependencies": {
"astro": "^4.14.0 || ^5.0.0"
"astro": "^4.14.0 || ^5.0.0 || ^6.0.0"
},
"keywords": [
"withastro",
Expand Down
Loading
Loading