Skip to content

Commit cf546fb

Browse files
authored
Bump web-speech-cognitive-services@8.1.3 (#5516)
* Bump web-speech-cognitive-services@8.1.3 * Update PR number
1 parent 5a404cf commit cf546fb

File tree

7 files changed

+21
-120
lines changed

7 files changed

+21
-120
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
123123
- Switched math block syntax from `$$` to Tex-style `\[ \]` and `\( \)` delimiters with improved rendering and error handling, in PR [#5353](https://github.com/microsoft/BotFramework-WebChat/pull/5353), by [@OEvgeny](https://github.com/OEvgeny)
124124
- Improved avatar display and grouping behavior by fixing rendering issues and activity sender identification, in PR [#5346](https://github.com/microsoft/BotFramework-WebChat/pull/5346), by [@OEvgeny](https://github.com/OEvgeny)
125125
- Activity "copy" button will use `outerHTML` and `textContent` for clipboard content, in PR [#5378](https://github.com/microsoft/BotFramework-WebChat/pull/5378), by [@compulim](https://github.com/compulim)
126-
- Bumped dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#5385](https://github.com/microsoft/BotFramework-WebChat/pull/5385), [#5400](https://github.com/microsoft/BotFramework-WebChat/pull/5400), [#5426](https://github.com/microsoft/BotFramework-WebChat/pull/5426), and [#5476](https://github.com/microsoft/BotFramework-WebChat/pull/5476)
126+
- Bumped dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#5385](https://github.com/microsoft/BotFramework-WebChat/pull/5385), [#5400](https://github.com/microsoft/BotFramework-WebChat/pull/5400), [#5426](https://github.com/microsoft/BotFramework-WebChat/pull/5426), [#5476](https://github.com/microsoft/BotFramework-WebChat/pull/5476), and [#5516](https://github.com/microsoft/BotFramework-WebChat/pull/5516)
127127
- Production dependencies
128-
- [`web-speech-cognitive-services@8.1.0`](https://npmjs.com/package/web-speech-cognitive-services)
128+
- [`web-speech-cognitive-services@8.1.3`](https://npmjs.com/package/web-speech-cognitive-services)
129129
- [`react-dictate-button@4.0.0`](https://npmjs.com/package/react-dictate-button)
130130
- Enabled icon customization in Fluent theme through CSS variables, in PR [#5413](https://github.com/microsoft/BotFramework-WebChat/pull/5413), by [@OEvgeny](https://github.com/OEvgeny)
131131
- Reworked, enabled in Web Chat, in PR [#5502](https://github.com/microsoft/BotFramework-WebChat/pull/5502), by [@OEvgeny](https://github.com/OEvgeny)
@@ -238,6 +238,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
238238
- Fixed [#5479](https://github.com/microsoft/BotFramework-WebChat/issues/5479). Fixed feedback form buttons should not squash other buttons, in PR [#5480](https://github.com/microsoft/BotFramework-WebChat/pull/5480), by [@compulim](https://github.com/compulim)
239239
- Migrated to radio button for like/dislike where form submission is required
240240
- Fixed long citation identifiers break activity layout, in PR [#5507](https://github.com/microsoft/BotFramework-WebChat/pull/5507), by [@OEvgeny](https://github.com/OEvgeny)
241+
- Updated file-based import with `.js` extension and removed the file extension from build config, by [@compulim](https://github.com/compulim), in PR [#5516](https://github.com/microsoft/BotFramework-WebChat/pull/5516)
241242

242243
# Removed
243244

package-lock.json

Lines changed: 10 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/bundle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"use-ref-from": "^0.1.0",
142142
"uuid": "8.3.2",
143143
"valibot": "1.1.0",
144-
"web-speech-cognitive-services": "8.1.1",
144+
"web-speech-cognitive-services": "8.1.3",
145145
"whatwg-fetch": "3.6.20"
146146
},
147147
"devDependencies": {

packages/bundle/src/speech/CustomAudioInputStream.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import {
1212
AudioStreamNodeErrorEvent,
1313
Events,
1414
EventSource
15-
} from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Exports';
15+
} from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Exports.js';
1616

17-
import { AudioStreamFormatImpl } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/AudioStreamFormat';
17+
import { AudioStreamFormatImpl } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/AudioStreamFormat.js';
1818

1919
import {
2020
connectivity as Connectivity,
2121
ISpeechConfigAudioDevice,
2222
type as Type
23-
} from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/Exports';
23+
} from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/Exports.js';
2424

2525
import { isForbiddenPropertyName, withResolvers } from 'botframework-webchat-core';
2626
import { v4 } from 'uuid';

packages/bundle/src/speech/createMicrophoneAudioConfigAndAudioContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { ChunkedArrayBufferStream } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Exports';
2-
import { PcmRecorder } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/Exports';
1+
import { ChunkedArrayBufferStream } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common/Exports.js';
2+
import { PcmRecorder } from 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/Exports.js';
33

44
import { AudioStreamNode, DeviceInfo, Format } from './CustomAudioInputStream';
55
import bytesPerSample from './bytesPerSample';

packages/bundle/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const resolveCognitiveServicesToES2015 = {
88
name: 'microsoft-cognitiveservices-speech-sdk',
99
setup(build) {
1010
build.onResolve({ filter: /microsoft-cognitiveservices-speech-sdk.+/u }, args => ({
11-
path: path.join(process.cwd(), '../../node_modules', args.path.replace('distrib/lib', 'distrib/es2015') + '.js')
11+
path: path.join(process.cwd(), '../../node_modules', args.path.replace('distrib/lib', 'distrib/es2015'))
1212
}));
1313
}
1414
};

packages/directlinespeech/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"event-target-shim": "6.0.2",
121121
"math-random": "2.0.1",
122122
"microsoft-cognitiveservices-speech-sdk": "1.17.0",
123-
"web-speech-cognitive-services": "8.1.1"
123+
"web-speech-cognitive-services": "8.1.3"
124124
},
125125
"engines": {
126126
"node": ">= 10.14.2"

0 commit comments

Comments
 (0)