Skip to content
Open
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
6 changes: 6 additions & 0 deletions .changeset/11ty-gray-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@refinedev/cli": patch
"@refinedev/devtools-server": patch
---

chore(deps): replace the unmaintained `gray-matter` (last release 2019) with the maintained `@11ty/gray-matter` fork, which also pulls in a patched `js-yaml` (#7510)
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"figlet": "^1.5.2",
"fs-extra": "^10.1.0",
"globby": "^11.1.0",
"gray-matter": "^4.0.3",
"@11ty/gray-matter": "^3.0.0",
"handlebars": "^4.7.7",
"inquirer": "^8.2.5",
"inquirer-autocomplete-prompt": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/utils/announcement/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import matter from "gray-matter";
import matter from "@11ty/gray-matter";
import boxen from "boxen";
import React from "react";

import type { Announcement } from "../../definitions/announcement";
import { markedTerminalRenderer } from "@utils/marked-terminal-renderer";
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"express": "^4.21.0",
"fs-extra": "^10.1.0",
"globby": "^11.1.0",
"gray-matter": "^4.0.3",
"@11ty/gray-matter": "^3.0.0",
"http-proxy-middleware": "^3.0.0",
"jscodeshift": "^17.3.0",
"lodash": "^4.17.21",
Expand Down
4 changes: 2 additions & 2 deletions packages/devtools-server/src/feed/get-feed.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fetch from "node-fetch";
import matter from "gray-matter";
import matter from "@11ty/gray-matter";
import { marked } from "marked";
import fetch from "node-fetch";
import sanitizeHtml from "sanitize-html";

import type { Feed, FeedSection } from "@refinedev/devtools-shared";
Expand Down
51 changes: 28 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.