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
Since version 39.19.0 the @gitbeaker/requester-utils package has added a dependency on async-sema and picomatch (via micromatch) breaking @gitbeaker/browser due to a reliance on NodeJS specific types. These changes were introduced in #3426 and affect all package versions since then.
Description
Since version
39.19.0
the@gitbeaker/requester-utils
package has added a dependency onasync-sema
andpicomatch
(viamicromatch
) breaking@gitbeaker/browser
due to a reliance on NodeJS specific types. These changes were introduced in #3426 and affect all package versions since then.async-sema
uses NodeJS' Events module (seeindex.ts:1
)picomatch
uses NodeJS' Process module prior to version 3.0.0 (Current dependency is 2.3.1) (see utils.js:4)Steps to reproduce
Clone this minimal reproduction.
Test
^39.25.0
:Open the browser and view the developer console. You should see a message like
TypeError: events_1.default is not a constructor
Test
39.19.0
(Tag bug was introduced in)Open the browser and view the developer console. The same message should be present.
Test
39.18.0
(Last working version)Open the browser and view the developer console. A
Gitlab
object should be printed.Expected behaviour
I expect the behavior to be consistent across all three versions
Actual behaviour
Versions from
39.19.0
can not be used in the browser.Possible fixes
Unknown
Checklist
The text was updated successfully, but these errors were encountered: