
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@eclipse-glsp/protocol
Advanced tools
The generic client-server communication protocol for the Graphical Language Server Platform (GLSP) and a json-rpc based default implementation. In addition, this package provides shared common code and utility libraries for GLSP components.
This project is built with yarn
and is available from npm via @eclipse-glsp/protocol.
For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.
GLSPProjectionView
#196EditLabelUIExtension
where the diagram becomes dirty without an actual change. #766ComputedBoundsAction
definition with routing information. This enables proper forwarding of client-side computed routes to the server #201createClientContainer
function is now deprecated. Please use initializeDiagramContainer
instead. This new function can also be used with ModuleConfigurations
which allow a more fine granular configuration by adding new modules and/or removing default modules. #218 #231 #236Disposable
type #222deselectAll
flag for SelectAction
s #257registerListener
method on GLSP mouse and key tool to return a disposable for de-registrationregisterFeedback
method from feedback dispatcher to return a disposable for de-registrationBaseGLSPCreationTool
for tools based on trigger actionstoDisposeOnDisable
collection in BaseGLSPTool
to register disable handling during enablementFeatureModule
s instead of plain inversify ContainerModule
s #267statusModule
that binds UI extension to handle & render GLSPStatusMessages
. #272EditorContextService
#272DiagramLoader
component + life cycle management #274 #282
IDiagramOptions
and then the diagram loader
is invoked and initializes the diagram.onServerInitialized
event to the GLSPClientAPI
.IDiagramStartup
service. Adopters can multi bind this service to hook into the diagram loading lifecycle and provide additional logic. i.e. dispatching of initial actions.GLSPProjectionView
#275IButtonHandler
constructor is now deprecated. Please use configureButtonHandler()
instead. #195 - Contributed on behalf of STMicroelectronicsUndoOperation
and RedoOperation
to UndoAction
and RedoAction
to match operation specification #216vscode-ws-jsonrpc
. The protocol package now directly offers functions to create a websocket rpc connections #215elementIds
property of LayoutOperation
is now optional. If undefined
the entire model will be layouted #232TYPES.SelectionService
service identifier. Please directly use the SelectionService
class as service identifier insteadSelectionService
binding is now part of the defaultGLSPModule
. This means the SelectionService
remains available even if the selectModule
is not configuredRootModelChangeListener
s are no longer tied to the FeedbackawareUpdateModelCommand
instead they are managed by the GLSPCommandStack
IMouseTool
and TYPES.IMouseTool
are no longer available. Directly inject and use MouseTool
insteadisRanked()
-> Ranked.is()
getRank()
-> Ranked.getRank()
DEFAULT_RANK
-> Ranked.DEFAULT_RANK
SelectionService
, GlspCommandStack
& EditorContextService
to make use of this new APISelectionService.onSelectionChanged
) insteadI
prefixtoolsModule
and toolFeedbackModule
in favor of individual tool modulesdispatchFeedback
in BaseGLSPTool
to registerFeedback
to align with feedback dispatcherderegisterFeedback
in BaseGLSPTool
for easier de-registration and clean up actionsServerMessageAction
#265glsp
prefix from all modules (e.g. glspSelectModule
-> selectModule
)defaultGLSPModule
-> baseModule
modelHintsModule
-> typeHintsModule
enableDefaultToolsOnFocusLossModule
-> toolFocusLossModule
glspEditLabelModule
-> labelEditModule
GLSPWebSocketProvider
class that supports reconnect on connection loss #269GLSPModelSource
as default implementation for sprotty's ModelSource
API #272 #287
GLSPDiagramServer
has been deprecated and is no longer availableSelectionServiceAwareContextMenuMouseListener
renamed to GLSPContextMenuMouseListener
SourceURIAware
interface has been removed. No longe required since we only have one GLSPModelSource
binding now.EdgeTypeHint
sourceElementTypeIds
and targetElementTypeIds
are now optional. If not provided all connection targets are alloweddynamic
flag. If a hint has this flag enabled connection tools know that the have to query there server in addition
to checking the default Connectable.canConnect
method.RequestCheckEdgeAction
& CheckEdgeResultAction
used to query the server wether the provide edge information is valid.
Used in combination with dynamic type hints.ServerStatusAction
-> StatusAction
ServerMessageAction
-> MessageAction
InitializeClientSessionParams
with a clientActions
property. This is used by the server to now which action kinds are (also) handled by the client.GModel
naming scheme on client side [#291(https://github.com/eclipse-glsp/glsp-client/pull/291)]@eclipse-glsp/sprotty
SModel
classes haven been renamed by adding an Impl suffix (SModelElement
->SModelElementImpl
). We took this opportunity and aliased all sprotty model elements to consistently use GModel
SModelElement
-> GModelElement
SNode
-> GNode
SShapeElement
->GShapeElement
etc.FAQs
The protocol definition for client-server communication in GLSP
The npm package @eclipse-glsp/protocol receives a total of 2,130 weekly downloads. As such, @eclipse-glsp/protocol popularity was classified as popular.
We found that @eclipse-glsp/protocol demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.