New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atomico/hooks

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomico/hooks - npm Package Compare versions

Comparing version 3.47.0 to 3.48.0

2

package.json
{
"name": "@atomico/hooks",
"description": "Series of utilities in hooks format to extend the operation of Atomico",
"version": "3.47.0",
"version": "3.48.0",
"type": "module",

@@ -6,0 +6,0 @@ "workspaces": [

@@ -6,5 +6,5 @@ /**

* @param {(node:ChildNode)=>boolean} [filter] - allows you to filter the nodes to be associated only when they change
* @returns {T[]}
* @returns {import("atomico").Ref<T>["current"][]}
*/
export function useSlot<T extends ChildNode>(ref: import("atomico").Ref<HTMLSlotElement>, filter?: (node: ChildNode) => boolean): T[];
export function useSlot<T extends ChildNode>(ref: import("atomico").Ref<HTMLSlotElement>, filter?: (node: ChildNode) => boolean): (T extends import("atomico/types/dom.js").Atomico<any, any> ? InstanceType<T> : T)[];
/**

@@ -16,4 +16,4 @@ * creates a persistent list of nodes from a source with the intention of

* @param {(node:ChildNode)=>boolean} [filter] - allows you to filter the nodes to be associated only when they change
* @returns {T[]}
* @returns {import("atomico").Ref<T>["current"][]}
*/
export function useProxySlot<T extends ChildNode>(ref: import("atomico").Ref<HTMLSlotElement>, filter?: (node: ChildNode) => boolean): T[];
export function useProxySlot<T extends ChildNode>(ref: import("atomico").Ref<HTMLSlotElement>, filter?: (node: ChildNode) => boolean): (T extends import("atomico/types/dom.js").Atomico<any, any> ? InstanceType<T> : T)[];
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