Socket
Socket
Sign inDemoInstall

@glimmer/interfaces

Package Overview
Dependencies
Maintainers
12
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glimmer/interfaces - npm Package Compare versions

Comparing version 0.81.0 to 0.82.0

2

dist/types/lib/compile/encoder.d.ts

@@ -91,3 +91,2 @@ import { CompileTimeConstants, CompileTimeHeap } from '../program';

ifHelper: (handle: number, name: string, moduleName: string) => void;
ifFallback: (name: string, moduleName: string) => void;
}

@@ -103,3 +102,2 @@ ];

ifValue: (handle: number) => void;
ifFallback: (name: string) => void;
}

@@ -106,0 +104,0 @@ ];

@@ -50,3 +50,2 @@ import { PresentArray } from '../array';

Yield = 18,
Partial = 19,

@@ -350,3 +349,2 @@ DynamicArg = 20,

export type Yield = [SexpOpcodes.Yield, YieldTo, Option<Params>];
export type Partial = [SexpOpcodes.Partial, Expression, Core.EvalInfo];
export type DynamicArg = [SexpOpcodes.DynamicArg, string, Expression];

@@ -450,3 +448,2 @@ export type StaticArg = [SexpOpcodes.StaticArg, string, Expression];

| Yield
| Partial
| StaticArg

@@ -453,0 +450,0 @@ | DynamicArg

@@ -26,3 +26,3 @@ /**

* When compiling an application, the `CompileTimeLookup` is responsible
* for resolving helpers, modifiers, components, and partials into "handles"
* for resolving helpers, modifiers, and components into "handles"
* (numbers) that can be embedded into the program and used at runtime.

@@ -35,5 +35,5 @@ *

* 1. To turn handles created by the `CompileTimeLookup` into live helpers,
* modifiers, components, and partials.
* 2. To resolve dynamic components and partials at runtime that come from
* calls to `{{component dynamic}}` or `{{partial dynamic}}`.
* modifiers, and components.
* 2. To resolve dynamic components at runtime that come from
* calls to `{{component dynamic}}`.
*

@@ -46,7 +46,2 @@ * The `CompileTimeLookup` and `RuntimeResolver` must maintain symmetry

*
* And between:
*
* * `resolver.resolve(lookup.lookupPartial(name, referrer))`; and
* * `resolver.lookupPartial(name, referrer))`
*
* # Coupling

@@ -95,3 +90,2 @@ *

lookupComponent(name: string, owner: O): Option<ResolvedComponentDefinition>;
lookupPartial(name: string, owner: O): Option<PartialDefinition>;

@@ -104,13 +98,4 @@ // TODO: These are used to lookup keywords that are implemented as helpers/modifiers.

export interface PartialDefinition {
name: string; // for debugging
getPartial(
context: CompileTimeCompilationContext
): { symbolTable: ProgramSymbolTable; handle: HandleResult };
}
export interface RuntimeResolver<O extends Owner = Owner> {
lookupComponent(name: string, owner: O): Option<ResolvedComponentDefinition>;
lookupPartial(name: string, owner: O): Option<PartialDefinition>;
}

@@ -100,3 +100,2 @@ /* This file is generated by build/debug.js */

DidRenderLayout = 100,
InvokePartial = 101,
ResolveMaybeLocal = 102,

@@ -103,0 +102,0 @@ Debugger = 103,

2

dist/types/package.json
{
"name": "@glimmer/interfaces",
"version": "0.80.0",
"version": "0.81.0",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/interfaces",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

{
"name": "@glimmer/interfaces",
"version": "0.81.0",
"version": "0.82.0",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/interfaces",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

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