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

@spark-ui/use-merge-refs

Package Overview
Dependencies
Maintainers
7
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/use-merge-refs - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.3.1](https://github.com/adevinta/spark/compare/@spark-ui/use-merge-refs@0.3.0...@spark-ui/use-merge-refs@0.3.1) (2023-04-13)
**Note:** Version bump only for package @spark-ui/use-merge-refs
# [0.3.0](https://github.com/adevinta/spark/compare/@spark-ui/use-merge-refs@0.2.3...@spark-ui/use-merge-refs@0.3.0) (2023-04-07)

@@ -8,0 +12,0 @@

2

dist/index.js

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

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function r(e,t){if(e!=null)if(typeof e!="function")try{e.current=t}catch{throw console.log("value",e),new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}function o(...e){return t=>{e.forEach(n=>r(n,t))}}exports.assignRef=r,exports.mergeRefs=o,exports.useMergeRefs=function(...e){return u.useMemo(()=>o(...e),e)};
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function o(e,t){if(e!=null)if(typeof e!="function")try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}function r(...e){return t=>{e.forEach(n=>o(n,t))}}exports.assignRef=o,exports.mergeRefs=r,exports.useMergeRefs=function(...e){return u.useMemo(()=>r(...e),e)};
{
"name": "@spark-ui/use-merge-refs",
"version": "0.3.0",
"version": "0.3.1",
"description": "merge and sync the passed references into a single one",

@@ -23,3 +23,3 @@ "publishConfig": {

},
"gitHead": "a5e5af21496ded1cce43912266002fa36b3ac328"
"gitHead": "d481ab53b8e8e78697328e84aebd6c4ca92dfc08"
}

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