Skip to content

Commit a03e74d

Browse files
authored
Replace mdast with @types/mdast (#4882)
* Replace `mdast` with `@types/mdast` * Add PR number * Revert * Use @types/mdast
1 parent ffe1435 commit a03e74d

File tree

5 files changed

+88
-168
lines changed

5 files changed

+88
-168
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
4747
- Resolves [#4842](https://github.com/microsoft/BotFramework-WebChat/issues/4842). Added provenance in activity status, by [@compulim](https://github.com/compulim), in PR [#4846](https://github.com/microsoft/BotFramework-WebChat/pull/4846)
4848
- Resolves [#4856](https://github.com/microsoft/BotFramework-WebChat/issues/4856). Added types for `useStyleSet`, by [@compulim](https://github.com/compulim), in PR [#4857](https://github.com/microsoft/BotFramework-WebChat/pull/4857)
4949

50+
### Changed
51+
52+
- Fixed [#4875](https://github.com/microsoft/BotFramework-WebChat/issues/4875). Replaced [`mdast`](https://npmjs.com/package/mdast/) with [`@types/mdast`](https://npmjs.com/package/@types/mdast/), by [@compulim](https://github.com/compulim), in PR [#4882](https://github.com/microsoft/BotFramework-WebChat/pull/4882)
53+
5054
## [4.15.9] - 2023-08-25
5155

5256
### Fixed

packages/bundle/package-lock.json

+7-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bundle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
"markdown-it-attrs-es5": "2.0.2",
104104
"markdown-it-for-inline": "0.1.1",
105105
"math-random": "2.0.1",
106-
"mdast": "3.0.0",
107106
"mdast-util-from-markdown": "2.0.0",
108107
"memoize-one": "6.0.0",
109108
"microsoft-cognitiveservices-speech-sdk": "1.17.0",
@@ -121,6 +120,7 @@
121120
"@babel/preset-env": "^7.19.1",
122121
"@babel/preset-react": "^7.18.6",
123122
"@babel/preset-typescript": "^7.18.6",
123+
"@types/mdast": "^4.0.3",
124124
"@types/node": "^20.5.8",
125125
"@types/react": "^18.2.21",
126126
"babel-loader": "^9.1.3",

0 commit comments

Comments
 (0)