Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@fluentui/react-utilities

Package Overview
Dependencies
Maintainers
12
Versions
853
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-utilities - npm Package Compare versions

Comparing version 0.0.0-nightly-20241009-0406.1 to 0.0.0-nightly-20241010-0408.1

3

lib-commonjs/ssr/canUseDOM.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc