@starbeam/interfaces
Advanced tools
Comparing version 0.8.10-unstable.0b31af0 to 0.8.10-unstable.229fe05
{ | ||
"name": "@starbeam/interfaces", | ||
"type": "module", | ||
"version": "0.8.10-unstable.0b31af0", | ||
"version": "0.8.10-unstable.229fe05", | ||
"main": "dist/index.cjs", | ||
@@ -18,8 +18,8 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@starbeam/shared": "1.3.8-unstable.0b31af0", | ||
"@domtree/any": "^0.9.3" | ||
"@domtree/any": "0.9.4-unstable.229fe05", | ||
"@starbeam/shared": "1.3.8-unstable.229fe05" | ||
}, | ||
"devDependencies": { | ||
"@starbeam-dev/compile": "^1.0.2", | ||
"@starbeam-dev/eslint-plugin": "^1.0.4" | ||
"@starbeam-dev/eslint-plugin": "^1.0.6", | ||
"@starbeam-dev/compile": "1.2.0" | ||
}, | ||
@@ -26,0 +26,0 @@ "scripts": { |
@@ -10,4 +10,4 @@ import type { PresentArray } from "@starbeam/core-utils"; | ||
| { | ||
id: boolean | undefined; | ||
} | ||
id: boolean | undefined; | ||
} | ||
| undefined; | ||
@@ -30,4 +30,4 @@ | ||
/** | ||
* Mark the current function as a debug entry point. The immediate caller of a | ||
* debug entry point becomes the call stack associated with any debug | ||
* Mark the current function as a debug entry point. The immediate caller of | ||
* a debug entry point becomes the call stack associated with any debug | ||
* information generated for that entry point. | ||
@@ -46,10 +46,10 @@ * | ||
| { | ||
caller?: CallStack | undefined; | ||
description?: EntryPointDescriptionArg | string | undefined; | ||
force?: boolean | undefined; | ||
} | ||
caller?: CallStack | undefined; | ||
description?: EntryPointDescriptionArg | string | undefined; | ||
force?: boolean | undefined; | ||
} | ||
| EntryPointDescriptionArg | ||
| EntryPoint | ||
| string | ||
) => EntryPoint; | ||
) => void; | ||
getEntryPoint: () => EntryPoint | undefined; | ||
@@ -74,34 +74,34 @@ | ||
| [ | ||
operation: "reactive:read" | "reactive:write" | "reactive:call", | ||
entity: DescriptionDetails | string | undefined, | ||
api?: PropertyKey | ||
] | ||
operation: "reactive:read" | "reactive:write" | "reactive:call", | ||
entity: DescriptionDetails | string | undefined, | ||
api?: PropertyKey | ||
] | ||
| [ | ||
operation: | ||
| "object:get" | ||
| "object:set" | ||
| "object:has" | ||
| "object:call" | ||
| "object:define" | ||
| "object:delete" | ||
| "object:meta:get", | ||
entity: DescriptionDetails | string | undefined, | ||
target: PropertyKey | ||
] | ||
operation: | ||
| "object:get" | ||
| "object:set" | ||
| "object:has" | ||
| "object:call" | ||
| "object:define" | ||
| "object:delete" | ||
| "object:meta:get", | ||
entity: DescriptionDetails | string | undefined, | ||
target: PropertyKey | ||
] | ||
| [ | ||
operation: "object:meta:keys", | ||
entity: DescriptionDetails | string | undefined | ||
] | ||
operation: "object:meta:keys", | ||
entity: DescriptionDetails | string | undefined | ||
] | ||
| [ | ||
operation: "function:call", | ||
entity: DescriptionDetails | string | undefined | ||
] | ||
operation: "function:call", | ||
entity: DescriptionDetails | string | undefined | ||
] | ||
| [ | ||
operation: | ||
| "collection:has" | ||
| "collection:get" | ||
| "collection:insert" | ||
| "collection:delete", | ||
entity: DescriptionDetails | string | undefined, | ||
key: unknown | ||
]; | ||
operation: | ||
| "collection:has" | ||
| "collection:get" | ||
| "collection:insert" | ||
| "collection:delete", | ||
entity: DescriptionDetails | string | undefined, | ||
key: unknown | ||
]; |
@@ -68,5 +68,5 @@ import type { TAG } from "@starbeam/shared"; | ||
* | ||
* Data structures built on `FormulaTag` should always read the formula before | ||
* attempting to read the children if they plan to rely on the absence of | ||
* children as a strong indicator of staticness. | ||
* Data structures built on `FormulaTag` should always read the formula | ||
* before attempting to read the children if they plan to rely on the absence | ||
* of children as a strong indicator of staticness. | ||
*/ | ||
@@ -141,4 +141,4 @@ children: () => ReadonlySet<Tag>; | ||
* the tagged object was initially created. However, this made it impossible to | ||
* use an tagged object's tag as a key in a WeakMap, which meant that the tagged | ||
* object itself had to be passed around even when it was semantically | ||
* use an tagged object's tag as a key in a WeakMap, which meant that the | ||
* tagged object itself had to be passed around even when it was semantically | ||
* unimportant. | ||
@@ -145,0 +145,0 @@ * |
@@ -8,4 +8,4 @@ import type { CallStack } from "./debug/call-stack.js"; | ||
/** | ||
* The runtime is the interface that defines the core operations of the reactive | ||
* system. | ||
* The runtime is the interface that defines the core operations of the | ||
* reactive system. | ||
* | ||
@@ -28,4 +28,4 @@ * ## Cells and Formulas | ||
* | ||
* - `onFinalize(object, handler)`: Registers a finalizer handler for an object. | ||
* - `finalize(object)`: Finalizes an object. | ||
* - `onFinalize(object, handler)`: Registers a finalizer handler for an | ||
* object. - `finalize(object)`: Finalizes an object. | ||
* - `link(parent, child)`: Link two objects together: when the parent is | ||
@@ -55,4 +55,4 @@ * finalized, the child will be finalized as well. | ||
/** | ||
* Subscribe to notifications that the given tag has updates ready ("readiness | ||
* notifications"). | ||
* Subscribe to notifications that the given tag has updates ready | ||
* ("readiness notifications"). | ||
* | ||
@@ -59,0 +59,0 @@ * The second parameter to `subscribe` is a callback that will be called |
@@ -11,9 +11,9 @@ import type { Description } from "./debug/description.js"; | ||
/** | ||
* Cell is the fundamental mutable reactive value. All subscriptions in Starbeam | ||
* are ultimately subscriptions to cells, and all mutations in Starbeam are | ||
* ultimately mutations to cells. | ||
* Cell is the fundamental mutable reactive value. All subscriptions in | ||
* Starbeam are ultimately subscriptions to cells, and all mutations in | ||
* Starbeam are ultimately mutations to cells. | ||
* | ||
* If a cell has `undefined` dependencies, that means that the cell cannot | ||
* change anymore. This allows it to be removed from any formulas that depend on | ||
* it. | ||
* change anymore. This allows it to be removed from any formulas that depend | ||
* on it. | ||
*/ | ||
@@ -20,0 +20,0 @@ export interface CellTag { |
@@ -17,4 +17,4 @@ import type { TAG } from "@starbeam/shared"; | ||
* the tagged object was initially created. However, this made it impossible to | ||
* use an tagged object's tag as a key in a WeakMap, which meant that the tagged | ||
* object itself had to be passed around even when it was semantically | ||
* use an tagged object's tag as a key in a WeakMap, which meant that the | ||
* tagged object itself had to be passed around even when it was semantically | ||
* unimportant. | ||
@@ -21,0 +21,0 @@ */ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
26087
1
+ Added@domtree/any@0.9.4-unstable.229fe05(transitive)
+ Added@domtree/browser@0.9.4-unstable.229fe05(transitive)
+ Added@domtree/interface@0.9.4-unstable.229fe05(transitive)
+ Added@domtree/minimal@0.9.4-unstable.229fe05(transitive)
+ Added@starbeam/shared@1.3.8-unstable.229fe05(transitive)
- Removed@domtree/any@0.9.3(transitive)
- Removed@domtree/browser@0.9.3(transitive)
- Removed@domtree/interface@0.9.3(transitive)
- Removed@domtree/minimal@0.9.3(transitive)
- Removed@starbeam/shared@1.3.8-unstable.0b31af0(transitive)