Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import node from "@astrojs/node";
import { parseFrontmatter } from "@astrojs/markdown-remark";
import { load } from "cheerio";
import fg from "fast-glob";
import difference from "lodash-es/difference";
import difference from "lodash/difference";
import { remarkDefinitionList, defListHastHandlers } from "remark-definition-list";
import remarkDirective from "remark-directive";

Expand Down
1,967 changes: 936 additions & 1,031 deletions package-lock.json

Large diffs are not rendered by default.

21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,30 @@
"postinstall": "patch-package"
},
"dependencies": {
"@astrojs/markdown-remark": "^6.3.6",
"@astrojs/node": "^9.4.3",
"astro": "^5.13.7",
"@astrojs/markdown-remark": "^6.3.10",
"@astrojs/node": "^9.5.3",
"astro": "~5.15.9",
"cheerio": "^1.0.0",
"fast-glob": "^3.3.3",
"hast-util-to-html": "^9.0.4",
"lodash-es": "^4.17.21",
"hast-util-to-html": "^9.0.5",
"lodash": "^4.17.23",
"patch-package": "^8.0.0",
"remark-definition-list": "^2.0.0",
"remark-directive": "^3.0.1",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.3"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/check": "^0.9.6",
"@types/hast": "^3.0.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.17.14",
"@types/lodash": "^4.17.23",
"@types/node": "^20.19.33",
"cspell": "^9.2.1",
"typescript": "^5.8.2"
},
"overrides": {
"@astrojs/check": {
"lodash": "^4.17.23"
}
}
}
2 changes: 1 addition & 1 deletion patches/astro+5.13.7.patch → patches/astro+5.15.9.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ index 04d0b74..7007630 100644
/**
* Loads multiple entries, using a glob pattern to match files.
diff --git a/node_modules/astro/dist/content/loaders/glob.js b/node_modules/astro/dist/content/loaders/glob.js
index 8689525..fcbf9f4 100644
index 1448e64..0fbbb71 100644
--- a/node_modules/astro/dist/content/loaders/glob.js
+++ b/node_modules/astro/dist/content/loaders/glob.js
@@ -156,7 +156,8 @@ function glob(globOptions) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/guidelines/GlossaryDefinitionList.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { getCollection } from "astro:content";
import { sortBy } from "lodash-es";
import sortBy from "lodash/sortBy";

import { computeTermTitle } from "@/lib/guidelines";
import GlossaryDefinition from "./GlossaryDefinition.astro";
Expand Down
2 changes: 1 addition & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineCollection, reference, z } from "astro:content";
import { file, glob } from "astro/loaders";
import uniq from "lodash-es/uniq";
import uniq from "lodash/uniq";

/** howto can be set to true to indicate the informative and normative slugs are identical */
const howtoSchema = z.boolean().or(z.string().regex(/^[\w-]+$/));
Expand Down
4 changes: 2 additions & 2 deletions src/lib/guidelines.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getCollection, getEntry, type CollectionEntry, type CollectionKey } from "astro:content";
import capitalize from "lodash-es/capitalize";
import difference from "lodash-es/difference";
import capitalize from "lodash/capitalize";
import difference from "lodash/difference";

import { isDevOrPreview } from "./constants";

Expand Down