Skip to content

Commit 46a12f8

Browse files
authored
Fix compatibility with create-react-app (#5680)
* Add file extension to import of core-js* * Add entry * Update PR number
1 parent 6f2c6cb commit 46a12f8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ Breaking changes in this release:
387387
- Added `img-src data:`, required for icons
388388
- Downgraded graph upsert conflict checks, by [@compulim](https://github.com/compulim) in PR [#5674](https://github.com/microsoft/BotFramework-WebChat/pull/5674)
389389
- Fixed virtual keyboard should show up on tap after being suppressed, in iOS 26.2, by [@compulim](https://github.com/compulim) in PR [#5678](https://github.com/microsoft/BotFramework-WebChat/pull/5678)
390+
- Fixed compatibility with `create-react-app` by adding file extension to `core-js` imports, by [@compulim](https://github.com/compulim) in PR [#5680](https://github.com/microsoft/BotFramework-WebChat/pull/5680)
390391

391392
## [4.18.0] - 2024-07-10
392393

packages/core-graph/src/private/SlantGraph/private/autoInversion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @ts-expect-error No @types/core-js-pure.
2-
import difference from 'core-js-pure/features/set/difference';
2+
import difference from 'core-js-pure/features/set/difference.js';
33
import { type GraphMiddleware } from '../../Graph';
44
import { type SlantNode } from '../../schemas/colorNode';
55
import type { Identifier } from '../../schemas/Identifier';

packages/core/src/reducers/activities/sort/private/insertSorted.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @ts-ignore No @types/core-js-pure
2-
import { default as toSpliced_ } from 'core-js-pure/features/array/to-spliced';
2+
import { default as toSpliced_ } from 'core-js-pure/features/array/to-spliced.js';
33

44
// The Node.js version we are using for CI/CD does not support Array.prototype.toSpliced yet.
55
function toSpliced<T>(array: readonly T[], start: number, deleteCount: number, ...items: T[]): T[] {

0 commit comments

Comments
 (0)