@glimmer/runtime
Advanced tools
Comparing version 0.63.1 to 0.63.2
@@ -45,3 +45,3 @@ "use strict"; | ||
return null; | ||
return undefined; | ||
} // This is only exported for types, don't use this class directly | ||
@@ -95,2 +95,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3RlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBR0EsTUFBTSxTQUFTLEdBQXFDLElBQXBELE9BQW9ELEVBQXBEO0FBRUEsTUFBTSxjQUFjLEdBQUcsTUFBTSxDQUE3QixjQUFBOztBQUVNLFNBQUEsb0JBQUEsQ0FBQSxPQUFBLEVBQUEsR0FBQSxFQUFvRTtBQUN4RSxNQUFJLGNBQVMsRUFBRSxHQUFHLEtBQUgsSUFBQSxLQUFpQixPQUFBLEdBQUEsS0FBQSxRQUFBLElBQTJCLE9BQUEsR0FBQSxLQUEzRCxVQUFlLENBQUYsQ0FBYixFQUF3RjtBQUN0RixVQUFNLElBQUEsS0FBQSxDQUFVLDZDQUE2Qyx5QkFBYyxHQUFkLENBQTdELElBQU0sQ0FBTjtBQUNEOztBQUVELE1BQUksY0FBUyxTQUFTLENBQVQsR0FBQSxDQUFiLEdBQWEsQ0FBYixFQUFpQztBQUMvQixVQUFNLElBQUEsS0FBQSxDQUNKLDRFQUE0RSx5QkFBYyxHQUFkLENBRDlFLEtBQU0sQ0FBTjtBQUtEOztBQUVELEVBQUEsU0FBUyxDQUFULEdBQUEsQ0FBQSxHQUFBLEVBQUEsT0FBQTtBQUVBLFNBQUEsR0FBQTtBQUNEOztBQUVLLFNBQUEsb0JBQUEsQ0FBQSxHQUFBLEVBQTBDO0FBQzlDLE1BQUksT0FBTyxHQUFYLEdBQUE7O0FBRUEsU0FB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sYXRlT25seUNvbXBvbmVudCgpO1xuICBgYGBcblxuICBAcHVibGljXG4gIEBtZXRob2QgdGVtcGxhdGVPbmx5XG4gIEBwYXJhbSB7U3RyaW5nfSBtb2R1bGVOYW1lIHRoZSBtb2R1bGUgbmFtZSB0aGF0IHRoZSB0ZW1wbGF0ZSBvbmx5IGNvbXBvbmVudCByZXByZXNlbnRzLCB0aGlzIHdpbGwgYmUgdXNlZCBmb3IgZGVidWdnaW5nIHB1cnBvc2VzXG4gIEBjYXRlZ29yeSBFTUJFUl9HTElNTUVSX1NFVF9DT01QT05FTlRfVEVNUExBVEVcbiovXG5leHBvcnQgZnVuY3Rpb24gdGVtcGxhdGVPbmx5Q29tcG9uZW50KG1vZHVsZU5hbWU/OiBzdHJpbmcpOiBUZW1wbGF0ZU9ubHlDb21wb25lbnQge1xuICByZXR1cm4gbmV3IFRlbXBsYXRlT25seUNvbXBvbmVudChtb2R1bGVOYW1lKTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIGlzVGVtcGxhdGVPbmx5Q29tcG9uZW50KGNvbXBvbmVudDogdW5rbm93bik6IGNvbXBvbmVudCBpcyBUZW1wbGF0ZU9ubHlDb21wb25lbnQge1xuICByZXR1cm4gY29tcG9uZW50IGluc3RhbmNlb2YgVGVtcGxhdGVPbmx5Q29tcG9uZW50O1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -45,3 +45,3 @@ "use strict"; | ||
return null; | ||
return undefined; | ||
} // This is only exported for types, don't use this class directly | ||
@@ -102,2 +102,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3RlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBR0EsSUFBTSxTQUFTLE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geyB0ZW1wbGF0ZU9ubHlDb21wb25lbnQgfSBmcm9tICdAZ2xpbW1lci9ydW50aW1lJztcblxuICBleHBvcnQgZGVmYXVsdCB0ZW1wbGF0ZU9ubHlDb21wb25lbnQoKTtcbiAgYGBgXG5cbiAgQHB1YmxpY1xuICBAbWV0aG9kIHRlbXBsYXRlT25seVxuICBAcGFyYW0ge1N0cmluZ30gbW9kdWxlTmFtZSB0aGUgbW9kdWxlIG5hbWUgdGhhdCB0aGUgdGVtcGxhdGUgb25seSBjb21wb25lbnQgcmVwcmVzZW50cywgdGhpcyB3aWxsIGJlIHVzZWQgZm9yIGRlYnVnZ2luZyBwdXJwb3Nlc1xuICBAY2F0ZWdvcnkgRU1CRVJfR0xJTU1FUl9TRVRfQ09NUE9ORU5UX1RFTVBMQVRFXG4qL1xuZXhwb3J0IGZ1bmN0aW9uIHRlbXBsYXRlT25seUNvbXBvbmVudChtb2R1bGVOYW1lPzogc3RyaW5nKTogVGVtcGxhdGVPbmx5Q29tcG9uZW50IHtcbiAgcmV0dXJuIG5ldyBUZW1wbGF0ZU9ubHlDb21wb25lbnQobW9kdWxlTmFtZSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpc1RlbXBsYXRlT25seUNvbXBvbmVudChjb21wb25lbnQ6IHVua25vd24pOiBjb21wb25lbnQgaXMgVGVtcGxhdGVPbmx5Q29tcG9uZW50IHtcbiAgcmV0dXJuIGNvbXBvbmVudCBpbnN0YW5jZW9mIFRlbXBsYXRlT25seUNvbXBvbmVudDtcbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -30,3 +30,3 @@ import { DEBUG } from '@glimmer/env'; | ||
return null; | ||
return undefined; | ||
} // This is only exported for types, don't use this class directly | ||
@@ -75,2 +75,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bn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BAbWV0aG9kIHRlbXBsYXRlT25seVxuICBAcGFyYW0ge1N0cmluZ30gbW9kdWxlTmFtZSB0aGUgbW9kdWxlIG5hbWUgdGhhdCB0aGUgdGVtcGxhdGUgb25seSBjb21wb25lbnQgcmVwcmVzZW50cywgdGhpcyB3aWxsIGJlIHVzZWQgZm9yIGRlYnVnZ2luZyBwdXJwb3Nlc1xuICBAY2F0ZWdvcnkgRU1CRVJfR0xJTU1FUl9TRVRfQ09NUE9ORU5UX1RFTVBMQVRFXG4qL1xuZXhwb3J0IGZ1bmN0aW9uIHRlbXBsYXRlT25seUNvbXBvbmVudChtb2R1bGVOYW1lPzogc3RyaW5nKTogVGVtcGxhdGVPbmx5Q29tcG9uZW50IHtcbiAgcmV0dXJuIG5ldyBUZW1wbGF0ZU9ubHlDb21wb25lbnQobW9kdWxlTmFtZSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpc1RlbXBsYXRlT25seUNvbXBvbmVudChjb21wb25lbnQ6IHVua25vd24pOiBjb21wb25lbnQgaXMgVGVtcGxhdGVPbmx5Q29tcG9uZW50IHtcbiAgcmV0dXJuIGNvbXBvbmVudCBpbnN0YW5jZW9mIFRlbXBsYXRlT25seUNvbXBvbmVudDtcbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -30,3 +30,3 @@ import { DEBUG } from '@glimmer/env'; | ||
return null; | ||
return undefined; | ||
} // This is only exported for types, don't use this class directly | ||
@@ -82,2 +82,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL3J1bnRpbWUvbGliL3RlbXBsYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFNBQUEsS0FBQSxRQUFBLGNBQUE7QUFDQSxTQUFBLGFBQUEsUUFBQSxlQUFBO0FBR0EsSUFBTSxTQUFTLEdBQXFD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bnQgcmVwcmVzZW50cywgdGhpcyB3aWxsIGJlIHVzZWQgZm9yIGRlYnVnZ2luZyBwdXJwb3Nlc1xuICBAY2F0ZWdvcnkgRU1CRVJfR0xJTU1FUl9TRVRfQ09NUE9ORU5UX1RFTVBMQVRFXG4qL1xuZXhwb3J0IGZ1bmN0aW9uIHRlbXBsYXRlT25seUNvbXBvbmVudChtb2R1bGVOYW1lPzogc3RyaW5nKTogVGVtcGxhdGVPbmx5Q29tcG9uZW50IHtcbiAgcmV0dXJuIG5ldyBUZW1wbGF0ZU9ubHlDb21wb25lbnQobW9kdWxlTmFtZSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBpc1RlbXBsYXRlT25seUNvbXBvbmVudChjb21wb25lbnQ6IHVua25vd24pOiBjb21wb25lbnQgaXMgVGVtcGxhdGVPbmx5Q29tcG9uZW50IHtcbiAgcmV0dXJuIGNvbXBvbmVudCBpbnN0YW5jZW9mIFRlbXBsYXRlT25seUNvbXBvbmVudDtcbn1cbiJdLCJzb3VyY2VSb290IjoiIn0= |
import { TemplateFactory } from '@glimmer/interfaces'; | ||
export declare function setComponentTemplate(factory: TemplateFactory, obj: object): object; | ||
export declare function getComponentTemplate(obj: object): TemplateFactory | null; | ||
export declare function getComponentTemplate(obj: object): TemplateFactory | undefined; | ||
export declare class TemplateOnlyComponent { | ||
@@ -5,0 +5,0 @@ moduleName: string; |
{ | ||
"name": "@glimmer/runtime", | ||
"version": "0.63.1", | ||
"version": "0.63.2", | ||
"description": "Minimal runtime needed to render Glimmer templates", | ||
@@ -9,17 +9,17 @@ "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/runtime", | ||
"@glimmer/env": "0.1.7", | ||
"@glimmer/global-context": "0.63.1", | ||
"@glimmer/low-level": "0.63.1", | ||
"@glimmer/util": "0.63.1", | ||
"@glimmer/reference": "0.63.1", | ||
"@glimmer/validator": "0.63.1", | ||
"@glimmer/wire-format": "0.63.1", | ||
"@glimmer/interfaces": "0.63.1", | ||
"@glimmer/program": "0.63.1", | ||
"@glimmer/vm": "0.63.1", | ||
"@glimmer/global-context": "0.63.2", | ||
"@glimmer/low-level": "0.63.2", | ||
"@glimmer/util": "0.63.2", | ||
"@glimmer/reference": "0.63.2", | ||
"@glimmer/validator": "0.63.2", | ||
"@glimmer/wire-format": "0.63.2", | ||
"@glimmer/interfaces": "0.63.2", | ||
"@glimmer/program": "0.63.2", | ||
"@glimmer/vm": "0.63.2", | ||
"@simple-dom/interface": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@glimmer/local-debug-flags": "0.63.1", | ||
"@glimmer/opcode-compiler": "0.63.1", | ||
"@glimmer/debug": "0.63.1", | ||
"@glimmer/local-debug-flags": "0.63.2", | ||
"@glimmer/opcode-compiler": "0.63.2", | ||
"@glimmer/debug": "0.63.2", | ||
"@types/qunit": "^2.9.0" | ||
@@ -26,0 +26,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3849691
+ Added@glimmer/encoder@0.63.2(transitive)
+ Added@glimmer/global-context@0.63.2(transitive)
+ Added@glimmer/interfaces@0.63.2(transitive)
+ Added@glimmer/low-level@0.63.2(transitive)
+ Added@glimmer/program@0.63.2(transitive)
+ Added@glimmer/reference@0.63.2(transitive)
+ Added@glimmer/util@0.63.2(transitive)
+ Added@glimmer/validator@0.63.2(transitive)
+ Added@glimmer/vm@0.63.2(transitive)
+ Added@glimmer/wire-format@0.63.2(transitive)
- Removed@glimmer/encoder@0.63.1(transitive)
- Removed@glimmer/global-context@0.63.1(transitive)
- Removed@glimmer/interfaces@0.63.1(transitive)
- Removed@glimmer/low-level@0.63.1(transitive)
- Removed@glimmer/program@0.63.1(transitive)
- Removed@glimmer/reference@0.63.1(transitive)
- Removed@glimmer/util@0.63.1(transitive)
- Removed@glimmer/validator@0.63.1(transitive)
- Removed@glimmer/vm@0.63.1(transitive)
- Removed@glimmer/wire-format@0.63.1(transitive)
Updated@glimmer/interfaces@0.63.2
Updated@glimmer/low-level@0.63.2
Updated@glimmer/program@0.63.2
Updated@glimmer/reference@0.63.2
Updated@glimmer/util@0.63.2
Updated@glimmer/validator@0.63.2
Updated@glimmer/vm@0.63.2
Updated@glimmer/wire-format@0.63.2