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/index.es.js
CHANGED
|
@@ -92,9 +92,9 @@ var IS_ANDROID_CHROME_LEGACY = IS_ANDROID && typeof navigator !== 'undefined' &&
|
|
|
92
92
|
|
|
93
93
|
var IS_FIREFOX_LEGACY = typeof navigator !== 'undefined' && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent); // UC mobile browser
|
|
94
94
|
|
|
95
|
-
var IS_UC_MOBILE = typeof navigator !== 'undefined' && /.*UCBrowser/.test(navigator.userAgent); // Wechat browser
|
|
95
|
+
var IS_UC_MOBILE = typeof navigator !== 'undefined' && /.*UCBrowser/.test(navigator.userAgent); // Wechat browser (not including mac wechat)
|
|
96
96
|
|
|
97
|
-
var IS_WECHATBROWSER = typeof navigator !== 'undefined' && /.*Wechat/.test(navigator.userAgent); // Check if DOM is available as React does internally.
|
|
97
|
+
var IS_WECHATBROWSER = typeof navigator !== 'undefined' && /.*(?<!Mac)Wechat/.test(navigator.userAgent); // Check if DOM is available as React does internally.
|
|
98
98
|
// https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js
|
|
99
99
|
|
|
100
100
|
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
|