Currently we have no central helper/utility class to create uuids.
This means every GLSP package that needs a uuid has to declare its own dependency to a uuid provider package.
This typically causes drift and we end up with different used uuid dependency versions across glsp packages.
This makes it hard to maintain and audit for security fixes.
Proposal:
Introduce a uuid utility module in @eclipse-glsp/protocol. This can then be consistently reused
by all glsp packages that need uuids.
As a result we have on central entry point for declaring the uuid dependency and can maintain/audit it easily.
Consuming packages no longer need to worry about uuid dependencies at all.
In addition we can enforce proper usage of the helper by restricting uuid imports via eslint.
Currently we have no central helper/utility class to create uuids.
This means every GLSP package that needs a uuid has to declare its own dependency to a uuid provider package.
This typically causes drift and we end up with different used uuid dependency versions across glsp packages.
This makes it hard to maintain and audit for security fixes.
Proposal:
Introduce a uuid utility module in
@eclipse-glsp/protocol. This can then be consistently reusedby all glsp packages that need uuids.
As a result we have on central entry point for declaring the uuid dependency and can maintain/audit it easily.
Consuming packages no longer need to worry about uuid dependencies at all.
In addition we can enforce proper usage of the helper by restricting uuid imports via eslint.