Socket
Book a DemoInstallSign in
Socket

bunja

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunja - npm Package Compare versions

Comparing version

to
2.0.0-alpha.8

2

deno.json
{
"name": "@disjukr/bunja",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"license": "Zlib",

@@ -5,0 +5,0 @@ "exports": {

@@ -13,7 +13,3 @@ import { Bunja, BunjaStore, HashFn, Scope, ScopeValuePair } from "./bunja-CqyhNWOx.js";

declare function useBunja<T>(bunja: Bunja<T>, scopeValuePairs?: ScopeValuePair<any>[]): T;
/**
* @deprecated use `scopeValuePairs` parameter directly in `useBunja` instead.
*/
declare function inject(scopeValuePairs: ScopeValuePair<any>[]): ScopeValuePair<any>[];
//#endregion
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, inject, scopeContextMap, useBunja };
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, scopeContextMap, useBunja };

@@ -40,10 +40,4 @@ "use client";

}
/**
* @deprecated use `scopeValuePairs` parameter directly in `useBunja` instead.
*/
function inject(scopeValuePairs) {
return scopeValuePairs;
}
//#endregion
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, inject, scopeContextMap, useBunja };
export { BunjaStoreContext, BunjaStoreProvider, bindScope, createScopeFromContext, scopeContextMap, useBunja };
{
"name": "bunja",
"type": "module",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.8",
"description": "State Lifetime Manager",

@@ -6,0 +6,0 @@ "main": "dist/bunja.cjs",

@@ -71,10 +71,1 @@ "use client";

}
/**
* @deprecated use `scopeValuePairs` parameter directly in `useBunja` instead.
*/
export function inject(
scopeValuePairs: ScopeValuePair<any>[],
): ScopeValuePair<any>[] {
return scopeValuePairs;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet