Socket
Socket
Sign inDemoInstall

@solid-primitives/rootless

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/rootless - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

dist/index.d.cts

11

dist/index.js

@@ -19,6 +19,9 @@ import { getOwner, createRoot, runWithOwner, onCleanup, sharedConfig, createSignal, batch } from 'solid-js';

function createDisposable(fn, ...owners) {
return createSubRoot((dispose) => {
fn(dispose);
return dispose;
}, ...owners);
return createSubRoot(
(dispose) => {
fn(dispose);
return dispose;
},
...owners
);
}

@@ -25,0 +28,0 @@ function createSingletonRoot(factory, detachedOwner = getOwner()) {

{
"name": "@solid-primitives/rootless",
"version": "1.4.2",
"version": "1.4.3",
"description": "A collection of helpers that aim to simplify using reactive primitives outside of reactive roots, and managing disposal of reactive roots.",

@@ -39,3 +39,6 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>",

},
"require": "./dist/index.cjs"
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},

@@ -51,3 +54,3 @@ "typesVersions": {},

"dependencies": {
"@solid-primitives/utils": "^6.2.1"
"@solid-primitives/utils": "^6.2.2"
},

@@ -58,7 +61,7 @@ "peerDependencies": {

"devDependencies": {
"solid-js": "1.7.6"
"solid-js": "^1.8.7"
},
"scripts": {
"dev": "jiti ../../scripts/dev.ts",
"build": "jiti ../../scripts/build.ts",
"dev": "tsx ../../scripts/dev.ts",
"build": "tsx ../../scripts/build.ts",
"vitest": "vitest -c ../../configs/vitest.config.ts",

@@ -65,0 +68,0 @@ "test": "pnpm run vitest",

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