Skip to content

adaptive-expression does not work in the browser anymore #4907

@dclaux

Description

@dclaux

Versions

4.23.3

The package worked fine in 4.20.0

Describe the bug

Expression.parse throws an error: "Can't call parse on undefined"

To Reproduce

Create a TypeScript webpack-based browser app, add a dependency to adaptive-expressions 4.23.3, call Expression.parse in the app's code. Run the app in Edge or Chrome for instance. Expression.parse will throw an error.

Expected behavior

Expression.parse should work normally.

Additional info

I think the change that broke it might have been the switch from browserify to tsup: refactor: [#4684] Replace browserify with tsup (#4774) · microsoft/botbuilder-js@84dc7e4 · GitHub

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions