diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 6a41d933..9e75eadf 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -25,7 +25,7 @@ "@types/hast": "^3.0.0", "@types/node": "^18.15.3", "github-slugger": "^2.0.0", - "hast-util-heading-rank": "^2.1.1", + "hast-util-heading-rank": "^3.0.0", "hast-util-to-string": "^2.0.0", "micromark": "^4.0.0", "micromark-extension-directive": "^2.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3b8b7683..da41acc7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -313,8 +313,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 hast-util-heading-rank: - specifier: ^2.1.1 - version: 2.1.1 + specifier: ^3.0.0 + version: 3.0.0 hast-util-to-string: specifier: ^2.0.0 version: 2.0.0 @@ -9188,6 +9188,12 @@ packages: '@types/hast': 2.3.4 dev: true + /hast-util-heading-rank@3.0.0: + resolution: {integrity: sha512-EJKb8oMUXVHcWZTDepnr+WNbfnXKFNf9duMesmr4S8SXTJBJ9M4Yok08pu9vxdJwdlGRhVumk9mEhkEvKGifwA==} + dependencies: + '@types/hast': 3.0.0 + dev: true + /hast-util-is-element@2.1.3: resolution: {integrity: sha512-O1bKah6mhgEq2WtVMk+Ta5K7pPMqsBBlmzysLdcwKVrqzZQ0CHqUPiIVspNhAG1rvxpvJjtGee17XfauZYKqVA==} dependencies: