@glimmer/object
Advanced tools
Comparing version 0.29.8 to 0.29.9
@@ -151,2 +151,2 @@ 'use strict'; | ||
function observer(..._args) {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL2NvbXB1dGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLEFBQU8sQUFBRSxBQUEwQixBQUFFLEFBQUksQUFBRSxBQUFNLEFBQTJCLEFBQUM7O0FBQzdFLEFBQU8sQUFBRSxBQUFXLEFBQWEsQUFBTSxBQUFVLEFBQUM7O0FBQ2xELEFBQU8sQUFBYyxBQUFTLEFBQUUsQUFBTSxBQUFTLEFBQUMsQUF5QmhELEFBQU07O01BQXlCLEFBQVEsQUFBUztnQkFLbEMsQUFBNEIsVUFBRSxPQUFtQixBQUFFLElBQzdELEFBQUssQUFBRSxBQUFDO0FBSEY7YUFBUSxXQUFXLEFBQUUsQUFBQyxBQUk1QixBQUFJO2FBQUMsQUFBUSxXQUFHLEFBQVEsQUFBQyxBQUN6QixBQUFJO2FBQUMsQUFBSSxPQUFHLEFBQUksQUFBQyxBQUNuQixBQUFDO0FBRUQsQUFBVTtlQUFDLEFBQWUsU0FBRSxBQUFXLEtBQUUsQUFBb0IsV0FDM0QsQUFBUztrQkFBQyxBQUFtQixvQkFBQyxBQUFHLEtBQUUsQUFBMEIsaURBQUMsQUFBRyxLQUFFLEFBQUksS0FBQyxBQUFJLEFBQUMsQUFBQyxBQUFDLEFBQy9FLEFBQVM7a0JBQUMsQUFBbUIsb0JBQUMsQUFBRyxLQUFFLEFBQUksS0FBQyxBQUFRLEFBQUMsQUFBQyxBQUNsRCxBQUFTO2tCQUFDLEFBQVUsV0FBQyxBQUFHLEFBQUMsQUFBQy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nVsbCkgcmV0dXJuO1xuXG4gICAgaWYgKHRoaXMuaGFzQ29uY2F0ZW5hdGVkUHJvcGVydGllcykge1xuICAgICAgbGV0IGNvbmNhdFByb3BzID0gdGhpcy5jb25jYXRlbmF0ZWRQcm9wZXJ0aWVzO1xuICAgICAgZm9yIChsZXQgcHJvcCBpbiBjb25jYXRQcm9wcykge1xuICAgICAgICBpZiAocHJvcCBpbiBhdHRycykge1xuICAgICAgICAgIGxldCBjb25jYXQgPSBjb25jYXRQcm9wc1twcm9wXS5zbGljZSgpO1xuICAgICAgICAgIG9iamVjdFtwcm9wXSA9IGNvbmNhdC5jb25jYXQoYXR0cnNbcHJvcF0pO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuaGFzTWVyZ2VkUHJvcGVydGllcykge1xuICAgICAgbGV0IG1lcmdlZFByb3BzID0gdGhpcy5tZXJnZWRQcm9wZXJ0aWVzO1xuICAgICAgZm9yIChsZXQgcHJvcCBpbiBtZXJnZWRQcm9wcykge1xuICAgICAgICBpZiAocHJvcCBpbiBhdHRycykge1xuICAgICAgICAgIGxldCBtZXJnZWQgPSBhc3NpZ24oe30sIG1lcmdlZFByb3BzW3Byb3BdKTtcbiAgICAgICAgICBvYmplY3RbcHJvcF0gPSBhc3NpZ24obWVyZ2VkLCBhdHRyc1twcm9wXSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICBhZGRTdGF0aWNNaXhpbihtaXhpbjogTWl4aW4pIHtcbiAgICB0aGlzLnN0YXRpY01peGlucy5wdXNoKG1peGluKTtcbiAgfVxuXG4gIGFkZE1peGluKG1peGluOiBNaXhpbikge1xuICAgIHRoaXMubWl4aW5zLnB1c2gobWl4aW4pO1xuICB9XG5cbiAgZ2V0U3RhdGljTWl4aW5zKCk6IE1peGluW10ge1xuICAgIHJldHVybiB0aGlzLnN0YXRpY01peGlucztcbiAgfVxuXG4gIGdldE1peGlucygpOiBNaXhpbltdI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ID0gdGhpcy5jb25jYXRlbmF0ZWRQcm9wZXJ0aWVzO1xuICAgICAgZm9yIChsZXQgcHJvcCBpbiBjb25jYXRQcm9wcykge1xuICAgICAgICBpZiAocHJvcCBpbiBhdHRycykge1xuICAgICAgICAgIGxldCBjb25jYXQgPSBjb25jYXRQcm9wc1twcm9wXS5zbGljZSgpO1xuICAgICAgICAgIG9iamVjdFtwcm9wXSA9IGNvbmNhdC5jb25jYXQoYXR0cnNbcHJvcF0pO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuaGFzTWVyZ2VkUHJvcGVydGllcykge1xuICAgICAgbGV0IG1lcmdlZFByb3BzID0gdGhpcy5tZXJnZWRQcm9wZXJ0aWVzO1xuICAgICAgZm9yIChsZXQgcHJvcCBpbiBtZXJnZWRQcm9wcykge1xuICAgICAgICBpZiAocHJvcCBpbiBhdHRycykge1xuICAgICAgICAgIGxldCBtZXJnZWQgPSBhc3NpZ24oe30sIG1lcmdlZFByb3BzW3Byb3BdKTtcbiAgICAgICAgICBvYmplY3RbcHJvcF0gPSBhc3NpZ24obWVyZ2VkLCBhdHRyc1twcm9wXSk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICBhZGRTdGF0aWNNaXhpbihtaXhpbjogTWl4aW4pIHtcbiAgICB0aGlzLnN0YXRpY01peGlucy5wdXNoKG1peGluKTtcbiAgfVxuXG4gIGFkZE1peGluKG1peGluOiBNaXhpbikge1xuICAgIHRoaXMubWl4aW5zLnB1c2gobWl4aW4pO1xuICB9XG5cbiAgZ2V0U3RhdGljTWl4aW5zKCk6IE1peGluW10ge1xuICAgIHJldHVybiB0aGlzLnN0YXRpY01peGlucztcbiAgfVxuXG4gIGdldE1peGlucygpOiBNaXhpbltdIHtcbiAgICByZXR1cm4gdGhpcy5taXhpbnM7XG4gIH1cblxuICBhZGRBcHBsaWVkTWl4aW4obWl4aW46IE1peGluKSB7XG4gICAgdGhpcy5hcHB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VwZXInXSA9PT0gdW5kZWZpbmVkKSB7XG4gICAgZnVuY1snX19oYXNTdXBlciddID0gY2hlY2tIYXNTdXBlcihmdW5jKTtcbiAgfVxuICByZXR1cm4gZnVuY1snX19oYXNTdXBlciddO1xufVxuIl19 |
@@ -138,2 +138,2 @@ import { ComputedReferenceBlueprint, Meta } from '@glimmer/object-reference'; | ||
export function observer(..._args) {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL2NvbXB1dGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLEFBQU8sU0FBRSxBQUEwQiw0QkFBRSxBQUFJLEFBQUUsWUFBTSxBQUEyQixBQUFDO0FBQzdFLEFBQU8sU0FBRSxBQUFXLEFBQWEsbUJBQU0sQUFBVSxBQUFDO0FBQ2xELEFBQU8sU0FBYyxBQUFTLEFBQUUsaUJBQU0sQUFBUyxBQUFDO0FBeUJoRCxBQUFNLGFBQXlCLDBCQUFRLEFBQVM7QUFLOUMsZ0JBQVksQUFBNEIsVUFBRSxPQUFtQixBQUFFO0FBQzdELEFBQUssQUFBRSxBQUFDO0FBSEYsYUFBUSxXQUFXLEFBQUUsQUFBQztBQUk1QixBQUFJLGFBQUMsQUFBUSxXQUFHLEFBQVEsQUFBQztBQUN6QixBQUFJLGFBQUMsQUFBSSxPQUFHLEFBQUksQUFBQyxBQUNuQjtBQUFDO0FBRUQsQUFBVSxlQUFDLEFBQWUsU0FBRSxBQUFXLEtBQUUsQUFBb0I7QUFDM0QsQUFBUyxrQkFBQyxBQUFtQixvQkFBQyxBQUFHLEtBQUUsQUFBMEIsMkJBQUMsQUFBRyxLQUFFLEFBQUksS0FBQyxBQUFJLEFBQUMsQUFBQyxBQUFDO0FBQy9FL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vcihuYW1lOiBzdHJpbmdbXSkge1xuICAgIGxldCBwYXJlbnQgPSBuYW1lLnNsaWNlKDAsIC0xKTtcbiAgICBsZXQgbGFzdCA9IG5hbWVbbmFtZS5sZW5ndGggLSAxXTtcblxuICAgIGxldCBnZXQgPSBmdW5jdGlvbih0aGlzOiBhbnkpIHtcbiAgICAgIHJldHVybiBuYW1lLnJlZHVjZSgob2JqLCBuKSA9PiBvYmpbbl0sIHRoaXMpO1xuICAgIH07XG5cbiAgICBsZXQgc2V0ID0gZnVuY3Rpb24odGhpczogYW55LCB2YWx1ZTogYW55KSB7XG4gICAgICBsZXQgcCA9IHBhcmVudC5yZWR1Y2UoKG9iaiwgbikgPT4gb2JqW25dLCB0aGlzKTtcbiAgICAgIHBbbGFzdF0gPSB2YWx1ZTtcbiAgICB9O1xuXG4gICAgc3VwZXIoeyBnZXQsIHNldCB9LCBbbmFtZV0pO1xuICAgIHRoaXMubmFtZSA9IG5hbWU7XG4gIH1cblxuICBkZXNjcmlwdG9yKHRhcmdldDogT2JqZWN0LCBrZXk6IHN0cmluZywgbWV0YTogQ2xhc3NNZXRhKTogRGVzY3JpcHRvciB7XG4gICAgaWYgKHRoaXMubmFtZVswXSA9PT0ga2V5KSB0aHJvdyBuZXcgRXJyb3IoYFNldHRpbmcgYWxpYXMgJyR7a2V5fScgb24gc2VsZmApO1xuICAgIHJldHVybiBzdXBlci5kZXNjcmlwdG9yKHRhcmdldCwga2V5LCBtZXRhKTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gYWxpYXMobmFtZTogc3RyaW5nKTogQmx1ZXByaW50IHtcbiAgcmV0dXJuIG5ldyBBbGlhc0JsdWVwcmludChuYW1lLnNwbGl0KCcuJykpO1xufVxuIl19 | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzY3JpcHRvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8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RoaXMpO1xuICAgICAgcFtsYXN0XSA9IHZhbHVlO1xuICAgIH07XG5cbiAgICBzdXBlcih7IGdldCwgc2V0IH0sIFtuYW1lXSk7XG4gICAgdGhpcy5uYW1lID0gbmFtZTtcbiAgfVxuXG4gIGRlc2NyaXB0b3IodGFyZ2V0OiBPYmplY3QsIGtleTogc3RyaW5nLCBtZXRhOiBDbGFzc01ldGEpOiBEZXNjcmlwdG9yIHtcbiAgICBpZiAodGhpcy5uYW1lWzBdID09PSBrZXkpIHRocm93IG5ldyBFcnJvcihgU2V0dGluZyBhbGlhcyAnJHtrZXl9JyBvbiBzZWxmYCk7XG4gICAgcmV0dXJuIHN1cGVyLmRlc2NyaXB0b3IodGFyZ2V0LCBrZXksIG1ldGEpO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBhbGlhcyhuYW1lOiBzdHJpbmcpOiBCbHVlcHJpbnQge1xuICByZXR1cm4gbmV3IEFsaWFzQmx1ZXByaW50KG5hbWUuc3BsaXQoJy4nKSk7XG59XG4iXX0= |
@@ -258,2 +258,2 @@ import { CLASS_META } from '@glimmer/object-reference'; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWl4aW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL21peGluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLEFBQU8sU0FBRSxBQUFVLEFBQUUsa0JBQU0sQUFBMkIsQUFBQztBQUN2RCxBQUFPLFNBQVEsQUFBSSxNQUFFLEFBQU0sQUFBRSxjQUFNLEFBQWUsQUFBQztBQUNuRCxBQUFzQixTQUVwQixBQUFTLFdBQ1QsQUFBWSxjQUNaLEFBQVcsQUFDWixtQkFBTSxBQUFVLEFBQUM7QUFFbEIsQUFBTyxTQUFFLEFBQUksQUFBRSxZQUF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2 +296,2 @@ import { Meta, PropertyReference } from '@glimmer/object-reference'; | ||
GlimmerObject.isClass = true; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvQGdsaW1tZXIvb2JqZWN0L2xpYi9vYmplY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsQUFBTyxTQUNMLEFBQUksTUFFSixBQUFpQixBQUNsQix5QkFBTSxBQUEyQixBQUFDO0FBQ25DLEFBQU8sU0FBUSxBQUFJLE1BQUUsQUFBTSxRQUFFLEFBQWMsQUFBRSxzQkFBTSxBQUFlLEFBQUM7QUFDbkUsQUFBTyxTQUVMLEFBQU0sVUFBSSxBQUFXLGFBQ3JCLEFBQU8sU0FDUCxBQUFnQixrQkFDaEIsQUFBVSxBQUNYLGtCQUFNLEFBQVMsQUFBQztBQUVqQixNQUFNLEVBQUUsQUFBTyxBQUFFLFlBQUcsQUFBSyxBQUFDO0FBRTFCLEFBQU8sU0FBRSxBQUFJLEFBQUUsWUFBTSxBQUFTLEFBQUM7QUFHL0IsQUFBTSxPQUFDLE1BQU0sQUFBVyxjQUFHLHVCQUF3QixDQUFDLEFBQUM7QUFFckQsTUFBTSxBQUFVLGFBQUcsQUFBc0MsQUFBQztBQXdCMUQsQUFBTSw0QkFBeUIsQUFBTTtBQUNuQyxBQUFzQjtBQUN0QixBQUF5QjtBQUN6QixBQUFNLFdBQUMsQUFBRyxBQUFDLEFBQ2I7QUFBQztBQUVELE1BQTBCLG1CQUFRLEFBQUk7QUFDcEMsQUFBbUIsd0JBQUMsR0FBRyxBQUFZO0FBQ2pDLGNBQU0sSUFBSSxBQUFLLE1BQUMsQUFBZ0QsQUFBQyxBQUFDLEFBQ3BFO0FBQUMsQUFDRjs7QUFFRCxBQUFNO0FBQU47QUFDVSxhQUFjL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KSB7XG4gICAgZnVuY1snX19oYXNTdXBlciddID0gY2hlY2tIYXNTdXBlcihmdW5jKTtcbiAgfVxuICByZXR1cm4gZnVuY1snX19oYXNTdXBlciddO1xufVxuIl19 |
@@ -181,2 +181,2 @@ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } | ||
export function observer() {} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL2NvbXB1dGVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsQUFBTyxTQUFFLEFBQTBCLDRCQUFFLEFBQUksQUFBRSxZQUFNLEFBQTJCLEFBQUM7QUFDN0UsQUFBTyxTQUFFLEFBQVcsQUFBYSxtQkFBTSxBQUFVLEFBQUM7QUFDbEQsQUFBTyxTQUFjLEFBQVMsQUFBRSxpQkFBTSxBQUFTLEFBQUM7QUF5QmhELEFBQU0sV0FBeUI7OzsrQkFLakIsQUFBNEI7QUFDdEMsQUFBSyxBQUFFLEFBQUMsWUFEZ0MsMkVBQW1CLEFBQUU7Ozs7cURBRnZEOztjQUFRLFdBQVcsQUFBRSxBQUFDLEFBSTVCLEFBQUk7Y0FBQyxBQUFRLFdBQUcsQUFBUSxBQUFDLEFBQ3pCLEFBQUk7Y0FBQyxBQUFJLE9BQUcsQUFBSSxBQUFDLEFBQ25CLEFBQUM7O0FBRUQsQUFBVTs7aUVBQUMsQUFBZSxTQUFFLEFBQVcsS0FBRSxBQUFvQixXQUMzRCxBQUFTO2tCQUFDLEFBQW1CLG9CQUFDLE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YXMgQ29tcHV0ZWRHZXRDYWxsYmFjayB8IExlZ2FjeUNvbXB1dGVkR2V0Q2FsbGJhY2tcbiAgICB9KS5wcm9wZXJ0eSguLi5kZXBzKTtcbiAgfSBlbHNlIGlmICh0eXBlb2YgbGFzdCA9PT0gJ29iamVjdCcpIHtcbiAgICByZXR1cm4gbmV3IENvbXB1dGVkQmx1ZXByaW50KGxhc3QgYXMgQ29tcHV0ZWREZXNjcmlwdG9yKS5wcm9wZXJ0eSguLi5kZXBzKTtcbiAgfSBlbHNlIHtcbiAgICB0aHJvdyBuZXcgVHlwZUVycm9yKFwiY29tcHV0ZWQgZXhwZWN0cyBhIGZ1bmN0aW9uIG9yIGFuIG9iamVjdCBhcyBsYXN0IGFyZ3VtZW50XCIpO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBvYnNlcnZlciguLi5fYXJnczogYW55W10pIHtcblxufVxuIl19 |
@@ -98,2 +98,2 @@ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzY3JpcHRvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL2Rlc2NyaXB0b3JzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsQUFBTyxTQUFFLEFBQVMsV0FBRSxBQUFVLEFBQUUsa0JBQU0sQUFBUyxBQUFDO0FBRWhELEFBQU8sU0FBRSxBQUFpQixBQUFFLHlCQUFNLEFBQVksQUFBQyxBQUUvQzs7SUFBNEI7OzttQ0FHZCxBQUFZO0FBQ3RC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JpbnQobmFtZS5zcGxpdCgnLicpKTtcbn1cbiJdfQ== |
@@ -404,2 +404,2 @@ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWl4aW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL21peGluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsQUFBTyxTQUFFLEFBQVUsQUFBRSxrQkFBTSxBQUEyQixBQUFDO0FBQ3ZELEFBQU8sU0FBUSxBQUFJLE1BQUUsQUFBTSxBQUFFLGNBQU0sQUFBZSxBQUFDO0FBQ25ELEFBQXNCLFNBRXBCLEFBQVMsV0FDVCxBQUFZLGNBQ1osQUFBVyxBQUNaLG1CQUFNLEFBQVUsQUFBQztBQUVsQixBQUFPLFNBQUUsQUFBSSxBQUFFLFlBQU0sQUFBUyxBQUFDLEFBRy9CLEFBQU07SUFBRSxBQUFPLEFBQUUsVUFBRyxBQUFLLEFBQUM7O0FBRTFCLEFBQU0sT0FBQyxJQUFNLEFBQVUsYUFBRyxBQUFzQyxBQUFDO0FBQ2pFLEFBQU0sT0FBQyxJQUFNLEFBQVMsWUFBSSxBQUFzQyxBQUFDO0FBRWpFLEFBQU0sV0FBTjtBQUNFOztTQUFzQywwQ0FBRyxBQUFJLEFBQUMsQUFFaEQsQUFBQzs7QUFFRCxBQUFNLFdBQU47QUFDRTs7U0FBc0MsMENBQUcsQUFBSSxBQUFDLEFBRWhELEFBQUM7O0FBU0QsQUFBTSxXQTRCSjttQkFBWSxBQUFzQixZQUFFL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cywgYXJncyk7XG4gICAgfSBmaW5hbGx5IHtcbiAgICAgIHRoaXMuX3N1cGVyID0gbGFzdFN1cGVyO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ== |
@@ -405,2 +405,2 @@ function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } | ||
GlimmerObject.isClass = true; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvQGdsaW1tZXIvb2JqZWN0L2xpYi9vYmplY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxBQUFPLFNBQ0wsQUFBSSxNQUVKLEFBQWlCLEFBQ2xCLHlCQUFNLEFBQTJCLEFBQUM7QUFDbkMsQUFBTyxTQUFRLEFBQUksTUFBRSxBQUFNLFFBQUUsQUFBYyxBQUFFLHNCQUFNLEFBQWUsQUFBQztBQUNuRSxBQUFPLFNBRUwsQUFBTSxVQUFJLEFBQVcsYUFDckIsQUFBTyxTQUNQLEFBQWdCLGtCQUNoQixBQUFVLEFBQ1gsa0JBQU0sQUFBUyxBQUFDLEFBRWpCLEFBQU07SUFBRSxBQUFPLEFBQUUsVUFBRyxBQUFLLEFBQUM7O0FBRTFCLEFBQU8sU0FBRSxBQUFJLEFBQUUsWUFBTSxBQUFTLEFBQUM7QUFHL0IsQUFBTSxPQUFDLElBQU0sQUFBVyxjQUFHLHVCQUF3QixBQUFDLEFBQUM7QUFFckQsSUFBTSxBQUFVLGFBQUcsQUFBc0MsQUFBQztBQXdCMUQsQUFBTSw0QkFBeUIsQUFBTSxLQUNuQyxBQUFzQjtBQUN0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hc3NpZ24odGhpcywgYXR0cnMpO1xuICAgICh0aGlzLmNvbnN0cnVjdG9yIGFzIHR5cGVvZiBHbGltbWVyT2JqZWN0KVtDTEFTU19NRVRBXS5pbml0KHRoaXMsIGF0dHJzIHx8IG51bGwpO1xuICAgIHRoaXMuX3N1cGVyID0gUk9PVDtcbiAgICBpbml0aWFsaXplR3VpZCh0aGlzKTtcbiAgICB0aGlzLmluaXQoKTtcbiAgfVxuXG4gIGdldChrZXk6IHN0cmluZyk6IGFueSB7XG4gICAgcmV0dXJuIHRoaXNba2V5XTtcbiAgfVxuXG4gIHNldChrZXk6IHN0cmluZywgdmFsdWU6IGFueSkge1xuICAgIHRoaXNba2V5XSA9IHZhbHVlO1xuICB9XG5cbiAgc2V0UHJvcGVydGllcyhhdHRyczogT2JqZWN0KSB7XG4gICAgYXNzaWduKHRoaXMsIGF0dHJzKTtcbiAgfVxuXG4gIGRlc3Ryb3koKSB7fVxufVxuIl19 |
@@ -23,2 +23,2 @@ var HAS_SUPER_PATTERN = /\.(_super|call\(this|apply\(this)/; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QvbGliL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQU0sQUFBaUIsb0JBQUcsQUFBbUMsQUFBQztBQUU5RCxBQUFNLFdBQU8sQUFBYSxBQUFHLDRCQUMzQjtRQUFJLEFBQWUsOEJBQ2pCLEFBQU07ZUFBQyxBQUFJLEFBQUMsQUFDZCxBQUFDLEFBQUM7QUFGb0IsS0FBQyxDQUVwQixBQUFRLEFBQUUsV0FBQyxBQUFPLFFBQUMsQUFBYSxBQUFDLGlCQUFHLENBQUMsQUFBQyxBQUFDLEFBRTFDLEFBQUUsQUFBQ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NlQXZhaWxhYmxlKSB7XG4gICAgcmV0dXJuIGZ1bmN0aW9uIGNoZWNrSGFzU3VwZXIoZnVuYzogRnVuY3Rpb24pIHtcbiAgICAgIHJldHVybiBIQVNfU1VQRVJfUEFUVEVSTi50ZXN0KGZ1bmMudG9TdHJpbmcoKSk7XG4gICAgfTtcbiAgfVxuXG4gIHJldHVybiBmdW5jdGlvbiBjaGVja0hhc1N1cGVyKCkge1xuICAgIHJldHVybiB0cnVlO1xuICB9O1xufSgpKTtcblxuZXhwb3J0IGZ1bmN0aW9uIFJPT1QoLi4uX2FyZ3M6IGFueVtdKSB7fVxuKFJPT1QgYXMgYW55KS5fX2hhc1N1cGVyID0gZmFsc2U7XG5cbmV4cG9ydCBmdW5jdGlvbiBoYXNTdXBlcihmdW5jOiBGdW5jdGlvbikge1xuICBpZiAoZnVuY1snX19oYXNTdXBlciddID09PSB1bmRlZmluZWQpIHtcbiAgICBmdW5jWydfX2hhc1N1cGVyJ10gPSBjaGVja0hhc1N1cGVyKGZ1bmMpO1xuICB9XG4gIHJldHVybiBmdW5jWydfX2hhc1N1cGVyJ107XG59XG4iXX0= |
{ | ||
"name": "@glimmer/object", | ||
"version": "0.29.8", | ||
"version": "0.29.9", | ||
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/object", | ||
"dependencies": { | ||
"@glimmer/object-reference": "^0.29.8", | ||
"@glimmer/util": "^0.29.8" | ||
"@glimmer/object-reference": "^0.29.9", | ||
"@glimmer/util": "^0.29.9" | ||
}, | ||
@@ -9,0 +9,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
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
572330
Updated@glimmer/util@^0.29.9