alien-signals
Advanced tools
Comparing version 0.3.0-alpha.1 to 0.3.0-alpha.2
{ | ||
"name": "alien-signals", | ||
"version": "0.3.0-alpha.1", | ||
"version": "0.3.0-alpha.2", | ||
"license": "MIT", | ||
@@ -36,4 +36,4 @@ "packageManager": "pnpm@9.12.0", | ||
"build": "tsc && npm run build:esm && npm run build:cjs", | ||
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=esm/index.mjs --minify", | ||
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=cjs/index.cjs --minify", | ||
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=esm/index.mjs", | ||
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=cjs/index.cjs", | ||
"test": "vitest run" | ||
@@ -40,0 +40,0 @@ }, |
@@ -0,1 +1,9 @@ | ||
<p align="center"> | ||
<img src="assets/logo.png" width="250"><br> | ||
<p> | ||
<p align="center"> | ||
<a href="https://npmjs.com/package/alien-signals"><img src="https://badgen.net/npm/v/alien-signals" alt="npm package"></a> | ||
</p> | ||
# alien-signals | ||
@@ -2,0 +10,0 @@ |
@@ -21,3 +21,3 @@ export interface IEffect extends Subscriber { | ||
dep: Dependency | IComputed | (Dependency & IEffect); | ||
sub: Subscriber | IComputed | IEffect; | ||
sub: Subscriber | IComputed | (Dependency & IEffect) | IEffect; | ||
trackId: number; | ||
@@ -41,7 +41,7 @@ prevSub: Link | undefined; | ||
queuedEffectsTail: IEffect | undefined; | ||
linkPool: Link | undefined; | ||
}; | ||
export declare function startBatch(): void; | ||
export declare function endBatch(): void; | ||
export declare function getLink(dep: Dependency, sub: Subscriber, nextDep: Link | undefined): Link; | ||
export declare function releaseLink(link: Link): void; | ||
export declare function drainQueuedEffects(): void; | ||
export declare function link(dep: Dependency, sub: Subscriber): void; | ||
@@ -48,0 +48,0 @@ export declare function propagate(subs: Link): void; |
Sorry, the diff of this file is not supported yet
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
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
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
49882
25
1642
85
1