@tamagui/use-window-dimensions
Advanced tools
Comparing version 1.110.5 to 1.111.0
@@ -49,3 +49,3 @@ "use strict"; | ||
function useWindowDimensions() { | ||
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_serverValue = _ref.serverValue, serverValue = _ref_serverValue === void 0 ? initialValue : _ref_serverValue; | ||
var { serverValue = initialValue } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | ||
return import_react.default.useSyncExternalStore(subscribe, function() { | ||
@@ -52,0 +52,0 @@ return import_react_native.Dimensions.get("window"); |
@@ -23,3 +23,3 @@ import React from "react"; | ||
function useWindowDimensions() { | ||
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_serverValue = _ref.serverValue, serverValue = _ref_serverValue === void 0 ? initialValue : _ref_serverValue; | ||
var { serverValue = initialValue } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; | ||
return React.useSyncExternalStore(subscribe, function() { | ||
@@ -26,0 +26,0 @@ return Dimensions.get("window"); |
{ | ||
"name": "@tamagui/use-window-dimensions", | ||
"version": "1.110.5", | ||
"version": "1.111.0", | ||
"types": "./types/index.d.ts", | ||
@@ -31,6 +31,6 @@ "main": "dist/cjs", | ||
"dependencies": { | ||
"@tamagui/constants": "1.110.5" | ||
"@tamagui/constants": "1.111.0" | ||
}, | ||
"devDependencies": { | ||
"@tamagui/build": "1.110.5", | ||
"@tamagui/build": "1.111.0", | ||
"react": "^18.2.0 || ^19.0.0", | ||
@@ -37,0 +37,0 @@ "react-native": "0.74.1" |
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
17711
17
284
+ Added@tamagui/constants@1.111.0(transitive)
- Removed@tamagui/constants@1.110.5(transitive)
Updated@tamagui/constants@1.111.0