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
10 changes: 10 additions & 0 deletions .changeset/use-maintained-gray-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@refinedev/devtools-server": minor
"@refinedev/cli": minor
---

feat: moved to @11ty/gray-matter #7510

Now uses a maintained fork of gray-matter library.

[Resolves #7510](https://github.com/refinedev/refine/issues/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
2 changes: 1 addition & 1 deletion packages/cli/src/utils/announcement/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import matter from "gray-matter";
import matter from "@11ty/gray-matter";
import boxen from "boxen";

import type { Announcement } from "../../definitions/announcement";
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
2 changes: 1 addition & 1 deletion packages/devtools-server/src/feed/get-feed.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fetch from "node-fetch";
import matter from "gray-matter";
import matter from "@11ty/gray-matter";
import { marked } from "marked";
import sanitizeHtml from "sanitize-html";

Expand Down
Loading