slate-react 0.98.1 → 0.98.2
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.
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/slate-react.js +2 -2
- package/dist/slate-react.min.js +1 -1
- package/dist/utils/environment.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/slate-react.js
CHANGED
|
@@ -890,9 +890,9 @@
|
|
|
890
890
|
|
|
891
891
|
var IS_FIREFOX_LEGACY = typeof navigator !== 'undefined' && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent); // UC mobile browser
|
|
892
892
|
|
|
893
|
-
var IS_UC_MOBILE = typeof navigator !== 'undefined' && /.*UCBrowser/.test(navigator.userAgent); // Wechat browser
|
|
893
|
+
var IS_UC_MOBILE = typeof navigator !== 'undefined' && /.*UCBrowser/.test(navigator.userAgent); // Wechat browser (not including mac wechat)
|
|
894
894
|
|
|
895
|
-
var IS_WECHATBROWSER = typeof navigator !== 'undefined' && /.*Wechat/.test(navigator.userAgent); // Check if DOM is available as React does internally.
|
|
895
|
+
var IS_WECHATBROWSER = typeof navigator !== 'undefined' && /.*(?<!Mac)Wechat/.test(navigator.userAgent); // Check if DOM is available as React does internally.
|
|
896
896
|
// https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js
|
|
897
897
|
|
|
898
898
|
var CAN_USE_DOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined'); // COMPAT: Firefox/Edge Legacy don't support the `beforeinput` event
|