piral-blazor
Advanced tools
Comparing version 1.7.1 to 1.8.0-beta.7544
@@ -60,4 +60,3 @@ import { createElement } from 'react'; | ||
} | ||
// the mutation event cannot be cloned (at least in Webkit-based browsers) | ||
if (!(event instanceof MutationEvent) && !event.processed) { | ||
if ((typeof MutationEvent === 'undefined' || !(event instanceof MutationEvent)) && !event.processed) { | ||
const eventClone = new event.constructor(event.type, event); | ||
@@ -64,0 +63,0 @@ document.getElementById(blazorRootId)?.dispatchEvent(eventClone); |
{ | ||
"name": "piral-blazor", | ||
"version": "1.7.1", | ||
"version": "1.8.0-beta.7544", | ||
"description": "Plugin for integrating Blazor components in Piral.", | ||
@@ -57,5 +57,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"piral-core": "^1.7.1" | ||
"piral-core": "1.8.0-beta.7544" | ||
}, | ||
"gitHead": "83508f650da0fbb300642d0e8fcaeddbd904d81b" | ||
"gitHead": "007e0558e140cf11ba91b5f30d991ed593c18b60" | ||
} |
@@ -70,4 +70,3 @@ import type { ExtensionRegistration } from 'piral-core'; | ||
// the mutation event cannot be cloned (at least in Webkit-based browsers) | ||
if (!(event instanceof MutationEvent) && !event.processed) { | ||
if ((typeof MutationEvent === 'undefined' || !(event instanceof MutationEvent)) && !event.processed) { | ||
const eventClone = new event.constructor(event.type, event); | ||
@@ -74,0 +73,0 @@ document.getElementById(blazorRootId)?.dispatchEvent(eventClone); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127931
2162
1