@fluentui/react-utilities
Advanced tools
Comparing version 0.0.0-nightly-20241009-0406.1 to 0.0.0-nightly-20241010-0408.1
@@ -14,3 +14,4 @@ /** | ||
function canUseDOM() { | ||
return typeof window !== 'undefined' && !!(window.document && window.document.createElement); | ||
return /* eslint-disable @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )*/ typeof window !== 'undefined' && !!(window.document && // eslint-disable-next-line deprecation/deprecation | ||
window.document.createElement); | ||
} |
/** | ||
* Verifies if an application can use DOM. | ||
*/ export function canUseDOM() { | ||
return(// eslint-disable-next-line deprecation/deprecation, no-restricted-globals | ||
typeof window !== 'undefined' && !!(window.document && window.document.createElement)); | ||
return /* eslint-disable @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )*/ typeof window !== 'undefined' && !!(window.document && // eslint-disable-next-line deprecation/deprecation | ||
window.document.createElement); | ||
} |
{ | ||
"name": "@fluentui/react-utilities", | ||
"version": "0.0.0-nightly-20241009-0406.1", | ||
"version": "0.0.0-nightly-20241010-0408.1", | ||
"description": "A set of general React-specific utilities.", | ||
@@ -35,4 +35,4 @@ "main": "lib-commonjs/index.js", | ||
"dependencies": { | ||
"@fluentui/keyboard-keys": "0.0.0-nightly-20241009-0406.1", | ||
"@fluentui/react-shared-contexts": "0.0.0-nightly-20241009-0406.1", | ||
"@fluentui/keyboard-keys": "0.0.0-nightly-20241010-0408.1", | ||
"@fluentui/react-shared-contexts": "0.0.0-nightly-20241010-0408.1", | ||
"@swc/helpers": "^0.5.1" | ||
@@ -39,0 +39,0 @@ }, |
Sorry, the diff of this file is too big to display
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
596916
5353
+ Added@fluentui/keyboard-keys@0.0.0-nightly-20241010-0408.1(transitive)
+ Added@fluentui/react-shared-contexts@0.0.0-nightly-20241010-0408.1(transitive)
+ Added@fluentui/react-theme@0.0.0-nightly-20241010-0408.1(transitive)
+ Added@fluentui/tokens@0.0.0-nightly-20241010-0408.1(transitive)
- Removed@fluentui/keyboard-keys@0.0.0-nightly-20241009-0406.1(transitive)
- Removed@fluentui/react-shared-contexts@0.0.0-nightly-20241009-0406.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly-20241009-0406.1(transitive)
- Removed@fluentui/tokens@0.0.0-nightly-20241009-0406.1(transitive)
Updated@fluentui/keyboard-keys@0.0.0-nightly-20241010-0408.1
Updated@fluentui/react-shared-contexts@0.0.0-nightly-20241010-0408.1