Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alien-signals

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alien-signals - npm Package Compare versions

Comparing version 0.3.0-alpha.1 to 0.3.0-alpha.2

cjs/computed.d.ts

6

package.json
{
"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

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