@lvce-editor/renderer-process 30.80.1 → 30.81.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1017,6 +1017,12 @@ const handleJsonRpcMessage = async (...args) => {
1017
1017
  requiresSocket,
1018
1018
  resolve
1019
1019
  } = options;
1020
+ if (message === 'ready') {
1021
+ return;
1022
+ }
1023
+ if (!message || typeof message !== 'object') {
1024
+ throw new JsonRpcError('unexpected message');
1025
+ }
1020
1026
  if ('id' in message) {
1021
1027
  if ('method' in message) {
1022
1028
  const response = await getResponse(message, ipc, execute, preparePrettyError, logError, requiresSocket);
@@ -3798,7 +3804,7 @@ const setStyle = ($Element, styleString) => {
3798
3804
 
3799
3805
  const removedAttributeProps = new Map([['ariaActivedescendant', 'aria-activedescendant'], ['ariaControls', 'aria-controls'], ['ariaDescribedBy', 'aria-describedby'], ['ariaInvalid', 'aria-invalid'], ['ariaLabelledBy', 'aria-labelledby'], ['ariaOwns', 'aria-owns'], ['className', 'class'], ['htmlFor', 'for'], ['inputType', 'type']]);
3800
3806
  const pixelStyleProps = new Set(['height', 'left', 'marginTop', 'paddingLeft', 'paddingRight', 'top', 'width']);
3801
- const eventProps = new Set(['onBlur', 'onChange', 'onClick', 'onContextMenu', 'onBeforeInput', 'onDblClick', 'onDragEnd', 'onDragEnter', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onError', 'onFocus', 'onFocusIn', 'onFocusOut', 'onInput', 'onKeydown', 'onKeyDown', 'onKeyUp', 'onLoad', 'onLoadedData', 'onMouseDown', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onPaste', 'onPointerDown', 'onPointerMove', 'onPointerOut', 'onPointerOver', 'onScroll', 'onSelectionChange', 'onSubmit', 'onTimeUpdate', 'onWheel']);
3807
+ const eventProps = new Set(['onBlur', 'onChange', 'onClick', 'onCompositionEnd', 'onCompositionStart', 'onCompositionUpdate', 'onContextMenu', 'onBeforeInput', 'onDblClick', 'onDragEnd', 'onDragEnter', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onError', 'onFocus', 'onFocusIn', 'onFocusOut', 'onInput', 'onKeydown', 'onKeyDown', 'onKeyUp', 'onLoad', 'onLoadedData', 'onMouseDown', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onPaste', 'onPointerDown', 'onPointerMove', 'onPointerOut', 'onPointerOver', 'onScroll', 'onSelectionChange', 'onSubmit', 'onTimeUpdate', 'onWheel']);
3802
3808
  const setOptionalAttribute = ($Element, attributeName, value) => {
3803
3809
  if (value) {
3804
3810
  $Element.setAttribute(attributeName, value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.80.1",
3
+ "version": "30.81.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"