slate-angular 1.9.2 → 1.9.3
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.
|
@@ -610,7 +610,9 @@
|
|
|
610
610
|
var IS_CHROME = typeof navigator !== 'undefined' && /Chrome/i.test(navigator.userAgent);
|
|
611
611
|
// Native beforeInput events don't work well with react on Chrome 75 and older, Chrome 76+ can use beforeInput
|
|
612
612
|
var IS_CHROME_LEGACY = typeof navigator !== 'undefined' &&
|
|
613
|
-
/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])/i.test(navigator.userAgent)
|
|
613
|
+
/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])/i.test(navigator.userAgent) &&
|
|
614
|
+
// Exclude Chrome version greater than 3 bits,Chrome releases v100 on 2022.03.29
|
|
615
|
+
!/Chrome?\/(?:\d{3,})/i.test(navigator.userAgent);
|
|
614
616
|
// Firefox did not support `beforeInput` until `v87`.
|
|
615
617
|
var IS_FIREFOX_LEGACY = typeof navigator !== 'undefined' &&
|
|
616
618
|
/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])).*/i.test(navigator.userAgent);
|