@lvce-editor/preview-sandbox-worker 4.14.0 → 4.15.0

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.
@@ -2132,12 +2132,6 @@ const handleKeydownLocal = (uid, hdId, key, code) => {
2132
2132
  return;
2133
2133
  }
2134
2134
  dispatchKeydownEvent(element, window, key, code);
2135
- const newElementMap = Object.create(null);
2136
- set$1(uid, {
2137
- document,
2138
- elementMap: newElementMap,
2139
- window
2140
- });
2141
2135
  };
2142
2136
  const handleKeydown = (uid, hdId, key, code) => {
2143
2137
  return handleKeydownLocal(uid, hdId, key, code);
@@ -2174,12 +2168,6 @@ const handleKeyupLocal = (uid, hdId, key, code) => {
2174
2168
  return;
2175
2169
  }
2176
2170
  dispatchKeyupEvent(element, happyDomInstance.window, key, code);
2177
- const elementMap = Object.create(null);
2178
- set$1(uid, {
2179
- document: happyDomInstance.document,
2180
- elementMap,
2181
- window: happyDomInstance.window
2182
- });
2183
2171
  };
2184
2172
  const handleKeyup = (uid, hdId, key, code) => {
2185
2173
  return handleKeyupLocal(uid, hdId, key, code);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/preview-sandbox-worker",
3
- "version": "4.14.0",
3
+ "version": "4.15.0",
4
4
  "description": "Preview SandBox Worker",
5
5
  "repository": {
6
6
  "type": "git",
package/settings.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Controls whether the developer console is cleared after a preview syntax or reference error is resolved.",
5
5
  "heading": "Clear Console On Error Resolved",
6
6
  "id": "preview.clearConsoleOnErrorResolved",
7
- "type": 3,
7
+ "type": "boolean",
8
8
  "value": false
9
9
  }
10
10
  ]