You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@actor-system/behaviors

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@actor-system/behaviors - npm Package Compare versions

Comparing version
0.0.14
to
0.0.15
+9
dist/named.d.ts
import { Behavior } from '@actor-system/core';
/**
* Creates a named version of a behavior using template literal syntax.
* This is useful for debugging and behavior change tracking.
*/
declare const named: (strings: TemplateStringsArray, ...values: unknown[]) => <B extends Behavior<unknown>>(targetBehavior: B) => B;
export { named };
import { Behavior } from '@actor-system/core/internal';
/**
* Creates a named version of a behavior using template literal syntax.
* This is useful for debugging and behavior change tracking.
*/
declare const named: (strings: TemplateStringsArray, ...values: unknown[]) => <B extends Behavior<unknown>>(targetBehavior: B) => B;
export { named };
/**
* Creates a named version of a behavior using template literal syntax.
* This is useful for debugging and behavior change tracking.
*/
const named = (strings, ...values) => (targetBehavior) => ({
...targetBehavior,
_name: String.raw(strings, ...values),
});
export { named };
+1
-0
export { empty } from './empty.js';
export { intercept } from './intercept.js';
export { named } from './named.js';
export { ReceiveMessage, ReceiveSignal, receive, receiveMessage, receiveSignal } from './receive.js';

@@ -4,0 +5,0 @@ export { restart } from './restart.js';

export { empty } from './empty.internal.js';
export { intercept } from './intercept.internal.js';
export { named } from './named.internal.js';
export { ReceiveMessage, ReceiveSignal, receive, receiveMessage, receiveSignal } from './receive.internal.js';

@@ -4,0 +5,0 @@ export { restart } from './restart.internal.js';

export { empty } from './empty.js';
export { intercept } from './intercept.js';
export { named } from './named.js';
export { receive, receiveMessage, receiveSignal } from './receive.js';

@@ -4,0 +5,0 @@ export { restart } from './restart.js';

@@ -8,4 +8,5 @@ import { behavior, $type } from '@actor-system/core';

_checkpoint: checkpoint,
_name: "restart",
});
export { restart };

@@ -7,4 +7,5 @@ import { behavior, $type } from '@actor-system/core';

_operation: "stop",
_name: "stop",
};
export { stopped };
+2
-2
{
"name": "@actor-system/behaviors",
"version": "0.0.14",
"version": "0.0.15",
"type": "module",

@@ -31,3 +31,3 @@ "scripts": {

"dependencies": {
"@actor-system/core": "0.0.13"
"@actor-system/core": "0.0.14"
},

@@ -34,0 +34,0 @@ "devDependencies": {