@blac/react
Advanced tools
+1
-6
@@ -23,3 +23,3 @@ import { RefObject } from "react"; | ||
| * Release a reference to an instance | ||
| * Disposes when ref count reaches zero (unless keepAlive) | ||
| * Disposes when ref count reaches zero (unless static keepAlive is true) | ||
| */ | ||
@@ -64,4 +64,2 @@ release<T extends StateContainer<any>>(constructor: new (...args: any[]) => T, key?: string, forceDispose?: boolean): void; | ||
| name?: string; | ||
| /** Whether to keep container alive when no consumers */ | ||
| keepAlive?: boolean; | ||
| /** Enable debug logging */ | ||
@@ -71,4 +69,2 @@ debug?: boolean; | ||
| instanceId?: string; | ||
| /** Whether this instance should be isolated (not shared) */ | ||
| isolated?: boolean; | ||
| } | ||
@@ -139,3 +135,2 @@ /** | ||
| readonly name: string; | ||
| readonly keepAlive: boolean; | ||
| readonly debug: boolean; | ||
@@ -142,0 +137,0 @@ readonly instanceId: string; |
+1
-6
@@ -23,3 +23,3 @@ import { RefObject } from "react"; | ||
| * Release a reference to an instance | ||
| * Disposes when ref count reaches zero (unless keepAlive) | ||
| * Disposes when ref count reaches zero (unless static keepAlive is true) | ||
| */ | ||
@@ -64,4 +64,2 @@ release<T extends StateContainer<any>>(constructor: new (...args: any[]) => T, key?: string, forceDispose?: boolean): void; | ||
| name?: string; | ||
| /** Whether to keep container alive when no consumers */ | ||
| keepAlive?: boolean; | ||
| /** Enable debug logging */ | ||
@@ -71,4 +69,2 @@ debug?: boolean; | ||
| instanceId?: string; | ||
| /** Whether this instance should be isolated (not shared) */ | ||
| isolated?: boolean; | ||
| } | ||
@@ -139,3 +135,2 @@ /** | ||
| readonly name: string; | ||
| readonly keepAlive: boolean; | ||
| readonly debug: boolean; | ||
@@ -142,0 +137,0 @@ readonly instanceId: string; |
+3
-3
| { | ||
| "name": "@blac/react", | ||
| "version": "2.0.0-rc.3", | ||
| "version": "2.0.0-rc.4", | ||
| "license": "MIT", | ||
@@ -39,3 +39,3 @@ "author": "Brendan Mullins <jsnanigans@gmail.com>", | ||
| "react": "^18.0.0 || ^19.0.0", | ||
| "@blac/core": "2.0.0-rc.3" | ||
| "@blac/core": "2.0.0-rc.4" | ||
| }, | ||
@@ -69,3 +69,3 @@ "peerDependenciesMeta": { | ||
| "vitest": "^3.2.4", | ||
| "@blac/core": "2.0.0-rc.3" | ||
| "@blac/core": "2.0.0-rc.4" | ||
| }, | ||
@@ -72,0 +72,0 @@ "scripts": { |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
-100%229058
-0.16%1126
-0.44%