Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@glimmer/compiler

Package Overview
Dependencies
Maintainers
10
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glimmer/compiler - npm Package Compare versions

Comparing version 0.28.3 to 0.29.0

16

dist/commonjs/es2017/lib/javascript-compiler.js

@@ -158,4 +158,5 @@ "use strict";

let blocks = this.template.block.blocks;
(0, _util.assert)(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
(0, _util.assert)(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
false && (0, _util.assert)(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
false && (0, _util.assert)(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
this.push([_wireFormat.Ops.Block, name, params, hash, blocks[template], blocks[inverse]]);

@@ -269,3 +270,4 @@ }

let component = this.blocks.pop();
(0, _util.assert)(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
false && (0, _util.assert)(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
return component.toJSON();

@@ -281,3 +283,4 @@ }

prepareObject(size) {
(0, _util.assert)(this.values.length >= size, `Expected ${size} values on the stack, found ${this.values.length}`);
false && (0, _util.assert)(this.values.length >= size, `Expected ${size} values on the stack, found ${this.values.length}`);
let keys = new Array(size);

@@ -302,3 +305,4 @@ let values = new Array(size);

popValue() {
(0, _util.assert)(this.values.length, "No expression found on stack");
false && (0, _util.assert)(this.values.length, "No expression found on stack");
return this.values.pop();

@@ -312,2 +316,2 @@ }

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiamF2YXNjcmlwdC1jb21waWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL2NvbXBpbGVyL2xpYi9qYXZh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KTtcbiAgfVxuXG4gIC8vLyBVdGlsaXRpZXNcblxuICBwdXNoKGFyZ3M6IFN0YXRlbWVudCkge1xuICAgIHdoaWxlIChhcmdzW2FyZ3MubGVuZ3RoIC0gMV0gPT09IG51bGwpIHtcbiAgICAgIGFyZ3MucG9wKCk7XG4gICAgfVxuXG4gICAgdGhpcy5jdXJyZW50QmxvY2sucHVzaChhcmdzKTtcbiAgfVxuXG4gIHB1c2hWYWx1ZTxTIGV4dGVuZHMgRXhwcmVzc2lvbiB8IFBhcmFtcyB8IEhhc2g+KHZhbDogUykge1xuICAgIHRoaXMudmFsdWVzLnB1c2godmFsKTtcbiAgfVxuXG4gIHBvcFZhbHVlPFQgZXh0ZW5kcyBTdGFja1ZhbHVlPigpOiBUIHtcbiAgICBhc3NlcnQodGhpcy52YWx1ZXMubGVuZ3RoLCBcIk5vIGV4cHJlc3Npb24gZm91bmQgb24gc3RhY2tcIik7XG4gICAgcmV0dXJuIHRoaXMudmFsdWVzLnBvcCgpIGFzIFQ7XG4gIH1cbn1cblxuZnVuY3Rpb24gaXNDb21wb25lbnQodGFnOiBzdHJpbmcpOiBib29sZWFuIHtcbiAgbGV0IG9wZW4gPSB0YWcuY2hhckF0KDApO1xuXG4gIHJldHVybiBvcGVuID09PSBvcGVuLnRvVXBwZXJDYXNlKCk7XG59XG4iXX0=

@@ -281,3 +281,4 @@ "use strict";

let param = params[i];
(0, _util.assert)(this[param.type], `Unimplemented ${param.type} on TemplateCompiler`);
false && (0, _util.assert)(this[param.type], `Unimplemented ${param.type} on TemplateCompiler`);
this[param.type](param);

@@ -295,3 +296,4 @@ }

let { key, value } = pairs[i];
(0, _util.assert)(this[value.type], `Unimplemented ${value.type} on TemplateCompiler`);
false && (0, _util.assert)(this[value.type], `Unimplemented ${value.type} on TemplateCompiler`);
this[value.type](value);

@@ -428,2 +430,2 @@ this.opcode('literal', null, key);

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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XNoIH0gPSBzdGF0ZW1lbnQ7XG5cbiAgaWYgKGhhc2ggJiYgaGFzaC5wYWlycy5sZW5ndGggPiAwKSB7XG4gICAgdGhyb3cgbmV3IFN5bnRheEVycm9yKGBkZWJ1Z2dlciBkb2VzIG5vdCB0YWtlIGFueSBuYW1lZCBhcmd1bWVudHNgLCBzdGF0ZW1lbnQubG9jKTtcbiAgfVxuXG4gIGlmIChwYXJhbXMubGVuZ3RoID09PSAwKSB7XG4gICAgcmV0dXJuICdkZWZhdWx0JztcbiAgfSBlbHNlIHtcbiAgICB0aHJvdyBuZXcgU3ludGF4RXJyb3IoYGRlYnVnZ2VyIGRvZXMgbm90IHRha2UgYW55IHBvc2l0aW9uYWwgYXJndW1lbnRzYCwgc3RhdGVtZW50LmxvYyk7XG4gIH1cbn1cbiJdfQ==

@@ -254,4 +254,5 @@ "use strict";

var blocks = this.template.block.blocks;
(0, _util.assert)(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
(0, _util.assert)(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
false && (0, _util.assert)(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
false && (0, _util.assert)(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
this.push([_wireFormat.Ops.Block, name, params, hash, blocks[template], blocks[inverse]]);

@@ -394,3 +395,4 @@ };

var component = this.blocks.pop();
(0, _util.assert)(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
false && (0, _util.assert)(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
return component.toJSON();

@@ -408,3 +410,4 @@ };

JavaScriptCompiler.prototype.prepareObject = function prepareObject(size) {
(0, _util.assert)(this.values.length >= size, "Expected " + size + " values on the stack, found " + this.values.length);
false && (0, _util.assert)(this.values.length >= size, "Expected " + size + " values on the stack, found " + this.values.length);
var keys = new Array(size);

@@ -433,3 +436,4 @@ var values = new Array(size);

JavaScriptCompiler.prototype.popValue = function popValue() {
(0, _util.assert)(this.values.length, "No expression found on stack");
false && (0, _util.assert)(this.values.length, "No expression found on stack");
return this.values.pop();

@@ -455,2 +459,2 @@ };

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiamF2YXNjcmlwdC1jb21waWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL2NvbXBpbGVyL2xpYi9qYXZhc2NyaXB0LWNvbXBpbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFDQSxBQUFPLEFBQUUsQUFBTSxBQUFFLEFBQU0sQUFBZSxBQUFDLEFBQ3ZDLEFBQU8sQUFBRSxBQUFLLEFBQUUsQUFBTyxBQUFVLEFBQU0sQUFBRSxBQUFNLEFBQWUsQUFBQzs7QUFJL0QsQUFBTyxBQUlMLEFBQVUsQUFHVixBQUFHLEFBQ0osQUFBTSxBQUFzQixBQUFDLEFBUTlCLEFBQU07Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBQU47cUJBQ1M7OzthQUFVLGFBQWdCLEFBQUUsQUFBQyxBQU90QyxBQUFDLEFBSEMsQUFBSTs7O3lDQUFDLEFBQW9CLFdBQ3ZCLEFBQUk7YUFBQyxBQUFVLFdBQUMsQUFBSSxLQUFDLEFBQVMsQUFBQyxBQUFDLEFBQ2xDLEFBQUMsQUFDRjs7OztBQUVELEFBQU07SUFBbUI7Ozt5QkFDSixBQUF1QixPQUN4QyxBQUFLLEFBQUUsQUFBQzs7O3FEQURTOztjQUFLLFFBQUwsQUFBSyxBQUFrQixBQUUxQyxBQUFDO2VBRUQsQUFBTTs7O3FEQUNKLEFBQU07O3dCQUNRLEFBQUksS0FBQyxBQUFVLEFBQzNCLEFBQVU7d0JBQUUsQUFBSSxLQUFDLEFBQUssTUFGakIsQUFFa0I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gdGhpcy5jdXJyZW50QmxvY2sucHVzaChhcmdzKTtcbiAgfVxuXG4gIHB1c2hWYWx1ZTxTIGV4dGVuZHMgRXhwcmVzc2lvbiB8IFBhcmFtcyB8IEhhc2g+KHZhbDogUykge1xuICAgIHRoaXMudmFsdWVzLnB1c2godmFsKTtcbiAgfVxuXG4gIHBvcFZhbHVlPFQgZXh0ZW5kcyBTdGFja1ZhbHVlPigpOiBUIHtcbiAgICBhc3NlcnQodGhpcy52YWx1ZXMubGVuZ3RoLCBcIk5vIGV4cHJlc3Npb24gZm91bmQgb24gc3RhY2tcIik7XG4gICAgcmV0dXJuIHRoaXMudmFsdWVzLnBvcCgpIGFzIFQ7XG4gIH1cbn1cblxuZnVuY3Rpb24gaXNDb21wb25lbnQodGFnOiBzdHJpbmcpOiBib29sZWFuIHtcbiAgbGV0IG9wZW4gPSB0YWcuY2hhckF0KDApO1xuXG4gIHJldHVybiBvcGVuID09PSBvcGVuLnRvVXBwZXJDYXNlKCk7XG59XG4iXX0=

@@ -145,4 +145,5 @@ import { assert } from "@glimmer/util";

let blocks = this.template.block.blocks;
assert(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
assert(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
(false && assert(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler'));
(false && assert(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler'));
this.push([Ops.Block, name, params, hash, blocks[template], blocks[inverse]]);

@@ -256,3 +257,4 @@ }

let component = this.blocks.pop();
assert(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
(false && assert(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component"));
return component.toJSON();

@@ -268,3 +270,4 @@ }

prepareObject(size) {
assert(this.values.length >= size, `Expected ${size} values on the stack, found ${this.values.length}`);
(false && assert(this.values.length >= size, `Expected ${size} values on the stack, found ${this.values.length}`));
let keys = new Array(size);

@@ -289,3 +292,4 @@ let values = new Array(size);

popValue() {
assert(this.values.length, "No expression found on stack");
(false && assert(this.values.length, "No expression found on stack"));
return this.values.pop();

@@ -298,2 +302,2 @@ }

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiamF2YXNjcmlwdC1jb21waWxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL2NvbXBpbGVyL2xpYi9qYXZhc2NyaXB0LWNvbXBpbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLEFBQU8sU0FBRSxBQUFNLEFBQUUsY0FBTSxBQUFlLEFBQUM7QUFDdkMsQUFBTyxTQUFFLEFBQUssT0FBRSxBQUFPLEFBQVUsQUFBTSxBQUFFLGVBQU0sQUFBZSxBQUFDO0FBSS9ELEFBQU8sU0FJTCxBQUFVLFlBR1YsQUFBRyxBQUNKLFdBQU0sQUFBc0IsQUFBQztBQVE5QixBQUFNO0FBQU47QUFDUyxhQUFVLGFBQWdCLEFBQUUsQUFBQyxBQU90QztBQUFDO0FBSEMsQUFBSSxTQUFDLEFBQW9CO0FBQ3ZCLEFBQUksYUFBQyxBQUFVLFdBQUMsQUFBSSxLQUFDLEFBQVMsQUFBQyxBQUFDLEFBQ2xDO0FBQUMsQUFDRjs7QUFFRCxBQUFNLGFBQW1CLG9CQUFRLEFBQUs7QUFDcEMsZ0JBQW1CLEFBQXVCO0FBQ3hDLEFBQUssQUFBRSxBQUFDO0FBRFMsYUFBSyxRQUFMLEFBQUssQUFBa0IsQUFFMUM7QUFBQztBQUVELEFBQU07QUFDSixBQUFNO0FBQ0osQUFBVSx3QkFBRSxBQUFJLEtBQUMsQUFBVTtBQUMzQixBQUFVLHdCQUFFLEFBQUksS0FBQyxBQUFLLE1BQUMsQUFBSyxBQUM3QixBQUFDLEFBQ0o7QUFKUztBQUlSLEFBQ0Y7O0FBRUQsQUFBTSxhQUFx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pXSA9IHRoaXMucG9wVmFsdWU8RXhwcmVzc2lvbj4oKTtcbiAgICB9XG5cbiAgICB0aGlzLnB1c2hWYWx1ZTxIYXNoPihba2V5cywgdmFsdWVzXSk7XG4gIH1cblxuICAvLy8gVXRpbGl0aWVzXG5cbiAgcHVzaChhcmdzOiBTdGF0ZW1lbnQpIHtcbiAgICB3aGlsZSAoYXJnc1thcmdzLmxlbmd0aCAtIDFdID09PSBudWxsKSB7XG4gICAgICBhcmdzLnBvcCgpO1xuICAgIH1cblxuICAgIHRoaXMuY3VycmVudEJsb2NrLnB1c2goYXJncyk7XG4gIH1cblxuICBwdXNoVmFsdWU8UyBleHRlbmRzIEV4cHJlc3Npb24gfCBQYXJhbXMgfCBIYXNoPih2YWw6IFMpIHtcbiAgICB0aGlzLnZhbHVlcy5wdXNoKHZhbCk7XG4gIH1cblxuICBwb3BWYWx1ZTxUIGV4dGVuZHMgU3RhY2tWYWx1ZT4oKTogVCB7XG4gICAgYXNzZXJ0KHRoaXMudmFsdWVzLmxlbmd0aCwgXCJObyBleHByZXNzaW9uIGZvdW5kIG9uIHN0YWNrXCIpO1xuICAgIHJldHVybiB0aGlzLnZhbHVlcy5wb3AoKSBhcyBUO1xuICB9XG59XG5cbmZ1bmN0aW9uIGlzQ29tcG9uZW50KHRhZzogc3RyaW5nKTogYm9vbGVhbiB7XG4gIGxldCBvcGVuID0gdGFnLmNoYXJBdCgwKTtcblxuICByZXR1cm4gb3BlbiA9PT0gb3Blbi50b1VwcGVyQ2FzZSgpO1xufVxuIl19

@@ -265,3 +265,4 @@ import TemplateVisitor from "./template-visitor";

let param = params[i];
assert(this[param.type], `Unimplemented ${param.type} on TemplateCompiler`);
(false && assert(this[param.type], `Unimplemented ${param.type} on TemplateCompiler`));
this[param.type](param);

@@ -279,3 +280,4 @@ }

let { key, value } = pairs[i];
assert(this[value.type], `Unimplemented ${value.type} on TemplateCompiler`);
(false && assert(this[value.type], `Unimplemented ${value.type} on TemplateCompiler`));
this[value.type](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GVmYXVsdCc7XG4gIH0gZWxzZSB7XG4gICAgdGhyb3cgbmV3IFN5bnRheEVycm9yKGBkZWJ1Z2dlciBkb2VzIG5vdCB0YWtlIGFueSBwb3NpdGlvbmFsIGFyZ3VtZW50c2AsIHN0YXRlbWVudC5sb2MpO1xuICB9XG59XG4iXX0=

@@ -220,4 +220,5 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var blocks = this.template.block.blocks;
assert(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
assert(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
false && assert(typeof template !== 'number' || blocks[template] !== null, 'missing block in the compiler');
false && assert(typeof inverse !== 'number' || blocks[inverse] !== null, 'missing block in the compiler');
this.push([Ops.Block, name, params, hash, blocks[template], blocks[inverse]]);

@@ -360,3 +361,4 @@ };

var component = this.blocks.pop();
assert(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
false && assert(component instanceof ComponentBlock, "Compiler bug: endComponent() should end a component");
return component.toJSON();

@@ -374,3 +376,4 @@ };

JavaScriptCompiler.prototype.prepareObject = function prepareObject(size) {
assert(this.values.length >= size, "Expected " + size + " values on the stack, found " + this.values.length);
false && assert(this.values.length >= size, "Expected " + size + " values on the stack, found " + this.values.length);
var keys = new Array(size);

@@ -399,3 +402,4 @@ var values = new Array(size);

JavaScriptCompiler.prototype.popValue = function popValue() {
assert(this.values.length, "No expression found on stack");
false && assert(this.values.length, "No expression found on stack");
return this.values.pop();

@@ -420,2 +424,2 @@ };

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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ldCB2YWx1ZXM6IEV4cHJlc3Npb25bXSA9IG5ldyBBcnJheShzaXplKTtcblxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgc2l6ZTsgaSsrKSB7XG4gICAgICBrZXlzW2ldID0gdGhpcy5wb3BWYWx1ZTxzdHI+KCk7XG4gICAgICB2YWx1ZXNbaV0gPSB0aGlzLnBvcFZhbHVlPEV4cHJlc3Npb24+KCk7XG4gICAgfVxuXG4gICAgdGhpcy5wdXNoVmFsdWU8SGFzaD4oW2tleXMsIHZhbHVlc10pO1xuICB9XG5cbiAgLy8vIFV0aWxpdGllc1xuXG4gIHB1c2goYXJnczogU3RhdGVtZW50KSB7XG4gICAgd2hpbGUgKGFyZ3NbYXJncy5sZW5ndGggLSAxXSA9PT0gbnVsbCkge1xuICAgICAgYXJncy5wb3AoKTtcbiAgICB9XG5cbiAgICB0aGlzLmN1cnJlbnRCbG9jay5wdXNoKGFyZ3MpO1xuICB9XG5cbiAgcHVzaFZhbHVlPFMgZXh0ZW5kcyBFeHByZXNzaW9uIHwgUGFyYW1zIHwgSGFzaD4odmFsOiBTKSB7XG4gICAgdGhpcy52YWx1ZXMucHVzaCh2YWwpO1xuICB9XG5cbiAgcG9wVmFsdWU8VCBleHRlbmRzIFN0YWNrVmFsdWU+KCk6IFQge1xuICAgIGFzc2VydCh0aGlzLnZhbHVlcy5sZW5ndGgsIFwiTm8gZXhwcmVzc2lvbiBmb3VuZCBvbiBzdGFja1wiKTtcbiAgICByZXR1cm4gdGhpcy52YWx1ZXMucG9wKCkgYXMgVDtcbiAgfVxufVxuXG5mdW5jdGlvbiBpc0NvbXBvbmVudCh0YWc6IHN0cmluZyk6IGJvb2xlYW4ge1xuICBsZXQgb3BlbiA9IHRhZy5jaGFyQXQoMCk7XG5cbiAgcmV0dXJuIG9wZW4gPT09IG9wZW4udG9VcHBlckNhc2UoKTtcbn1cbiJdfQ==
{
"name": "@glimmer/compiler",
"version": "0.28.3",
"version": "0.29.0",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/compiler",
"dependencies": {
"@glimmer/syntax": "^0.28.3",
"@glimmer/util": "^0.28.3",
"@glimmer/wire-format": "^0.28.3",
"@glimmer/interfaces": "^0.28.3",
"@glimmer/syntax": "^0.29.0",
"@glimmer/util": "^0.29.0",
"@glimmer/wire-format": "^0.29.0",
"@glimmer/interfaces": "^0.29.0",
"simple-html-tokenizer": "^0.3.0"

@@ -11,0 +11,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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