Socket
Socket
Sign inDemoInstall

@tamagui/use-callback-ref

Package Overview
Dependencies
Maintainers
1
Versions
418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/use-callback-ref - npm Package Compare versions

Comparing version 1.111.8 to 1.111.9

15

dist/esm/index.native.js
import * as React from "react";
function useCallbackRef(callback) {
var callbackRef = React.useRef(callback);
return React.useEffect(function() {
return React.useEffect(function () {
callbackRef.current = callback;
}), React.useMemo(function() {
return function() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)
args[_key] = arguments[_key];
}), React.useMemo(function () {
return function () {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
var _callbackRef_current;

@@ -15,5 +14,3 @@ return (_callbackRef_current = callbackRef.current) === null || _callbackRef_current === void 0 ? void 0 : _callbackRef_current.call(callbackRef, ...args);

}
export {
useCallbackRef
};
//# sourceMappingURL=index.js.map
export { useCallbackRef };
//# sourceMappingURL=index.native.js.map

6

package.json
{
"name": "@tamagui/use-callback-ref",
"version": "1.111.8",
"version": "1.111.9",
"types": "./types/index.d.ts",

@@ -21,3 +21,3 @@ "main": "dist/cjs",

"devDependencies": {
"@tamagui/build": "1.111.8"
"@tamagui/build": "1.111.9"
},

@@ -27,3 +27,3 @@ "exports": {

".": {
"react-native-import": "./dist/esm/index.native.mjs",
"react-native-import": "./dist/esm/index.native.js",
"react-native": "./dist/cjs/index.native.js",

@@ -30,0 +30,0 @@ "types": "./types/index.d.ts",

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