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.js
CHANGED
|
@@ -237,9 +237,9 @@ var IS_ANDROID_CHROME_LEGACY = IS_ANDROID && typeof navigator !== 'undefined' &&
|
|
|
237
237
|
|
|
238
238
|
var IS_FIREFOX_LEGACY = typeof navigator !== 'undefined' && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent); // UC mobile browser
|
|
239
239
|
|
|
240
|
-
var IS_UC_MOBILE = typeof navigator !== 'undefined' && /.*UCBrowser/.test(navigator.userAgent); // Wechat browser
|
|
240
|
+
var IS_UC_MOBILE = typeof navigator !== 'undefined' && /.*UCBrowser/.test(navigator.userAgent); // Wechat browser (not including mac wechat)
|
|
241
241
|
|
|
242
|
-
var IS_WECHATBROWSER = typeof navigator !== 'undefined' && /.*Wechat/.test(navigator.userAgent); // Check if DOM is available as React does internally.
|
|
242
|
+
var IS_WECHATBROWSER = typeof navigator !== 'undefined' && /.*(?<!Mac)Wechat/.test(navigator.userAgent); // Check if DOM is available as React does internally.
|
|
243
243
|
// https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js
|
|
244
244
|
|
|
245
245
|
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
|