@lvce-editor/virtual-dom 8.9.0 → 8.10.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1030,7 +1030,7 @@ const getEventListenerArg = (param, event) => {
1030
1030
  case 'event.y':
1031
1031
  return event.y;
1032
1032
  default:
1033
- if (param.startsWith('event.target.dataset')) {
1033
+ if (typeof param === 'string' && param.startsWith('event.target.dataset')) {
1034
1034
  const rest = param.slice('event.target.dataset.'.length);
1035
1035
  return event.target.dataset[rest];
1036
1036
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/virtual-dom",
3
- "version": "8.9.0",
3
+ "version": "8.10.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/lvce-editor/virtual-dom.git"