Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-mdx-frontmatter

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-mdx-frontmatter - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

6

index.d.ts

@@ -16,4 +16,4 @@ import { Root } from 'mdast';

*
* By default `yaml` nodes will be parsed using [`js-yaml`](https://github.com/nodeca/js-yaml)
* and `toml` nodes using [`toml`](https://github.com/BinaryMuse/toml-node).
* By default `yaml` nodes will be parsed using [`yaml`](https://github.com/eemeli/yaml) and
* `toml` nodes using [`toml`](https://github.com/BinaryMuse/toml-node).
*/

@@ -25,3 +25,3 @@ parsers?: FrontmatterParsers;

*
* @param options - Optional options to configure the output.
* @param options Optional options to configure the output.
* @returns A unified transformer.

@@ -28,0 +28,0 @@ */

@@ -10,3 +10,3 @@ import { name as isValidIdentifierName } from 'estree-util-is-identifier-name';

*
* @param object - The object to create an export node for.
* @param object The object to create an export node for.
* @returns The MDX ESM node.

@@ -49,3 +49,3 @@ */

*
* @param options - Optional options to configure the output.
* @param options Optional options to configure the output.
* @returns A unified transformer.

@@ -52,0 +52,0 @@ */

{
"name": "remark-mdx-frontmatter",
"version": "2.0.2",
"version": "2.0.3",
"description": "A remark plugin for converting frontmatter metadata into MDX exports",

@@ -43,3 +43,2 @@ "author": "Remco Haszing <remcohaszing@gmail.com>",

"@types/mdast": "^3.0.0",
"c8": "^7.11.3",
"estree-util-is-identifier-name": "^2.0.0",

@@ -55,4 +54,5 @@ "estree-util-value-to-estree": "^1.0.0",

"@typescript-eslint/eslint-plugin": "^5.0.0",
"c8": "^7.0.0",
"eslint": "^8.0.0",
"eslint-config-remcohaszing": "^4.0.0",
"eslint-config-remcohaszing": "^5.0.0",
"eslint-plugin-jsx-a11y": "^6.0.0",

@@ -59,0 +59,0 @@ "eslint-plugin-react": "^7.0.0",

@@ -73,4 +73,4 @@ # remark-mdx-frontmatter

is a function that accepts the frontmatter data as a string, and returns the parsed data. By default
`yaml` nodes will be parsed using [`js-yaml`](https://github.com/nodeca/js-yaml) and `toml` nodes
using [`toml`](https://github.com/BinaryMuse/toml-node).
`yaml` nodes will be parsed using [`yaml`](https://github.com/eemeli/yaml) and `toml` nodes using
[`toml`](https://github.com/BinaryMuse/toml-node).

@@ -77,0 +77,0 @@ ### License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc