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

@tamagui/use-controllable-state

Package Overview
Dependencies
Maintainers
1
Versions
1124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/use-controllable-state - npm Package Compare versions

Comparing version 1.0.1-beta.72 to 1.0.1-beta.73

6

dist/cjs/useControllableState.js

@@ -5,3 +5,2 @@ var __defProp = Object.defineProperty;

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) => {

@@ -53,4 +52,3 @@ for (var name in all)

}
__name(useControllableState, "useControllableState");
const getNextStateWithCallback = /* @__PURE__ */ __name((prev, next, handleChange) => {
const getNextStateWithCallback = (prev, next, handleChange) => {
if (prev === next || next === void 0) {

@@ -61,3 +59,3 @@ return prev;

return next;
}, "getNextStateWithCallback");
};
// Annotate the CommonJS export names for ESM import in node:

@@ -64,0 +62,0 @@ 0 && (module.exports = {

@@ -1,3 +0,1 @@

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
import { useCallbackRef } from "@radix-ui/react-use-callback-ref";

@@ -31,4 +29,3 @@ import { useCallback, useEffect, useRef, useState } from "react";

}
__name(useControllableState, "useControllableState");
const getNextStateWithCallback = /* @__PURE__ */ __name((prev, next, handleChange) => {
const getNextStateWithCallback = (prev, next, handleChange) => {
if (prev === next || next === void 0) {

@@ -39,3 +36,3 @@ return prev;

return next;
}, "getNextStateWithCallback");
};
export {

@@ -42,0 +39,0 @@ useControllableState

@@ -1,3 +0,1 @@

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
import { useCallbackRef } from "@radix-ui/react-use-callback-ref";

@@ -31,4 +29,3 @@ import { useCallback, useEffect, useRef, useState } from "react";

}
__name(useControllableState, "useControllableState");
const getNextStateWithCallback = /* @__PURE__ */ __name((prev, next, handleChange) => {
const getNextStateWithCallback = (prev, next, handleChange) => {
if (prev === next || next === void 0) {

@@ -39,5 +36,5 @@ return prev;

return next;
}, "getNextStateWithCallback");
};
export {
useControllableState
};
{
"name": "@tamagui/use-controllable-state",
"version": "1.0.1-beta.72",
"version": "1.0.1-beta.73",
"sideEffects": false,

@@ -29,3 +29,3 @@ "source": "src/index.ts",

"devDependencies": {
"@tamagui/build": "^1.0.1-beta.72",
"@tamagui/build": "^1.0.1-beta.73",
"react": "*",

@@ -32,0 +32,0 @@ "react-dom": "*"

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