You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
Based on other issues in this repo and some of the examples, it looks like this package is expected to work in the browser. Using any version after 5.3.0, there is an error in the browser console with the text "process is not defined".
Describe the Bug
Based on other issues in this repo and some of the examples, it looks like this package is expected to work in the browser. Using any version after 5.3.0, there is an error in the browser console with the text "process is not defined".
Steps to Reproduce
npm create vite@latest
)import { CloudEvent } from "cloudevents"
to a javascript file (and use it to ensure tree shaking doesn't remove the code).The issue appears to be caused by the
util
dependency introduced in 5.3.1.Expected Behavior
cloudevents NPM package should work inside the browser.
The text was updated successfully, but these errors were encountered: