@glimmer/interfaces
Advanced tools
Comparing version 0.28.3 to 0.29.0
export * from './lib/core'; | ||
export * from './lib/components'; | ||
export * from './lib/di'; | ||
export * from './lib/dom/tree-construction'; | ||
export * from './lib/program'; | ||
export * from './lib/tier1/symbol-table'; | ||
export { default as ComponentCapabilities } from './lib/component-capabilities'; | ||
import * as Simple from './lib/dom/simple'; | ||
export { Simple }; |
import { TemplateMeta } from '@glimmer/wire-format'; | ||
import { ComponentDefinition } from './components'; | ||
import { Opaque, Option, Unique } from './core'; | ||
import { ComponentSpec } from "@glimmer/runtime"; | ||
export interface RuntimeResolver<Specifier> { | ||
lookupComponent(name: string, meta: Specifier): Option<ComponentSpec<Opaque, Opaque>>; | ||
lookupComponent(name: string, meta: Specifier): Option<ComponentDefinition<Opaque, Opaque>>; | ||
lookupPartial(name: string, meta: Specifier): Option<number>; | ||
@@ -8,0 +9,0 @@ |
@@ -42,2 +42,3 @@ import { FIXME, Option } from '../core'; | ||
nodeType: NodeType.DocumentFragment; | ||
insertBefore(node: Node, reference: Option<Node>): void; | ||
} | ||
@@ -75,4 +76,7 @@ | ||
export interface Attribute { | ||
specified: boolean; | ||
name: string; | ||
prefix: Option<string>; | ||
value: string; | ||
namespaceURI: Option<string>; | ||
} | ||
@@ -79,0 +83,0 @@ |
@@ -1,2 +0,4 @@ | ||
import { Unique } from './core'; | ||
import { Opaque, Unique } from './core'; | ||
import { SymbolTable } from './tier1/symbol-table'; | ||
export interface Opcode { | ||
@@ -12,1 +14,35 @@ offset: number; | ||
export type VMHandle = Unique<"Handle">; | ||
export interface CompileTimeHeap { | ||
push(name: /* TODO: Op */ number, op1?: number, op2?: number, op3?: number): void; | ||
malloc(): VMHandle; | ||
finishMalloc(handle: VMHandle, scopeSize: number): void; | ||
// for debugging | ||
getaddr(handle: VMHandle): number; | ||
sizeof(handle: VMHandle): number; | ||
} | ||
export interface CompileTimeProgram { | ||
[key: number]: never; | ||
constants: CompileTimeConstants; | ||
heap: CompileTimeHeap; | ||
opcode(offset: number): Opcode; | ||
} | ||
export interface CompileTimeConstants { | ||
string(value: string): number; | ||
stringArray(strings: string[]): number; | ||
array(values: number[]): number; | ||
table(t: SymbolTable): number; | ||
handle(specifier: Opaque): number; | ||
serializable(value: Opaque): number; | ||
float(value: number): number; | ||
negative(value: number): number; | ||
} | ||
export interface CompileTimeLazyConstants extends CompileTimeConstants { | ||
other(value: Opaque): number; | ||
} |
@@ -1,4 +0,3 @@ | ||
import { Option, Dict } from '../core'; | ||
import { Opaque, Option, Dict } from '../core'; | ||
import { TemplateMeta } from '@glimmer/wire-format'; | ||
import { Opaque } from "@glimmer/interfaces"; | ||
@@ -5,0 +4,0 @@ export interface Symbols { |
{ | ||
"name": "@glimmer/interfaces", | ||
"version": "0.28.2", | ||
"version": "0.28.3", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/interfaces", | ||
"dependencies": { | ||
"@glimmer/wire-format": "^0.28.2" | ||
"@glimmer/wire-format": "^0.28.3" | ||
}, | ||
@@ -8,0 +8,0 @@ "devDependencies": { |
{ | ||
"name": "@glimmer/interfaces", | ||
"version": "0.28.3", | ||
"version": "0.29.0", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/interfaces", | ||
"dependencies": { | ||
"@glimmer/wire-format": "^0.28.3" | ||
"@glimmer/wire-format": "^0.29.0" | ||
}, | ||
@@ -8,0 +8,0 @@ "devDependencies": { |
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
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
9105
16
225
+ Added@glimmer/util@0.29.10(transitive)
+ Added@glimmer/wire-format@0.29.10(transitive)
- Removed@glimmer/util@0.28.3(transitive)
- Removed@glimmer/wire-format@0.28.3(transitive)
Updated@glimmer/wire-format@^0.29.0