@glimmer/object-reference
Advanced tools
Comparing version 0.44.0 to 0.45.0
@@ -202,3 +202,3 @@ define('@glimmer/object-reference', ['exports', '@glimmer/util', '@glimmer/validator', '@glimmer/reference'], function (exports, util, validator, reference) { 'use strict'; | ||
var CLASS_META = 'df8be4c8-4e89-44e2-a8f9-550c8dacdca7'; | ||
var CLASS_META = util.symbol('CLASS_META'); | ||
var hasOwnProperty = Object.hasOwnProperty; | ||
@@ -376,3 +376,3 @@ | ||
exports.ObjectReference = PathReference; | ||
exports.UpdatableReference = RootReference; | ||
exports.UpdatableRootReference = RootReference; | ||
exports.State = State; | ||
@@ -383,2 +383,2 @@ | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xpbW1lci1vYmplY3QtcmVmZXJlbmNlLmpzIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi91dGlscy50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL3JlZmVyZW5jZXMvcGF0aC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL3JlZmVyZW5jZXMvcm9vdC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AZ2xpbW1lci9vYmplY3QtcmVmZXJlbmNlL2xpYi9yZWZlcmVuY2VzL2Rlc2NyaXB0b3JzLnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQGdsaW1tZXIvb2JqZWN0LXJlZmVyZW5jZS9saWIvb2JqZWN0LnRzIl0sInNvd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-69,3 +69,3 @@ 'use strict'; | ||
Object.defineProperty(exports, 'UpdatableReference', { | ||
Object.defineProperty(exports, 'UpdatableRootReference', { | ||
enumerable: true, | ||
@@ -102,2 +102,2 @@ get: function () { | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7d0JBQUEsaUI7Ozs7Ozs7OztpQkFLQSxVOzs7Ozs7eUNBQUEsTzs7Ozs7O2lCQUFBLE87Ozs7Ozs7OzttQkFDQSxXOzs7Ozs7bUJBQUEsYzs7Ozs7Ozs7O3lDQUVBLE87Ozs7Ozs7Ozt5Q0FDQSxPOzs7Ozs7aUJBQUEsSzs7Ozs7Ozs7O3NCQUNBLGM7Ozs7Ozs7OztzQkFDQSxPIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHtcbiAgQ29tcHV0ZWRSZWZlcmVuY2VCbHVlcHJpbnQsXG4gIElubmVyUmVmZXJlbmNlRmFjdG9yeSxcbiAgUHJvcGVydHlSZWZlcmVuY2UsXG59IGZyb20gJy4vbGliL3JlZmVyZW5jZXMvZGVzY3JpcHRvcnMnO1xuZXhwb3J0IHsgQ0xBU1NfTUVUQSwgZGVmYXVsdCBhcyBNZXRhLCBtZXRhRm9yIH0gZnJvbSAnLi9saWIvbWV0YSc7XG5leHBvcnQgeyBzZXRQcm9wZXJ0eSwgbm90aWZ5UHJvcGVydHkgfSBmcm9tICcuL2xpYi9vYmplY3QnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBPYmplY3RSZWZlcmVuY2UgfSBmcm9tIC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UHJvcGVydHkgfSBmcm9tICcuL2xpYi9vYmplY3QnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBPYmplY3RSZWZlcmVuY2UgfSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL3BhdGgnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBVcGRhdGFibGVSb290UmVmZXJlbmNlLCBTdGF0ZSB9IGZyb20gJy4vbGliL3JlZmVyZW5jZXMvcm9vdCc7XG5leHBvcnQgeyBDb25zdFJlZmVyZW5jZSB9IGZyb20gJ0BnbGltbWVyL3JlZmVyZW5jZSc7XG5leHBvcnQgeyBpc0NvbnN0IH0gZnJvbSAnQGdsaW1tZXIvdmFsaWRhdG9yJztcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -73,3 +73,3 @@ 'use strict'; | ||
} | ||
const CLASS_META = exports.CLASS_META = 'df8be4c8-4e89-44e2-a8f9-550c8dacdca7'; | ||
const CLASS_META = exports.CLASS_META = (0, _util.symbol)('CLASS_META'); | ||
const hasOwnProperty = Object.hasOwnProperty; | ||
@@ -144,2 +144,2 @@ class Meta { | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O1FBMExNLE8sR0FBQSxPOzs7O0FBekxOOzs7O0FBR0E7O0FBVUE7Ozs7QUFLQSxNQUFNLGVBQWUsRUFBRSxVQUFPLENBQTlCLENBQXFCLEVBQXJCO0FBRUEsTUFBQSxTQUFBLENBQWU7QUFHYixnQkFBQSxNQUFBLEVBQUEsUUFBQSxFQUF5RDtBQUFyQyxhQUFBLE1BQUEsR0FBQSxNQUFBO0FBQXFCLGFBQUEsUUFBQSx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b3J5PGFueT4+KCk7XG4gICAgcmV0dXJuIHRoaXMucmVmZXJlbmNlVHlwZXM7XG4gIH1cblxuICByZWZlcmVuY2VzRm9yKHByb3BlcnR5OiBzdHJpbmcpOiBPcHRpb248U2V0PElQYXRoUmVmZXJlbmNlPGFueT4+PiB7XG4gICAgaWYgKCF0aGlzLnJlZmVyZW5jZXMpIHJldHVybiBudWxsO1xuICAgIHJldHVybiB0aGlzLnJlZmVyZW5jZXNbcHJvcGVydHldO1xuICB9XG5cbiAgZ2V0U2xvdHMoKSB7XG4gICAgcmV0dXJuICh0aGlzLnNsb3RzID0gdGhpcy5zbG90cyB8fCBkaWN0KCkpO1xuICB9XG5cbiAgcm9vdCgpOiBJUm9vdFJlZmVyZW5jZTxhbnk+IHtcbiAgICByZXR1cm4gKHRoaXMucm9vdENhY2hlID0gdGhpcy5yb290Q2FjaGUgfHwgbmV3IHRoaXMuUm9vdFJlZmVyZW5jZUZhY3RvcnkodGhpcy5vYmplY3QpKTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBNZXRhO1xuXG5pbnRlcmZhY2UgQ2xhc3NNZXRhIHtcbiAgSW5zdGFuY2VNZXRhQ29uc3RydWN0b3I6IHR5cGVvZiBNZXRhO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gbWV0YUZvcihvYmo6IGFueSk6IElNZXRhIHtcbiAgcmV0dXJuIE1ldGEuZm9yKG9iaik7XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -69,3 +69,3 @@ 'use strict'; | ||
Object.defineProperty(exports, 'UpdatableReference', { | ||
Object.defineProperty(exports, 'UpdatableRootReference', { | ||
enumerable: true, | ||
@@ -102,2 +102,2 @@ get: function () { | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29i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W5jZXMvcm9vdCc7XG5leHBvcnQgeyBDb25zdFJlZmVyZW5jZSB9IGZyb20gJ0BnbGltbWVyL3JlZmVyZW5jZSc7XG5leHBvcnQgeyBpc0NvbnN0IH0gZnJvbSAnQGdsaW1tZXIvdmFsaWRhdG9yJztcbiJdLCJzb3VyY2VSb290IjoiIn0= |
@@ -109,3 +109,3 @@ 'use strict'; | ||
var CLASS_META = exports.CLASS_META = 'df8be4c8-4e89-44e2-a8f9-550c8dacdca7'; | ||
var CLASS_META = exports.CLASS_META = (0, _util.symbol)('CLASS_META'); | ||
var hasOwnProperty = Object.hasOwnProperty; | ||
@@ -200,2 +200,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O1FBMExNLE8sR0FBQSxPOztBQTFMTjs7QUFDQTs7OztBQUdBOztBQVVBOzs7Ozs7Ozs7O0FBS0EsSUFBTSxlQUFlO0FBQUEsYUFBQSxTQUFBLE9BQUEsR0FBckIsQ0FBQTtBQUFxQixDQUFyQjs7SUFFQSxZO0FBR0UsYUFBQSxTQUFBLENBQUEsTUFBQSxFQUFBLFFBQUEsRUFBeUQ7QUFBQSx3QkFBQSxJQUFBLEVBQUEsU0FBQTs7QUFBckMsYUFBQSxNQUFBLEdBQUEsTUFBQTtBQUFxQixhQUFBLFFBQUEsR0FBQSxRQUFBO0FBRmxDLGFBQUEsR0FBQSxHQUFBLHNCQUFBO0FBR0wsYUFBQSxNQUFBLEdBQUEsTUFBQTtBQUNEOzt3QkFFRCxLLG9CQUFLO0FBQ0gsZUFBQSxZQUFBOzs7d0JBRUYsTSxxQkFBTSxDOzt3QkFFTixLLG9CQUFLO0FBQ0gsZUFBTyxLQUFBLE1BQUEsQ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ldDxJUGF0aFJlZmVyZW5jZTxhbnk+Pj4ge1xuICAgIGlmICghdGhpcy5yZWZlcmVuY2VzKSByZXR1cm4gbnVsbDtcbiAgICByZXR1cm4gdGhpcy5yZWZlcmVuY2VzW3Byb3BlcnR5XTtcbiAgfVxuXG4gIGdldFNsb3RzKCkge1xuICAgIHJldHVybiAodGhpcy5zbG90cyA9IHRoaXMuc2xvdHMgfHwgZGljdCgpKTtcbiAgfVxuXG4gIHJvb3QoKTogSVJvb3RSZWZlcmVuY2U8YW55PiB7XG4gICAgcmV0dXJuICh0aGlzLnJvb3RDYWNoZSA9IHRoaXMucm9vdENhY2hlIHx8IG5ldyB0aGlzLlJvb3RSZWZlcmVuY2VGYWN0b3J5KHRoaXMub2JqZWN0KSk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTWV0YTtcblxuaW50ZXJmYWNlIENsYXNzTWV0YSB7XG4gIEluc3RhbmNlTWV0YUNvbnN0cnVjdG9yOiB0eXBlb2YgTWV0YTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG1ldGFGb3Iob2JqOiBhbnkpOiBJTWV0YSB7XG4gIHJldHVybiBNZXRhLmZvcihvYmopO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -5,5 +5,5 @@ export { ComputedReferenceBlueprint, PropertyReference } from './lib/references/descriptors'; | ||
export { default as ObjectReference } from './lib/references/path'; | ||
export { default as UpdatableReference, State } from './lib/references/root'; | ||
export { default as UpdatableRootReference, State } from './lib/references/root'; | ||
export { ConstReference } from '@glimmer/reference'; | ||
export { isConst } from '@glimmer/validator'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FDRSwwQkFERixFQUdFLGlCQUh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VuY2VzL3BhdGgnO1xuZXhwb3J0IHsgZGVmYXVsdCBhcyBVcGRhdGFibGVSb290UmVmZXJlbmNlLCBTdGF0ZSB9IGZyb20gJy4vbGliL3JlZmVyZW5jZXMvcm9vdCc7XG5leHBvcnQgeyBDb25zdFJlZmVyZW5jZSB9IGZyb20gJ0BnbGltbWVyL3JlZmVyZW5jZSc7XG5leHBvcnQgeyBpc0NvbnN0IH0gZnJvbSAnQGdsaW1tZXIvdmFsaWRhdG9yJztcbiJdLCJzb3VyY2VSb290IjoiIn0= |
import { PropertyReference } from './references/descriptors'; | ||
import RootReference from './references/root'; | ||
import { DictSet, dict } from '@glimmer/util'; | ||
import { DictSet, dict, symbol } from '@glimmer/util'; | ||
import { CURRENT_TAG } from '@glimmer/validator'; | ||
@@ -57,3 +57,3 @@ const NOOP_DESTROY = { destroy() {} }; | ||
} | ||
export const CLASS_META = 'df8be4c8-4e89-44e2-a8f9-550c8dacdca7'; | ||
export const CLASS_META = symbol('CLASS_META'); | ||
const hasOwnProperty = Object.hasOwnProperty; | ||
@@ -128,2 +128,2 @@ class Meta { | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvbGliL21ldGEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxpQkFBVCxRQUFrQywwQkFBbEM7QUFDQSxPQUFPLGFBQVAsTUFBMEIsbUJBQTFCO0FBR0EsU0FBaUIsT0FBakIsRUFBd0MsSUFBeEMsUUFBb0QsZUFBcEQ7QUFVQSxTQUFTLFdBQVQsUUFBNEIsb0JBQTVCO0FBS0EsTUFBTSxlQUFlLEVBQUUsVUFBTyxDQUFLLENBQWQsRUFBckI7QUFFQSxNQUFNLFNBQU4sQ0FBZTtBQUdiLGdCQUFvQixNQUFwQixFQUF5QyxRQUF6Q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uIE1ldGEuZm9yKG9iaik7XG59XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -5,5 +5,5 @@ export { ComputedReferenceBlueprint, PropertyReference } from './lib/references/descriptors'; | ||
export { default as ObjectReference } from './lib/references/path'; | ||
export { default as UpdatableReference, State } from './lib/references/root'; | ||
export { default as UpdatableRootReference, State } from './lib/references/root'; | ||
export { ConstReference } from '@glimmer/reference'; | ||
export { isConst } from '@glimmer/validator'; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BhY2thZ2VzL0BnbGltbWVyL29iamVjdC1yZWZlcmVuY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBQSwwQkFBQSxFQUFBLGlCQUFBLFFBQUEsOEJBQUE7QUFLQSxTQUFBLFVBQUEsRUFBcUIsV0FBckIsSUFBQSxFQUFBLE9BQUEsUUFBQSxZQUFBO0FBQ0EsU0FBQSxXQUFBLEVBQUEsY0FBQSxRQUFBLGNBQUE7QUFFQSxTQUFTLFdBQVQsZUFBQSxRQUFBLHVCQUFBO0FBQ0EsU0FBUyxXQUFULGtCQUFBLEVBQUEsS0FBQSxRQUFBLHVCQUFBO0FBQ0EsU0FBQSxjQUFBLFFBQUEsb0JBQUE7QUFDQSxTQUFBLE9BQUEsUUFBQSxvQkFBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7XG4gIENvbXB1dGVkUmVmZXJlbmNlQmx1ZXByaW50LFxuICBJbm5lclJlZmVyZW5jZUZhY3RvcnksXG4gIFByb3BlcnR5UmVmZXJlbmNlLFxufSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL2Rlc2NyaXB0b3JzJztcbmV4cG9ydCB7IENMQVNTX01FVEEsIGRlZmF1bHQgYXMgTWV0YSwgbWV0YUZvciB9IGZyb20gJy4vbGliL21ldGEnO1xuZXhwb3J0IHsgc2V0UHJvc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lZmVyZW5jZUZhY3RvcnksXG4gIFByb3BlcnR5UmVmZXJlbmNlLFxufSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL2Rlc2NyaXB0b3JzJztcbmV4cG9ydCB7IENMQVNTX01FVEEsIGRlZmF1bHQgYXMgTWV0YSwgbWV0YUZvciB9IGZyb20gJy4vbGliL21ldGEnO1xuZXhwb3J0IHsgc2V0UHJvcGVydHksIG5vdGlmeVByb3BlcnR5IH0gZnJvbSAnLi9saWIvb2JqZWN0JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3R5cGVzJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgT2JqZWN0UmVmZXJlbmNlIH0gZnJvbSAnLi9saWIvcmVmZXJlbmNlcy9wYXRoJztcbmV4cG9ydCB7IGRlZmF1bHQgYXMgVXBkYXRhYmxlUm9vdFJlZmVyZW5jZSwgU3RhdGUgfSBmcm9tICcuL2xpYi9yZWZlcmVuY2VzL3Jvb3QnO1xuZXhwb3J0IHsgQ29uc3RSZWZlcmVuY2UgfSBmcm9tICdAZ2xpbW1lci9yZWZlcmVuY2UnO1xuZXhwb3J0IHsgaXNDb25zdCB9IGZyb20gJ0BnbGltbWVyL3ZhbGlkYXRvcic7XG4iXSwic291cmNlUm9vdCI6IiJ9 |
@@ -5,3 +5,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
import RootReference from './references/root'; | ||
import { DictSet, dict } from '@glimmer/util'; | ||
import { DictSet, dict, symbol } from '@glimmer/util'; | ||
import { CURRENT_TAG } from '@glimmer/validator'; | ||
@@ -90,3 +90,3 @@ var NOOP_DESTROY = { | ||
export var CLASS_META = 'df8be4c8-4e89-44e2-a8f9-550c8dacdca7'; | ||
export var CLASS_META = symbol('CLASS_META'); | ||
var hasOwnProperty = Object.hasOwnProperty; | ||
@@ -181,2 +181,2 @@ | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZX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TtcbiAgfVxuXG4gIHJvb3QoKTogSVJvb3RSZWZlcmVuY2U8YW55PiB7XG4gICAgcmV0dXJuICh0aGlzLnJvb3RDYWNoZSA9IHRoaXMucm9vdENhY2hlIHx8IG5ldyB0aGlzLlJvb3RSZWZlcmVuY2VGYWN0b3J5KHRoaXMub2JqZWN0KSk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTWV0YTtcblxuaW50ZXJmYWNlIENsYXNzTWV0YSB7XG4gIEluc3RhbmNlTWV0YUNvbnN0cnVjdG9yOiB0eXBlb2YgTWV0YTtcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG1ldGFGb3Iob2JqOiBhbnkpOiBJTWV0YSB7XG4gIHJldHVybiBNZXRhLmZvcihvYmopO1xufVxuIl0sInNvdXJjZVJvb3QiOiIifQ== |
@@ -6,5 +6,5 @@ export { ComputedReferenceBlueprint, InnerReferenceFactory, PropertyReference, } from './lib/references/descriptors'; | ||
export { default as ObjectReference } from './lib/references/path'; | ||
export { default as UpdatableReference, State } from './lib/references/root'; | ||
export { default as UpdatableRootReference, State } from './lib/references/root'; | ||
export { ConstReference } from '@glimmer/reference'; | ||
export { isConst } from '@glimmer/validator'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,3 +7,3 @@ import { MetaOptions } from './types'; | ||
import { Dict } from '@glimmer/interfaces'; | ||
export declare const CLASS_META = "df8be4c8-4e89-44e2-a8f9-550c8dacdca7"; | ||
export declare const CLASS_META: unique symbol; | ||
declare class Meta implements IMeta, HasGuid { | ||
@@ -10,0 +10,0 @@ static for(obj: any): IMeta; |
{ | ||
"name": "@glimmer/object-reference", | ||
"version": "0.44.0", | ||
"version": "0.45.0", | ||
"description": "References for a Glimmer-compatible object model", | ||
@@ -8,5 +8,5 @@ "repository": "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/object-reference", | ||
"dependencies": { | ||
"@glimmer/util": "^0.44.0", | ||
"@glimmer/reference": "^0.44.0", | ||
"@glimmer/validator": "^0.44.0" | ||
"@glimmer/util": "^0.45.0", | ||
"@glimmer/reference": "^0.45.0", | ||
"@glimmer/validator": "^0.45.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "devDependencies": { |
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
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
231101
+ Added@glimmer/env@0.1.7(transitive)
+ Added@glimmer/reference@0.45.3(transitive)
+ Added@glimmer/util@0.45.3(transitive)
+ Added@glimmer/validator@0.45.3(transitive)
+ Added@simple-dom/interface@1.4.0(transitive)
- Removed@glimmer/reference@0.44.0(transitive)
- Removed@glimmer/util@0.44.0(transitive)
- Removed@glimmer/validator@0.44.0(transitive)
Updated@glimmer/reference@^0.45.0
Updated@glimmer/util@^0.45.0
Updated@glimmer/validator@^0.45.0