@glimmer/object-reference
Advanced tools
Comparing version 0.26.2 to 0.27.0
@@ -120,3 +120,3 @@ define('@glimmer/object-reference', ['exports', '@glimmer/util', '@glimmer/reference'], function (exports, _glimmer_util, _glimmer_reference) { 'use strict'; | ||
var NOOP_DESTROY = { | ||
destroy: function () {} | ||
destroy: function destroy() {} | ||
}; | ||
@@ -377,1 +377,3 @@ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xpbW1lci1vYmplY3QtcmVmZXJlbmNlLmpzIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi91dGlscy50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL3JlZmVyZW5jZXMvcGF0aC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL3JlZmVyZW5jZXMvcm9vdC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi9yZWZlcmVuY2VzL2Rlc2NyaXB0b3JzLnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQGdsaW1tZXIvb2JqZWN0LXJlZmVyZW5jZS9saWIvb2JqZWN0LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBmdW5jdGlvbiBFTVBUWV9DQUNIRSgpIHt9XG4iLCJpbXBvcnQgeyBFTVBUWV9DQUNIRSB9IGZyb20gJy4uL3V0aWxzJztcbmltcG9ydCB7IGRpY3QgfS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3BlcnR5OiBzdHJpbmcsIHZhbDogYW55KSB7XG4gIC8vIGxldCByb290UHJvcCA9IG1ldGFGb3IocGFyZW50KS5yb290KCkuY2hhaW5Gb3IocHJvcGVydHkpKTtcblxuICAvLyBsZXQgcmVmZXJlbmNlc1RvTm90aWZ5ID0gbWV0YUZvcihwYXJlbnQpLnJlZmVyZW5jZXNGb3IocHJvcGVydHkpKTtcblxuICBwYXJlbnRbcHJvcGVydHldID0gdmFsO1xuXG4gIC8vIGlmIChyZWZlcmVuY2VzVG9Ob3RpZnkpIHtcbiAgLy8gICByZWZlcmVuY2VzVG9Ob3RpZnkuZm9yRWFjaChmdW5jdGlvbihyZWYpIHsgcmVmLm5vdGlmeSgpOyB9KTtcbiAgLy8gfVxuXG4gIC8vIGlmIChyb290UHJvcCkgcm9vdFByb3Aubm90aWZ5KCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBub3RpZnlQcm9wZXJ0eShfcGFyZW50OiBhbnksIF9wcm9wZXJ0eTogc3RyaW5nKSB7XG4gIC8vIGxldCByb290UHJvcCA9IG1ldGFGb3IocGFyZW50KS5yb290KCkuY2hhaW5Gb3IocHJvcGVydHkpKTtcblxuICAvLyBsZXQgcmVmZXJlbmNlc1RvTm90aWZ5ID0gbWV0YUZvcihwYXJlbnQpLnJlZmVyZW5jZXNGb3IocHJvcGVydHkpKTtcblxuICAvLyBpZiAocmVmZXJlbmNlc1RvTm90aWZ5KSB7XG4gIC8vICAgcmVmZXJlbmNlc1RvTm90aWZ5LmZvckVhY2goZnVuY3Rpb24ocmVmKSB7IHJlZi5ub3RpZnkoKTsgfSk7XG4gIC8vIH1cblxuICAvLyBpZiAocm9vdFByb3ApIHJvb3RQcm9wLm5vdGlmeSgpO1xufVxuIl19 |
@@ -57,2 +57,2 @@ 'use strict'; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL2Rlc2N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VxuICAgIHZhbHVlKCkge1xuICAgICAgICByZXR1cm4gdGhpcy5vYmplY3RbdGhpcy5wcm9wZXJ0eV07XG4gICAgfVxuICAgIGxhYmVsKCkge1xuICAgICAgICByZXR1cm4gJ1tyZWZlcmVuY2UgUHJvcGVydHldJztcbiAgICB9XG59XG5leHBvcnQgZnVuY3Rpb24gQ29tcHV0ZWRSZWZlcmVuY2VCbHVlcHJpbnQoX3Byb3BlcnR5LCBkZXBlbmRlbmNpZXMpIHtcbiAgICByZXR1cm4gY2xhc3MgQ29tcHV0ZWRSZWZlcmVuY2Uge1xuICAgICAgICBjb25zdHJ1Y3RvcihvYmplY3QsIHByb3BlcnR5LCBvdXRlcikge1xuICAgICAgICAgICAgdGhpcy5pbnN0YWxsZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIHRoaXMudGFnID0gVk9MQVRJTEVfVEFHO1xuICAgICAgICAgICAgdGhpcy5vYmplY3QgPSBvYmplY3Q7XG4gICAgICAgICAgICB0aGlzLnByb3BlcnR5ID0gcHJvcGVydHk7XG4gICAgICAgICAgICB0aGlzLmRlcGVuZGVuY2llcyA9IGRlcGVuZGVuY2llcztcbiAgICAgICAgICAgIHRoaXMub3V0ZXIgPSBvdXRlcjtcbiAgICAgICAgfVxuICAgICAgICB2YWx1ZSgpIHtcbiAgICAgICAgICAgIGlmICghdGhpcy5pbnN0YWxsZWQpIHtcbiAgICAgICAgICAgICAgICBsZXQgcm9vdCA9IE1ldGEuZm9yKHRoaXMub2JqZWN0KS5yb290KCk7XG4gICAgICAgICAgICAgICAgdGhpcy5kZXBlbmRlbmNpZXMuZm9yRWFjaChkZXAgPT4ge1xuICAgICAgICAgICAgICAgICAgICBsZXQgcmVmID0gcm9vdC5yZWZlcmVuY2VGcm9tUGFydHMoZGVwKTtcbiAgICAgICAgICAgICAgICAgICAgcmVmLnZhbHVlKCk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgdGhpcy5pbnN0YWxsZWQgPSB0c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UoKSk7XG4gIH1cblxuICBnZXQocHJvcDogc3RyaW5nKTogSVBhdGhSZWZlcmVuY2U8YW55PiB7XG4gICAgbGV0IGNoYWlucyA9IHRoaXMuX2dldENoYWlucygpO1xuICAgIGlmICg8c3RyaW5nPnByb3AgaW4gY2hhaW5zKSByZXR1cm4gY2hhaW5zW3Byb3BdO1xuICAgIHJldHVybiAoY2hhaW5zW3Byb3BdID0gbmV3IFBhdGhSZWZlcmVuY2UodGhpcywgcHJvcCkpO1xuICB9XG5cbiAgbGFiZWwoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gJ1tyZWZlcmVuY2UgRGlyZWN0XSc7XG4gIH1cblxuICBwcml2YXRlIF9nZXRDaGFpbnMoKTogRGljdDxQYXRoUmVmZXJlbmNlPGFueT4+IHtcbiAgICBpZiAodGhpcy5jaGFpbnMpIHJldHVybiB0aGlzLmNoYWlucztcbiAgICByZXR1cm4gKHRoaXMuY2hhaW5zID0gZGljdDxQYXRoUmVmZXJlbmNlPGFueT4+KCkpO1xuICB9XG5cbiAgcHJpdmF0ZSBfcGFyZW50VmFsdWUoKSB7XG4gICAgbGV0IHBhcmVudCA9IHRoaXMucGFyZW50LnZhbHVlKCk7XG4gICAgdGhpcy5sYXN0UGFyZW50VmFsdWUgPSBwYXJlbnQ7XG4gICAgcmV0dXJuIHBhcmVudDtcbiAgfVxufVxuXG5leHBvcnQgeyBQYXRoUmVmZXJlbmNlIH07XG4iXX0= |
@@ -47,2 +47,2 @@ 'use strict'; | ||
exports.default = RootReference; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL3Jvb3QuanMiXSwibmFtZXMiOlsiUm9vdFJlZmVyZW5jZSIsImNvbnN0cnVjdG9yIiwib2JqZWN0IiwiY2hhaW5zIiwidGFnIiwidmFsdWUiLCJ1cGRhdGUiLCJnZXQiLCJwcm9wIiwiY2hhaW5Gb3IiLCJwYXR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mNlPE9wYXF1ZT4pO1xuICB9XG5cbiAgbGFiZWwoKSB7XG4gICAgcmV0dXJuICdbcmVmZXJlbmNlIFJvb3RdJztcbiAgfVxufVxuIl19 |
"use strict"; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsaWIvdHlwZXMuanMiLCJzb3VyY2VzQ29udGVudCI6W119 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi90eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT3BhcXVlLCBEaWN0LCBTZXQgfSBmcm9tICdAZ2xpbW1lci91dGlsJztcbmltcG9ydCB7IFJlZmVyZW5jZSwgUGF0aFJlZmVyZW5jZSB9IGZyb20gJ0BnbGltbWVyL3JlZmVyZW5jZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTm90aWZpYWJsZVJlZmVyZW5jZTxUPiBleHRlbmRzIFJlZmVyZW5jZTxUPiB7XG4gIC8vIG5vdGlmeSgpO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIENoYWluYWJsZVJlZmVyZW5jZTxUPiBleHRlbmRzIFJlZmVyZW5jZTxUPiB7XG4gIC8vIGNoYWluKGNoaWxkOiBSZWZlcmVuY2UpOiBEZXN0cm95YWJsZTtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBQYXRoUmVmZXJlbmNlRmFjdG9yeTxUPiB7XG4gIG5ldyAob2JqZWN0OiBhbnksIHByb3BlcnR5OiBzdHJpbmcpOiBQYXRoUmVmZXJlbmNl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oKTogRGljdDxJbm5lclJlZmVyZW5jZUZhY3Rvcnk8YW55Pj47XG4gIGFkZFJlZmVyZW5jZShwcm9wZXJ0eTogc3RyaW5nLCByZWZlcmVuY2U6IFBhdGhSZWZlcmVuY2U8YW55Pik6IHZvaWQ7XG4gIHJlbW92ZVJlZmVyZW5jZShwcm9wZXJ0eTogc3RyaW5nLCByZWZlcmVuY2U6IFBhdGhSZWZlcmVuY2U8YW55Pik6IHZvaWQ7XG4gIGdldFNsb3RzKCk6IERpY3Q8YW55Pjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBNZXRhTG9va3VwIHtcbiAgZm9yKG9iajogYW55KTogTWV0YTtcbn1cbiJdfQ== |
@@ -8,2 +8,2 @@ "use strict"; | ||
function EMPTY_CACHE() {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi91dGlscy5qcyJdLCJuYW1lcyI6WyJFTVBUWV9DQUNIRSJdLCJtYXBwaW5ncyI6Ijs7Ozs7UUFBZ0JBLFcsR0FBQUEsVztBQUFULFNBQVNBLFdBQVQsR0FBdUIsQ0FBRSIsImZpbGUiOiJsaWIvdXRpbHMuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gRU1QVFlfQ0FDSEUoKSB7fSJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7dUJBQStCLEFBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gRU1QVFlfQ0FDSEUoKSB7fVxuIl19 |
@@ -92,2 +92,2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UFDLEFBQ25FLEFBQU87Ozs7Ozs7Ozt5Q0FBRSxBQUFPLEFBQUksQUFBa0IsQUFBRSxBQUFNLEFBQXVCLEFBQUMsQUFDdEUsQUFBTzs7Ozs7Ozs7O3NCQUFFLEFBQWM7Ozs7OztzQkFBRSxBQUFPLEFBQUUsQUFBTSxBQUFvQixBQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ29tcHV0ZWRSZWZlcmVuY2VCbHVlcHJpbnQsIElubmVyUmVmZXJlbmNlRmFjdG9yeSwgUHJvcGVydHlSZWZlcmVuY2UgfSBmcm9tIFwiLi9saWIvcmVmZXJlbmNlcy9kZXNjcmlwdG9yc1wiO1xuZXhwb3J0IHsgQ0xBU1NfTUVUQSwgZGVmYXVsdCBhcyBNZXRhLCBtZXRhRm9yIH0gZnJvbSBcIi4vbGliL21ldGFcIjtcbmV4cG9ydCB7IHNldFByb3BlcnR5LCBub3RpZnlQcm9wZXJ0eSB9IGZyb20gJy4vbGliL29iamVjdCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi90eXBlcyc7XG5leHBvcnQgeyBkZWZhdWx0IGFzIE9iamVjdFJlZmVyZW5jZSB9IGZyb20gJy4vbGliL3JlZmVyZW5jZXMvcGF0aCc7XG5leHBvcnQgeyBkZWZhdWx0IGFzIFVwZGF0YWJsZVJlZmVyZW5jZSB9IGZyb20gJy4vbGliL3JlZmVyZW5jZXMvcm9vdCc7XG5leHBvcnQgeyBDb25zdFJlZmVyZW5jZSwgaXNDb25zdCB9IGZyb20gJ0BnbGltbWVyL3JlZmVyZW5jZSc7XG4iXX0= |
@@ -28,3 +28,3 @@ 'use strict'; | ||
var NOOP_DESTROY = { | ||
destroy: function () {} | ||
destroy: function destroy() {} | ||
}; | ||
@@ -196,2 +196,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9tZXRhLmpzIl0sIm5hbWVzI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ZW5jZSkge1xuICAgICAgICBpZiAoIXRoaXMucmVmZXJlbmNlcykgcmV0dXJuO1xuICAgICAgICBsZXQgc2V0ID0gdGhpcy5yZWZlcmVuY2VzW3Byb3BlcnR5XTtcbiAgICAgICAgc2V0LmRlbGV0ZShyZWZlcmVuY2UpO1xuICAgIH1cbiAgICBnZXRSZWZlcmVuY2VUeXBlcygpIHtcbiAgICAgICAgdGhpcy5yZWZlcmVuY2VUeXBlcyA9IHRoaXMucmVmZXJlbmNlVHlwZXMgfHwgZGljdCgpO1xuICAgICAgICByZXR1cm4gdGhpcy5yZWZlcmVuY2VUeXBlcztcbiAgICB9XG4gICAgcmVmZXJlbmNlc0Zvcihwcm9wZXJ0eSkge1xuICAgICAgICBpZiAoIXRoaXMucmVmZXJlbmNlcykgcmV0dXJuIG51bGw7XG4gICAgICAgIHJldHVybiB0aGlzLnJlZmVyZW5jZXNbcHJvcGVydHldO1xuICAgIH1cbiAgICBnZXRTbG90cygpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuc2xvdHMgPSB0aGlzLnNsb3RzIHx8IGRpY3QoKTtcbiAgICB9XG4gICAgcm9vdCgpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMucm9vdENhY2hlID0gdGhpcy5yb290Q2FjaGUgfHwgbmV3IHRoaXMuUm9vdFJlZmVyZW5jZUZhY3RvcnkodGhpcy5vYmplY3QpO1xuICAgIH1cbn1cbmV4cG9ydCBkZWZhdWx0IE1ldGE7XG5leHBvcnQgZnVuY3Rpb24gbWV0YUZvcihvYmopIHtcbiAgICByZXR1cm4gTWV0YS5mb3Iob2JqKTtcbn0iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiXSwibmF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0ZXI7XG4gICAgICAgIH1cbiAgICAgICAgdmFsdWUoKSB7XG4gICAgICAgICAgICBpZiAoIXRoaXMuaW5zdGFsbGVkKSB7XG4gICAgICAgICAgICAgICAgbGV0IHJvb3QgPSBNZXRhLmZvcih0aGlzLm9iamVjdCkucm9vdCgpO1xuICAgICAgICAgICAgICAgIHRoaXMuZGVwZW5kZW5jaWVzLmZvckVhY2goZGVwID0+IHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlZiA9IHJvb3QucmVmZXJlbmNlRnJvbVBhcnRzKGRlcCk7XG4gICAgICAgICAgICAgICAgICAgIHJlZi52YWx1ZSgpO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIHRoaXMuaW5zdGFsbGVkID0gdHJ1ZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB0aGlzLm9iamVjdFt0aGlzLnByb3BlcnR5XTtcbiAgICAgICAgfVxuICAgICAgICBsYWJlbCgpIHtcbiAgICAgICAgICAgIHJldHVybiAnW3JlZmVyZW5jZSBDb21wdXRlZF0nO1xuICAgICAgICB9XG4gICAgfTtcbn0iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzY3JpcHRvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi9yZWZlcmVuY2VzL2Rlc2NyaXB0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsQUFBTyxBQUFJLEFBQU0sQUFBUyxBQUFDOzs7O0FBQzNCLEFBQU8sQUFBYSxBQUFZLEFBQU8sQUFBTSxBQUFvQixBQUFDLEFBT2xFLEFBQU07Ozs7Ozs7Ozs7SUFLSjsrQkFBWSxBQUFXLFFBQUUsQUFBZ0I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gIHZhbHVlKCk6IFQge1xuICAgICAgaWYgKCF0aGlzLmluc3RhbGxlZCkge1xuICAgICAgICBsZXQgcm9vdCA9IE1ldGEuZm9yKHRoaXMub2JqZWN0KS5yb290KCk7XG5cbiAgICAgICAgdGhpcy5kZXBlbmRlbmNpZXMuZm9yRWFjaChkZXAgPT4ge1xuICAgICAgICAgIGxldCByZWYgPSByb290LnJlZmVyZW5jZUZyb21QYXJ0cyhkZXApO1xuICAgICAgICAgIHJlZi52YWx1ZSgpO1xuICAgICAgICB9KTtcblxuICAgICAgICB0aGlzLmluc3RhbGxlZCA9IHRydWU7XG4gICAgICB9XG5cbiAgICAgIHJldHVybiB0aGlzLm9iamVjdFt0aGlzLnByb3BlcnR5XTtcbiAgICB9XG5cbiAgICBsYWJlbCgpIHtcbiAgICAgIHJldHVybiAnW3JlZmVyZW5jZSBDb21wdXRlZF0nO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ== |
@@ -89,2 +89,2 @@ 'use strict'; | ||
exports.PathReference = PathReference; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL3BhdGguanMiXSwibmFtZXMiOlsiRU1QVFlfQ0FDSEUiLCJkaWN0IiwiTWV0YSIsIlByb3BlcnR5UmVmZXJlbmNlIiwiVk9MQVRJTEVfVEFHIiwiUGF0aFJlZmVyZW5jZSIsInBhcmVudCIsInByb3BlcnR5IiwiY2FjaGUiLCJpbm5lciIsImNoYWlucyIsImxhc3RQYXJlbnRWYWx1ZSIsIl9ndWlkIiwidGFnIiwidmFsdWUiLCJwYXJlbnRWYWx1ZSIsIl9wYXJlbnRWYWx1ZSIsInVuZGVmaW5lZCIsIlJlZmVyZW5jZVR5cGUiLCJmb3IiLCJyZWZlcmVuY2VUeXBlRm9yIiwiZ2V0IiwicHJvcCIsIl9nZXRDaGFpbnMiLCJsYWJlbCJdLCJtYXBwaW5ncyI6Ijs7Ozs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ICAgcmV0dXJuICdbcmVmZXJlbmNlIERpcmVjdF0nO1xuICB9XG5cbiAgcHJpdmF0ZSBfZ2V0Q2hhaW5zKCk6IERpY3Q8UGF0aFJlZmVyZW5jZTxhbnk+PiB7XG4gICAgaWYgKHRoaXMuY2hhaW5zKSByZXR1cm4gdGhpcy5jaGFpbnM7XG4gICAgcmV0dXJuICh0aGlzLmNoYWlucyA9IGRpY3Q8UGF0aFJlZmVyZW5jZTxhbnk+PigpKTtcbiAgfVxuXG4gIHByaXZhdGUgX3BhcmVudFZhbHVlKCkge1xuICAgIGxldCBwYXJlbnQgPSB0aGlzLnBhcmVudC52YWx1ZSgpO1xuICAgIHRoaXMubGFzdFBhcmVudFZhbHVlID0gcGFyZW50O1xuICAgIHJldHVybiBwYXJlbnQ7XG4gIH1cbn1cblxuZXhwb3J0IHsgUGF0aFJlZmVyZW5jZSB9O1xuIl19 |
@@ -69,2 +69,2 @@ 'use strict'; | ||
exports.default = RootReference; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL3Jvb3QuanMiXSwibmFtZXMiOlsiZGljdCIsIlBhdGhSZWZlcmVuY2UiLCJWT0xBVElMRV9UQUciLCJSb290UmVmZXJlbmNlIiwib2JqZWN0IiwiY2hhaW5zIiwidGFnIiwidmFsdWUiLCJ1cGRhdGUiLCJnZXQiLCJwcm9wIiwiY2hhaW5Gb3IiLCJwYXRoIiwic3RyaW5nIiwic3BsaXQiLCJyZWR1Y2UiLCJyZWYiLCJwYXJ0IiwicmVmZXJlbmNlRnJvbVBhcnRzIiwicGFydHMiLCJsYWJlbCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsQUFBUyxBQUFZOztBQUNyQixBQUFTLEFBQXFCOztBQUM5QixBQUFTLEFBQW9COzs7Ozs7OztJQUNSLEEsNEJBQ2pCOzJCQUFBLEFBQVksUUFBUTs4QkFDaEI7O2FBQU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3RyaW5nKTogSVBhdGhSZWZlcmVuY2U8VT4ge1xuICAgIGxldCBjaGFpbnMgPSB0aGlzLmNoYWlucztcbiAgICBpZiAoPHN0cmluZz5wcm9wIGluIGNoYWlucykgcmV0dXJuIGNoYWluc1twcm9wXTtcbiAgICByZXR1cm4gKGNoYWluc1twcm9wXSA9IG5ldyBQYXRoUmVmZXJlbmNlKHRoaXMsIHByb3ApKTtcbiAgfVxuXG4gIGNoYWluRm9yPFU+KHByb3A6IHN0cmluZyk6IE9wdGlvbjxJUGF0aFJlZmVyZW5jZTxVPj4ge1xuICAgIGxldCBjaGFpbnMgPSB0aGlzLmNoYWlucztcbiAgICBpZiAoPHN0cmluZz5wcm9wIGluIGNoYWlucykgcmV0dXJuIGNoYWluc1twcm9wXTtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIHBhdGgoc3RyaW5nOiBzdHJpbmcpOiBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+IHtcbiAgICByZXR1cm4gc3RyaW5nLnNwbGl0KCcuJykucmVkdWNlKChyZWYsIHBhcnQpID0+IHJlZi5nZXQocGFydCksIHRoaXMgYXMgSVBhdGhSZWZlcmVuY2U8T3BhcXVlPik7XG4gIH1cblxuICByZWZlcmVuY2VGcm9tUGFydHMocGFydHM6IHN0cmluZ1tdKTogSVBhdGhSZWZlcmVuY2U8T3BhcXVlPiB7XG4gICAgcmV0dXJuIHBhcnRzLnJlZHVjZSgocmVmLCBwYXJ0KSA9PiByZWYuZ2V0KHBhcnQpIGFzIElQYXRoUmVmZXJlbmNlPE9wYXF1ZT4sIHRoaXMgYXMgSVBhdGhSZWZlcmVuY2U8T3BhcXVlPik7XG4gIH1cblxuICBsYWJlbCgpIHtcbiAgICByZXR1cm4gJ1tyZWZlcmVuY2UgUm9vdF0nO1xuICB9XG59XG4iXX0= |
"use strict"; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZX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RyaW5nLCByZWZlcmVuY2U6IFBhdGhSZWZlcmVuY2U8YW55Pik6IHZvaWQ7XG4gIGdldFNsb3RzKCk6IERpY3Q8YW55Pjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBNZXRhTG9va3VwIHtcbiAgZm9yKG9iajogYW55KTogTWV0YTtcbn1cbiJdfQ== |
@@ -8,2 +8,2 @@ "use strict"; | ||
function EMPTY_CACHE() {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi91dGlscy5qcyJdLCJuYW1lcyI6WyJFTVBUWV9DQUNIRSJdLCJtYXBwaW5ncyI6Ijs7Ozs7UUFBTyxBQUFTO0FBQVQsdUJBQXVCLEFBQUUiLCJmaWxlIjoibGliL3V0aWxzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIEVNUFRZX0NBQ0hFKCkge30iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7dUJBQStCLEFBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZnVuY3Rpb24gRU1QVFlfQ0FDSEUoKSB7fVxuIl19 |
@@ -6,2 +6,3 @@ export { ComputedReferenceBlueprint, PropertyReference } from "./lib/references/descriptors"; | ||
export { default as UpdatableReference } from './lib/references/root'; | ||
export { ConstReference, isConst } from '@glimmer/reference'; | ||
export { ConstReference, isConst } from '@glimmer/reference'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VS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mVuY2VzL3BhdGgnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBVcGRhdGFibGVSZWZlcmVuY2UgfSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL3Jvb3QnO1xuZXhwb3J0IHsgQ29uc3RSZWZlcmVuY2UsIGlzQ29uc3QgfSBmcm9tICdAZ2xpbW1lci9yZWZlcmVuY2UnO1xuIl19 |
@@ -122,2 +122,3 @@ import { PropertyReference } from './references/descriptors'; | ||
return Meta.for(obj); | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsQUFBTyxTQUFFLEFBQWlCLEFBQUUseUJBQU0sQUFBMEIsQUFBQztBQUM3RCxPQUFPLEFBQWEsbUJBQU0sQUFBbUIsQUFBQztBQUc5QyxBQUFPLFNBQVEsQUFBTyxTQUFnQixBQUFJLEFBQUUsWUFBTSxBQUFlLEFBQUM7QUFTbEUsQUFBTyxTQUFtQyxBQUFZLEFBQUUsb0JBQU0sQUFBb0IsQUFBQztBQUtuRixNQUFNLEFBQVksZUFBRyxFQUFFLEFBQU8sVUFBSSxDQUFDLEFBQUUsQUFBQztBQUV0QztBQUtFLGdCQUFZLEFBQVcsUUFBRSxBQUFpQjtBQUZuQyxhQUFHLE1BQUcsQUFBWSxBQUFDO0FBR3hCLEFBQUksYUFBQyxBQUFNLFNBQUcsQUFBTSxBQUFDLEFBQ3ZCO0FBQUM7QUFFRCxBQUFLO0FBQUssQUFBTSxlQUFDLEFBQVksQUFBQyxBQUFDO0FBQUM7QUFDaEMsQUFBTSxhQUFJLENBQUM7QUFFWCxBQUFLO0FBQ0gsQUFBTSxlQUFDL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IG5ldyB0aGlzLlJvb3RSZWZlcmVuY2VGYWN0b3J5KHRoaXMub2JqZWN0KSk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTWV0YTtcblxuaW50ZXJmYWNlIENsYXNzTWV0YSB7XG4gIEluc3RhbmNlTWV0YUNvbnN0cnVjdG9yOiB0eXBlb2YgTWV0YTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG1ldGFGb3Iob2JqOiBhbnkpOiBJTWV0YSB7XG4gIHJldHVybiBNZXRhLmZvcihvYmopO1xufVxuIl19 |
@@ -19,2 +19,3 @@ // import { metaFor } from './meta'; | ||
// if (rootProp) rootProp.notify(); | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvQGdsaW1tZXIvb2JqZWN0LXJlZmVyZW5jZS9saWIvb2JqZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLEFBQW9DO0FBQ3BDLEFBQTBDO0FBRTFDLEFBQU0sNEJBQXNCLEFBQVcsUUFBRSxBQUFnQixVQUFFLEFBQVE7QUFDakUsQUFBNkQ7QUFFN0QsQUFBcUU7QUFFckUsQUFBTSxXQUFDLEFBQVEsQUFBQyxZQUFHLEFBQUcsQUFBQztBQUV2QixBQUE0QjtBQUM1QixBQUFpRTtBQUNqRSxBQUFJO0FBRUosQUFBbUMsQUFDckM7QUFBQztBQUVELEFBQU0sK0JBQXlCLEFBQVksU0FBRSxBQUFpQjtBQUM1RCxBQUE2RDtBQUU3RCxBQUFxRTtBQUVyRSxBQUE0QjtBQUM1QixBQUFpRTtBQUNqRSxBQUFJO0FBRUosQUFBbUMsQUFDckM7QUFBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIGltcG9ydCB7IG1ldGFGb3IgfSBmcm9tICc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VuY2llczogc3RyaW5nW11bXTtcbiAgICBwcml2YXRlIG91dGVyOiBOb3RpZmlhYmxlUmVmZXJlbmNlPFQ+O1xuICAgIHByaXZhdGUgaW5zdGFsbGVkID0gZmFsc2U7XG4gICAgcHVibGljIHRhZzogVGFnID0gVk9MQVRJTEVfVEFHO1xuXG4gICAgY29uc3RydWN0b3Iob2JqZWN0OiBhbnksIHByb3BlcnR5OiBzdHJpbmcsIG91dGVyOiBOb3RpZmlhYmxlUmVmZXJlbmNlPFQ+KSB7XG4gICAgICB0aGlzLm9iamVjdCA9IG9iamVjdDtcbiAgICAgIHRoaXMucHJvcGVydHkgPSBwcm9wZXJ0eTtcbiAgICAgIHRoaXMuZGVwZW5kZW5jaWVzID0gZGVwZW5kZW5jaWVzO1xuICAgICAgdGhpcy5vdXRlciA9IG91dGVyO1xuICAgIH1cblxuICAgIHZhbHVlKCk6IFQge1xuICAgICAgaWYgKCF0aGlzLmluc3RhbGxlZCkge1xuICAgICAgICBsZXQgcm9vdCA9IE1ldGEuZm9yKHRoaXMub2JqZWN0KS5yb290KCk7XG5cbiAgICAgICAgdGhpcy5kZXBlbmRlbmNpZXMuZm9yRWFjaChkZXAgPT4ge1xuICAgICAgICAgIGxldCByZWYgPSByb290LnJlZmVyZW5jZUZyb21QYXJ0cyhkZXApO1xuICAgICAgICAgIHJlZi52YWx1ZSgpO1xuICAgICAgICB9KTtcblxuICAgICAgICB0aGlzLmluc3RhbGxlZCA9IHRydWU7XG4gICAgICB9XG5cbiAgICAgIHJldHVybiB0aGlzLm9iamVjdFt0aGlzLnByb3BlcnR5XTtcbiAgICB9XG5cbiAgICBsYWJlbCgpIHtcbiAgICAgIHJldHVybiAnW3JlZmVyZW5jZSBDb21wdXRlZF0nO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ== |
@@ -52,2 +52,3 @@ import { EMPTY_CACHE } from '../utils'; | ||
} | ||
export { PathReference }; | ||
export { PathReference }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base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V0IGNoYWlucyA9IHRoaXMuY2hhaW5zO1xuICAgIGlmICg8c3RyaW5nPnByb3AgaW4gY2hhaW5zKSByZXR1cm4gY2hhaW5zW3Byb3BdO1xuICAgIHJldHVybiAoY2hhaW5zW3Byb3BdID0gbmV3IFBhdGhSZWZlcmVuY2UodGhpcywgcHJvcCkpO1xuICB9XG5cbiAgY2hhaW5Gb3I8VT4ocHJvcDogc3RyaW5nKTogT3B0aW9uPElQYXRoUmVmZXJlbmNlPFU+PiB7XG4gICAgbGV0IGNoYWlucyA9IHRoaXMuY2hhaW5zO1xuICAgIGlmICg8c3RyaW5nPnByb3AgaW4gY2hhaW5zKSByZXR1cm4gY2hhaW5zW3Byb3BdO1xuICAgIHJldHVybiBudWxsO1xuICB9XG5cbiAgcGF0aChzdHJpbmc6IHN0cmluZyk6IElQYXRoUmVmZXJlbmNlPE9wYXF1ZT4ge1xuICAgIHJldHVybiBzdHJpbmcuc3BsaXQoJy4nKS5yZWR1Y2UoKHJlZiwgcGFydCkgPT4gcmVmLmdldChwYXJ0KSwgdGhpcyBhcyBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+KTtcbiAgfVxuXG4gIHJlZmVyZW5jZUZyb21QYXJ0cyhwYXJ0czogc3RyaW5nW10pOiBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+IHtcbiAgICByZXR1cm4gcGFydHMucmVkdWNlKChyZWYsIHBhcnQpID0+IHJlZi5nZXQocGFydCkgYXMgSVBhdGhSZWZlcmVuY2U8T3BhcXVlPiwgdGhpcyBhcyBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+KTtcbiAgfVxuXG4gIGxhYmVsKCkge1xuICAgIHJldHVybiAnW3JlZmVyZW5jZSBSb290XSc7XG4gIH1cbn1cbiJdfQ== |
@@ -1,1 +0,2 @@ | ||
export function EMPTY_CACHE() {} | ||
export function EMPTY_CACHE() {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxBQUFNLDhCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIEVNUFRZX0NBQ0hFKCkge31cbiJdfQ== |
@@ -7,2 +7,2 @@ export { ComputedReferenceBlueprint, PropertyReference } from "./lib/references/descriptors"; | ||
export { ConstReference, isConst } from '@glimmer/reference'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbIkNvbXB1dGVkUmVmZXJlbmNlQmx1ZXByaW50IiwiUHJvcGVydHlSZWZlcmVuY2UiLCJDTEFTU19NRVRBIiwiZGVmYXVsdCIsIk1ldGEiLCJtZXRhRm9yIiwic2V0UHJvcGVydHkiLCJub3RpZnlQcm9wZXJ0eSIsIk9iamVjdFJlZmVyZW5jZSIsIlVwZGF0YWJsZVJlZmVyZW5jZSIsIkNvbnN0UmVmZXJlbmNlIiwiaXNDb25zdCJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsMEJBQVQsRUFBcUNDLGlCQUFyQyxRQUE4RCw4QkFBOUQ7QUFDQSxTQUFTQyxVQUFULEVBQXFCQyxXQUFXQyxJQUFoQyxFQUFzQ0MsT0FBdEMsUUFBcUQsWUFBckQ7QUFDQSxTQUFTQyxXQUFULEVBQXNCQyxjQUF0QixRQUE0QyxjQUE1QztBQUNBLFNBQVNKLFdBQVdLLGVBQXBCLFFBQTJDLHVCQUEzQztBQUNBLFNBQVNMLFdBQVdNLGtCQUFwQixRQUE4Qyx1QkFBOUM7QUFDQSxTQUFTQyxjQUFULEVBQXlCQyxPQUF6QixRQUF3QyxvQk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UUsc0JBQU0sQUFBYyxBQUFDO0FBRTNELEFBQU8sU0FBRSxBQUFPLFdBQUksQUFBZSxBQUFFLHVCQUFNLEFBQXVCLEFBQUM7QUFDbkUsQUFBTyxTQUFFLEFBQU8sV0FBSSxBQUFrQixBQUFFLDBCQUFNLEFBQXVCLEFBQUM7QUFDdEUsQUFBTyxTQUFFLEFBQWMsZ0JBQUUsQUFBTyxBQUFFLGVBQU0sQUFBb0IsQUFBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IENvbXB1dGVkUmVmZXJlbmNlQmx1ZXByaW50LCBJbm5lclJlZmVyZW5jZUZhY3RvcnksIFByb3BlcnR5UmVmZXJlbmNlIH0gZnJvbSBcIi4vbGliL3JlZmVyZW5jZXMvZGVzY3JpcHRvcnNcIjtcbmV4cG9ydCB7IENMQVNTX01FVEEsIGRlZmF1bHQgYXMgTWV0YSwgbWV0YUZvciB9IGZyb20gXCIuL2xpYi9tZXRhXCI7XG5leHBvcnQgeyBzZXRQcm9wZXJ0eSwgbm90aWZ5UHJvcGVydHkgfSBmcm9tICcuL2xpYi9vYmplY3QnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBPYmplY3RSZWZlcmVuY2UgfSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL3BhdGgnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBVcGRhdGFibGVSZWZlcmVuY2UgfSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL3Jvb3QnO1xuZXhwb3J0IHsgQ29uc3RSZWZlcmVuY2UsIGlzQ29uc3QgfSBmcm9tICdAZ2xpbW1lci9yZWZlcmVuY2UnO1xuIl19 |
@@ -8,3 +8,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var NOOP_DESTROY = { | ||
destroy: function () {} | ||
destroy: function destroy() {} | ||
}; | ||
@@ -176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cGVydHldID0gdmFsO1xuXG4gIC8vIGlmIChyZWZlcmVuY2VzVG9Ob3RpZnkpIHtcbiAgLy8gICByZWZlcmVuY2VzVG9Ob3RpZnkuZm9yRWFjaChmdW5jdGlvbihyZWYpIHsgcmVmLm5vdGlmeSgpOyB9KTtcbiAgLy8gfVxuXG4gIC8vIGlmIChyb290UHJvcCkgcm9vdFByb3Aubm90aWZ5KCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBub3RpZnlQcm9wZXJ0eShfcGFyZW50OiBhbnksIF9wcm9wZXJ0eTogc3RyaW5nKSB7XG4gIC8vIGxldCByb290UHJvcCA9IG1ldGFGb3IocGFyZW50KS5yb290KCkuY2hhaW5Gb3IocHJvcGVydHkpKTtcblxuICAvLyBsZXQgcmVmZXJlbmNlc1RvTm90aWZ5ID0gbWV0YUZvcihwYXJlbnQpLnJlZmVyZW5jZXNGb3IocHJvcGVydHkpKTtcblxuICAvLyBpZiAocmVmZXJlbmNlc1RvTm90aWZ5KSB7XG4gIC8vICAgcmVmZXJlbmNlc1RvTm90aWZ5LmZvckVhY2goZnVuY3Rpb24ocmVmKSB7IHJlZi5ub3RpZnkoKTsgfSk7XG4gIC8vIH1cblxuICAvLyBpZiAocm9vdFByb3ApIHJvb3RQcm9wLm5vdGlmeSgpO1xufVxuIl19 |
@@ -56,2 +56,2 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL2Rlc2NyaXB0b3JzLmpzIl0sIm5hbWVzIjpbIk1ldGEiLCJWT0xBVElMRV9UQUciLCJQcm9wZXJ0eVJlZmVyZW5jZSIsIm9iamVjdCIsInByb3BlcnR5IiwiX291dGVyIiwidGFnIiwidmFsdWUiLCJsYWJlbCIsIkNvbXB1dGVkUmVmZXJlbmNlQmx1Z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sKCkge1xuICAgICAgICByZXR1cm4gJ1tyZWZlcmVuY2UgUHJvcGVydHldJztcbiAgICB9XG59XG5leHBvcnQgZnVuY3Rpb24gQ29tcHV0ZWRSZWZlcmVuY2VCbHVlcHJpbnQoX3Byb3BlcnR5LCBkZXBlbmRlbmNpZXMpIHtcbiAgICByZXR1cm4gY2xhc3MgQ29tcHV0ZWRSZWZlcmVuY2Uge1xuICAgICAgICBjb25zdHJ1Y3RvcihvYmplY3QsIHByb3BlcnR5LCBvdXRlcikge1xuICAgICAgICAgICAgdGhpcy5pbnN0YWxsZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIHRoaXMudGFnID0gVk9MQVRJTEVfVEFHO1xuICAgICAgICAgICAgdGhpcy5vYmplY3QgPSBvYmplY3Q7XG4gICAgICAgICAgICB0aGlzLnByb3BlcnR5ID0gcHJvcGVydHk7XG4gICAgICAgICAgICB0aGlzLmRlcGVuZGVuY2llcyA9IGRlcGVuZGVuY2llcztcbiAgICAgICAgICAgIHRoaXMub3V0ZXIgPSBvdXRlcjtcbiAgICAgICAgfVxuICAgICAgICB2YWx1ZSgpIHtcbiAgICAgICAgICAgIGlmICghdGhpcy5pbnN0YWxsZWQpIHtcbiAgICAgICAgICAgICAgICBsZXQgcm9vdCA9IE1ldGEuZm9yKHRoaXMub2JqZWN0KS5yb290KCk7XG4gICAgICAgICAgICAgICAgdGhpcy5kZXBlbmRlbmNpZXMuZm9yRWFjaChkZXAgPT4ge1xuICAgICAgICAgICAgICAgICAgICBsZXQgcmVmID0gcm9vdC5yZWZlcmVuY2VGcm9tUGFydHMoZGVwKTtcbiAgICAgICAgICAgICAgICAgICAgcmVmLnZhbHVlKCk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgdGhpcy5pbnN0YWxsZWQgPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHRoaXMub2JqZWN0W3RoaXMucHJvcGVydHldO1xuICAgICAgICB9XG4gIC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0eTogc3RyaW5nO1xuICAgIHByaXZhdGUgZGVwZW5kZW5jaWVzOiBzdHJpbmdbXVtdO1xuICAgIHByaXZhdGUgb3V0ZXI6IE5vdGlmaWFibGVSZWZlcmVuY2U8VD47XG4gICAgcHJpdmF0ZSBpbnN0YWxsZWQgPSBmYWxzZTtcbiAgICBwdWJsaWMgdGFnOiBUYWcgPSBWT0xBVElMRV9UQUc7XG5cbiAgICBjb25zdHJ1Y3RvcihvYmplY3Q6IGFueSwgcHJvcGVydHk6IHN0cmluZywgb3V0ZXI6IE5vdGlmaWFibGVSZWZlcmVuY2U8VD4pIHtcbiAgICAgIHRoaXMub2JqZWN0ID0gb2JqZWN0O1xuICAgICAgdGhpcy5wcm9wZXJ0eSA9IHByb3BlcnR5O1xuICAgICAgdGhpcy5kZXBlbmRlbmNpZXMgPSBkZXBlbmRlbmNpZXM7XG4gICAgICB0aGlzLm91dGVyID0gb3V0ZXI7XG4gICAgfVxuXG4gICAgdmFsdWUoKTogVCB7XG4gICAgICBpZiAoIXRoaXMuaW5zdGFsbGVkKSB7XG4gICAgICAgIGxldCByb290ID0gTWV0YS5mb3IodGhpcy5vYmplY3QpLnJvb3QoKTtcblxuICAgICAgICB0aGlzLmRlcGVuZGVuY2llcy5mb3JFYWNoKGRlcCA9PiB7XG4gICAgICAgICAgbGV0IHJlZiA9IHJvb3QucmVmZXJlbmNlRnJvbVBhcnRzKGRlcCk7XG4gICAgICAgICAgcmVmLnZhbHVlKCk7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMuaW5zdGFsbGVkID0gdHJ1ZTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIHRoaXMub2JqZWN0W3RoaXMucHJvcGVydHldO1xuICAgIH1cblxuICAgIGxhYmVsKCkge1xuICAgICAgcmV0dXJuICdbcmVmZXJlbmNlIENvbXB1dGVkXSc7XG4gICAgfVxuICB9O1xufVxuIl19 |
@@ -71,2 +71,2 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
export { PathReference }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL3BhdGguanMiXSwibmFtZXMiOlsiRU1QVFlfQ0FDSEUiLCJkaWN0IiwiTWV0YSIsIlByb3BlcnR5UmVmZXJlbmNlIiwiVk9MQVRJTEVfVEFHIiwiUGF0aFJlZmVyZW5jZSIsInBhcmVudCIsInByb3BlcnR5IiwiY2FjaGUiLCJpbm5lciIsImNoYWlucyIsImxhc3RQYXJlbnRWYWx1ZSIsIl9ndWlkIiwidGFnIiwidmFsdWUiLCJwYXJlbnRWYWx1ZSIsIl9wYXJlbnRWYWx1ZSIsInVuZGVmaW5lZCIsIlJlZmVyZW5jZVR5cGUiLCJmb3IiLCJyZWZlcmVuY2VUeXBlRm9yIiwiZ2V0IiwicHJvcCIsIl9nZXRDaGFpbnMiLCJsYWJlbCJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxTQUFTQSxXQUFULFFBQTRCLFVBQTVCO0FBQ0EsU0FBU0MsSUFBVCxRQUFxQixlQUFyQjtBQUNBLE9BQU9DLElBQVAsTUFBaUIsU0FBakI7QUFDQSxTQUFTQyxpQkFBVCxRQUFrQyxlQUFsQztBQUNBLFNBQVNDLFlBQVQsUUFBNkIsb0JBQTdCOztJQUNxQkMsYTtBQUNqQiwyQkFBWUMsTUFBWixFQUFvQkMsUUFBcEIsRUFBOEI7QUFBQTs7QUFDMUIsYUFBS0MsS0FBTCxHQUFhUixXQUFiO0FBQ0EsYUFBS1MsS0FBTCxHQUFhLElBQWI7QUFDQSxhQUFLQyxNQUFMLEdBQWMsSUFBZDtBQUNBLGFBQUtDLGVBQUwsR0FBdUJYLFdBQXZCO0FBQ0EsYUFBS1ksS0FBTCxHQUFhLENBQWI7QUFDQSxhQUFLQyxHQUFMLEdBQVdULFlBQVg7QUFDQSxhQUFLRSxNQUF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9wZXJ0eSwgdGhpcyk7XG4gICAgICAgIC8vIH1cbiAgICAgICAgcmV0dXJuIHRoaXMuY2FjaGUgPSBpbm5lci52YWx1ZSgpO1xuICAgIH1cbiAgICBnZXQocHJvcCkge1xuICAgICAgICBsZXQgY2hhaW5zID0gdGhpcy5fZ2V0Q2hhaW5zKCk7XG4gICAgICAgIGlmIChwcm9wIGluIGNoYWlucykgcmV0dXJuIGNoYWluc1twcm9wXTtcbiAgICAgICAgcmV0dXJuIGNoYWluc1twcm9wXSA9IG5ldyBQYXRoUmVmZXJlbmNlKHRoaXMsIHByb3ApO1xuICAgIH1cbiAgICBsYWJlbCgpIHtcbiAgICAgICAgcmV0dXJuICdbcmVmZXJlbmNlIERpcmVjdF0nO1xuICAgIH1cbiAgICBfZ2V0Q2hhaW5zKCkge1xuICAgICAgICBpZiAodGhpcy5jaGFpbnMpIHJldHVybiB0aGlzLmNoYWlucztcbiAgICAgICAgcmV0dXJuIHRoaXMuY2hhaW5zID0gZGljdCgpO1xuICAgIH1cbiAgICBfcGFyZW50VmFsdWUoKSB7XG4gICAgICAgIGxldCBwYXJlbnQgPSB0aGlzLnBhcmVudC52YWx1ZSgpO1xuICAgICAgICB0aGlzLmxhc3RQYXJlbnRWYWx1ZSA9IHBhcmVudDtcbiAgICAgICAgcmV0dXJuIHBhcmVudDtcbiAgICB9XG59XG5leHBvcnQgeyBQYXRoUmVmZXJlbmNlIH07Il19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL3JlZmVyZW5jZXMvcGF0aC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLEFBQU8sU0FBRSxBQUFXLEFBQUUsbUJBQU0sQUFBVSxBQUFDO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eyBQYXRoUmVmZXJlbmNlIH07XG4iXX0= |
@@ -57,2 +57,2 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
export default RootReference; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9yZWZlcmVuY2VzL3Jvb3QuanMiXSwibmFtZXMiOlsiZGljdCIsIlBhdGhSZWZlcmVuY2UiLCJWT0xBVElMRV9UQUciLCJSb290UmVmZXJlbmNlIiwib2JqZWN0IiwiY2hhaW5zIiwidGFnIiwidmFsdWUiLCJ1cGRhdGUiLCJnZXQiLCJwcm9wIiwiY2hhaW5Gb3IiLCJwYXRoIiwic3RyaW5nIiwic3BsaXQiLCJyZWR1Y2UiLCJyZWYiLCJwYXJ0IiwicmVmZXJlbmNlRnJvbVBhcnRzIiwicGFydHMiLCJsYWJlbCJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxTQUFTQSxJQUFULFFBQXFCLGVBQXJCO0FBQ0EsU0FBU0MsYUFBVCxRQUE4QixRQUE5QjtBQUNBLFNBQVNDLFlBQVQsUUFBNkIsb0JBQTdCOztJQUNxQkMsYTtBQUNqQiwyQkFBWUMsTUFBWixFQUFvQjtBQUFBOztBQUNoQixhQUFLQyxNQUFMLEdBQWNMLE1BQWQ7QUFDQSxhQUFLTSxHQUFMLEdBQVdKLFlBQVg7QUFDQSxhQUFLRSxNQUFMLEdBQWNBLE1BQWQ7QUFDSDs7NEJBQ0RHLEssb0JBQVE7QUFDSixlQUFPLEtBQUtILE1BQVo7QUFDSCxLOzs0QkFDREksTSxtQkFBT0osTSxFQUFRO0FBQ1gsYUFBS0EsTUFBTCxHQUFjQSxNQUFkO0FBQ0E7QUFDSCxLOzs0QkFDREssRyxnQkFBSUMsSSxFQUFNO0FBQ04sWUFBSUwsU0FBUyxLQUFLQSxNQUFsQjtBQUNBLFlBQUlLLFFBQVFMLE1BQVosR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XRoUmVmZXJlbmNlPFU+PiB7XG4gICAgbGV0IGNoYWlucyA9IHRoaXMuY2hhaW5zO1xuICAgIGlmICg8c3RyaW5nPnByb3AgaW4gY2hhaW5zKSByZXR1cm4gY2hhaW5zW3Byb3BdO1xuICAgIHJldHVybiBudWxsO1xuICB9XG5cbiAgcGF0aChzdHJpbmc6IHN0cmluZyk6IElQYXRoUmVmZXJlbmNlPE9wYXF1ZT4ge1xuICAgIHJldHVybiBzdHJpbmcuc3BsaXQoJy4nKS5yZWR1Y2UoKHJlZiwgcGFydCkgPT4gcmVmLmdldChwYXJ0KSwgdGhpcyBhcyBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+KTtcbiAgfVxuXG4gIHJlZmVyZW5jZUZyb21QYXJ0cyhwYXJ0czogc3RyaW5nW10pOiBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+IHtcbiAgICByZXR1cm4gcGFydHMucmVkdWNlKChyZWYsIHBhcnQpID0+IHJlZi5nZXQocGFydCkgYXMgSVBhdGhSZWZlcmVuY2U8T3BhcXVlPiwgdGhpcyBhcyBJUGF0aFJlZmVyZW5jZTxPcGFxdWU+KTtcbiAgfVxuXG4gIGxhYmVsKCkge1xuICAgIHJldHVybiAnW3JlZmVyZW5jZSBSb290XSc7XG4gIH1cbn1cbiJdfQ== |
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsaWIvdHlwZXMuanMiLCJzb3VyY2VzQ29udGVudCI6W119 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi90eXBlcy50cyJdLCJuYW1lcyI6W10sIm1h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uYW1lcyI6WyJFTVBUWV9DQUNIRSJdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxTQUFTQSxXQUFULEdBQXVCLENBQUUiLCJmaWxlIjoibGliL3V0aWxzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIEVNUFRZX0NBQ0hFKCkge30iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxBQUFNLDhCQUF5QixBQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIEVNUFRZX0NBQ0hFKCkge31cbiJdfQ== |
@@ -28,3 +28,3 @@ import { MetaOptions } from './types'; | ||
referencesFor(property: string): Option<Set<IPathReference<any>>>; | ||
getSlots(): any; | ||
getSlots(): Dict<any>; | ||
root(): IRootReference<any>; | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "@glimmer/object-reference", | ||
"version": "0.26.2", | ||
"version": "0.27.0", | ||
"description": "References for a Glimmer-compatible object model", | ||
@@ -8,4 +8,4 @@ "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/object-reference", | ||
"dependencies": { | ||
"@glimmer/util": "^0.26.2", | ||
"@glimmer/reference": "^0.26.2" | ||
"@glimmer/util": "^0.27.0", | ||
"@glimmer/reference": "^0.27.0" | ||
}, | ||
@@ -17,4 +17,4 @@ "devDependencies": { | ||
"jsnext:main": "dist/modules/es5/index.js", | ||
"module": "dist/modules/es5/index.js", | ||
"module": "dist/modules/es2017/index.js", | ||
"typings": "dist/types/index.d.ts" | ||
} |
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
217562
1916
+ Added@glimmer/reference@0.27.0(transitive)
+ Added@glimmer/util@0.27.0(transitive)
- Removed@glimmer/reference@0.26.2(transitive)
- Removed@glimmer/util@0.26.2(transitive)
Updated@glimmer/reference@^0.27.0
Updated@glimmer/util@^0.27.0