Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ES5 versions of non-ES5 bundles #2774

Merged
merged 2 commits into from
Dec 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed

- Fixes [#2611](https://github.com/microsoft/BotFramework-WebChat/issues/2611). Fix sample 21: hooks errors, by [@corinagum](https://github.com/corinagum) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2740)
- Fixes [#2773](https://github.com/microsoft/BotFramework-WebChat/issues/2773). Import ES5 version of the following bundles, by [@compulim](https://github.com/compulim) in PR [#2774](https://github.com/microsoft/BotFramework-WebChat/pull/2773)
- [`abort-controller`](https://npmjs.com/package/abort-controller)
- [`event-target-shim`](https://npmjs.com/package/event-target-shim)
- [`p-defer`](https://npmjs.com/package/p-defer)

### Changed

Expand Down
2,872 changes: 2,088 additions & 784 deletions packages/component/package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"botframework-webchat-core": "0.0.0-0",
"bytes": "^3.1.0",
"classnames": "^2.2.6",
"event-target-shim": "^5.0.1",
"event-target-shim-es5": "1.0.1",
"glamor": "^2.20.40",
"memoize-one": "^5.1.1",
"prop-types": "^15.7.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* eslint max-classes-per-file: ["error", 4] */
/* eslint no-empty-function: "off" */

import EventTarget, { defineEventAttribute } from '../external/event-target-shim';
import EventTarget, { defineEventAttribute } from 'event-target-shim-es5';

class SpeechSynthesisEvent {
constructor(type, utterance) {
Expand Down
Loading