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

@tamagui/use-window-dimensions

Package Overview
Dependencies
Maintainers
0
Versions
948
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/use-window-dimensions - npm Package Compare versions

Comparing version 1.110.5 to 1.111.0

dist/esm/index.native.mjs

2

dist/cjs/index.native.js

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

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