@solid-primitives/rootless
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -19,3 +19,3 @@ import { Owner } from 'solid-js'; | ||
*/ | ||
declare function createSubRoot<T>(fn: (dispose: VoidFunction) => T, ...owners: (Owner | null)[]): T; | ||
declare function createSubRoot<T>(fn: (dispose: VoidFunction) => T, ...owners: (typeof Owner)[]): T; | ||
/** @deprecated Renamed to `createSubRoot` */ | ||
@@ -22,0 +22,0 @@ declare const createBranch: typeof createSubRoot; |
@@ -13,3 +13,3 @@ import { getOwner, createRoot, runWithOwner, onCleanup } from 'solid-js'; | ||
return fn(dispose); | ||
}, owners[0] || void 0); | ||
}, owners[0]); | ||
} | ||
@@ -16,0 +16,0 @@ var createBranch = createSubRoot; |
{ | ||
"name": "@solid-primitives/rootless", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "A collection of helpers that aim to simplify using reactive primitives outside of reactive roots, and managing disposal of reactive roots.", | ||
@@ -49,3 +49,3 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"peerDependencies": { | ||
"solid-js": "^1.6.0" | ||
"solid-js": "^1.6.11" | ||
}, | ||
@@ -52,0 +52,0 @@ "typesVersions": {}, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13912