Skip to content

Commit 76bafc3

Browse files
CopilotOEvgeny
andcommitted
Replace abort-controller-es5 with standard abort-controller
Co-authored-by: OEvgeny <2841858+OEvgeny@users.noreply.github.com>
1 parent c75d71c commit 76bafc3

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
5353
- Added support for liner message activities in the Fluent theme, in PR [#5272](https://github.com/microsoft/BotFramework-WebChat/pull/5272), by [@OEvgeny](https://github.com/OEvgeny)
5454
- Added new `uiState` props and `useUIState` hook, in PR [#5276](https://github.com/microsoft/BotFramework-WebChat/pull/5276), by [@compulim](https://github.com/compulim)
5555
- (Experimental) Added support for using Web Chat inside a shadow DOM, in PR [#5196](https://github.com/microsoft/BotFramework-WebChat/pull/5196), by [@OEvgeny](https://github.com/OEvgeny)
56+
57+
### Removed
58+
59+
- Fixes [#5433](https://github.com/microsoft/BotFramework-WebChat/issues/5433). Removed dependency on `abort-controller-es5` in favor of the standard `abort-controller` package to prevent multiple versions of esbuild from being installed, in PR [#XXX](https://github.com/microsoft/BotFramework-WebChat/pull/XXX)
5660
- Added `styleOptions.stylesRoot` property allowing users to specify the root node where Web Chat styles should be placed, in PR [#5196](https://github.com/microsoft/BotFramework-WebChat/pull/5196), by [@OEvgeny](https://github.com/OEvgeny)
5761
- Added the `ThemeProvider.styles` property, allowing theme packages to place styles into the same root node as Web Chat, in PR [#5196](https://github.com/microsoft/BotFramework-WebChat/pull/5196), by [@OEvgeny](https://github.com/OEvgeny)
5862
- Added `nonce` for Fluent and `react-scroll-to-bottom` injected styles, in PR [#5196](https://github.com/microsoft/BotFramework-WebChat/pull/5196), by [@OEvgeny](https://github.com/OEvgeny)

packages/directlinespeech/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
"dependencies": {
113113
"@babel/runtime": "7.19.0",
114114
"abort-controller": "3.0.0",
115-
"abort-controller-es5": "2.0.1",
116115
"base64-arraybuffer": "1.0.2",
117116
"core-js": "3.40.0",
118117
"core-js-pure": "3.40.0",

packages/directlinespeech/src/createWebSpeechPonyfillFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint class-methods-use-this: ["error", { "exceptMethods": ["cancel", "getVoices", "speak"] }] */
22

3-
import { AbortController } from 'abort-controller-es5';
3+
import { AbortController } from 'abort-controller';
44
import { createSpeechRecognitionPonyfillFromRecognizer } from 'web-speech-cognitive-services';
55

66
import createTaskQueue from './createTaskQueue';

0 commit comments

Comments
 (0)