@jfront/core-common
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.2.1](https://github.com/Jepria/jfront-core/compare/@jfront/core-common@0.2.0...@jfront/core-common@0.2.1) (2021-03-22) | ||
### Bug Fixes | ||
* create event not working in React 17 without cancelable and bubbles properties ([4de1314](https://github.com/Jepria/jfront-core/commit/4de13140b7fe94dddb4a71f71113b0e9c03ec3b0)) | ||
# [0.2.0](https://github.com/Jepria/jfront-core/compare/@jfront/core-common@0.1.0...@jfront/core-common@0.2.0) (2021-03-17) | ||
@@ -8,0 +19,0 @@ |
@@ -10,3 +10,6 @@ "use strict"; | ||
if (typeof Event === "function") { | ||
event = new Event(eventName); | ||
event = new Event(eventName, { | ||
cancelable: true, | ||
bubbles: true | ||
}); | ||
} else { | ||
@@ -13,0 +16,0 @@ event = document.createEvent("Event"); |
@@ -5,3 +5,6 @@ export function createEvent(eventName) { | ||
if (typeof Event === "function") { | ||
event = new Event(eventName); | ||
event = new Event(eventName, { | ||
cancelable: true, | ||
bubbles: true | ||
}); | ||
} else { | ||
@@ -8,0 +11,0 @@ event = document.createEvent("Event"); |
{ | ||
"name": "@jfront/core-common", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "Apache-2.0", | ||
@@ -30,3 +30,3 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"gitHead": "a3b37ba23f7034943f6488ebb854614671dcda2e" | ||
"gitHead": "0cb708272c99ab71b8cb61324ef96af07f6a2f4d" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
22723
125