Skip to content

Commit a7e9214

Browse files
authored
chore: remark-slug → rehype-slug (#1763)
1 parent 96146a5 commit a7e9214

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"react-syntax-highlighter": "~15.6.1",
152152
"react-timeago": "~7.2.0",
153153
"react-twitter-widgets": "~1.11.0",
154-
"remark-slug": "7",
154+
"rehype-slug": "~6.0.0",
155155
"sass": "~1.83.0",
156156
"styled-components": "~6.1.13",
157157
"styled-is": "~1.3.0",

src/components/markdown/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import styled, { css } from 'styled-components'
55
import { wordBreak } from 'helpers/style'
66
import Mdx from 'mdx-scoped-runtime'
77
import { mqlCode } from 'helpers'
8-
import slug from 'remark-slug'
8+
import slug from 'rehype-slug'
99
import React from 'react'
1010
import get from 'dlv'
1111

0 commit comments

Comments
 (0)