diff --git a/package.json b/package.json index daa46357ff2..6e50c372ab3 100644 --- a/package.json +++ b/package.json @@ -74,15 +74,15 @@ }, "devDependencies": { "@babel/preset-env": "^7.9.0", - "@glimmer/compiler": "^0.49.0", + "@glimmer/compiler": "^0.50.0", "@glimmer/env": "^0.1.7", - "@glimmer/interfaces": "^0.49.0", - "@glimmer/node": "^0.49.0", - "@glimmer/opcode-compiler": "^0.49.0", - "@glimmer/program": "^0.49.0", - "@glimmer/reference": "^0.49.0", - "@glimmer/runtime": "^0.49.0", - "@glimmer/validator": "^0.49.0", + "@glimmer/interfaces": "^0.50.0", + "@glimmer/node": "^0.50.0", + "@glimmer/opcode-compiler": "^0.50.0", + "@glimmer/program": "^0.50.0", + "@glimmer/reference": "^0.50.0", + "@glimmer/runtime": "^0.50.0", + "@glimmer/validator": "^0.50.0", "@simple-dom/document": "^1.4.0", "@types/qunit": "^2.5.4", "@types/rsvp": "^4.0.3", diff --git a/packages/@ember/-internals/glimmer/lib/component-managers/curly.ts b/packages/@ember/-internals/glimmer/lib/component-managers/curly.ts index f5312566164..67a2e480423 100644 --- a/packages/@ember/-internals/glimmer/lib/component-managers/curly.ts +++ b/packages/@ember/-internals/glimmer/lib/component-managers/curly.ts @@ -24,7 +24,7 @@ import { import { RootReference, VersionedPathReference } from '@glimmer/reference'; import { PrimitiveReference } from '@glimmer/runtime'; import { EMPTY_ARRAY, unwrapTemplate } from '@glimmer/util'; -import { combine, Tag, validate, value } from '@glimmer/validator'; +import { combine, Tag, validateTag, valueForTag } from '@glimmer/validator'; import { SimpleElement } from '@simple-dom/interface'; import { BOUNDS, DIRTY_TAG, HAS_BLOCK, IS_DISPATCHING_ATTRS } from '../component'; import { EmberVMEnvironment } from '../environment'; @@ -419,10 +419,10 @@ export default class CurlyComponentManager bucket.finalizer = _instrumentStart('render.component', rerenderInstrumentDetails, component); - if (args && !validate(args.tag, argsRevision)) { + if (args && !validateTag(args.tag, argsRevision)) { let props = processComponentArgs(args!); - bucket.argsRevision = value(args!.tag); + bucket.argsRevision = valueForTag(args!.tag); component[IS_DISPATCHING_ATTRS] = true; component.setProperties(props); diff --git a/packages/@ember/-internals/glimmer/lib/component-managers/custom.ts b/packages/@ember/-internals/glimmer/lib/component-managers/custom.ts index e6eb5c0d039..e1ee635f626 100644 --- a/packages/@ember/-internals/glimmer/lib/component-managers/custom.ts +++ b/packages/@ember/-internals/glimmer/lib/component-managers/custom.ts @@ -17,7 +17,7 @@ import { } from '@glimmer/interfaces'; import { ComponentRootReference, PathReference } from '@glimmer/reference'; import { unwrapTemplate } from '@glimmer/util'; -import { consume, createTag, isConst, Tag } from '@glimmer/validator'; +import { consumeTag, createTag, isConst, Tag } from '@glimmer/validator'; import { ENV } from '@ember/-internals/environment'; import { EmberVMEnvironment } from '../environment'; @@ -202,7 +202,7 @@ export default class CustomComponentManager get(_target, prop) { if (namedArgs.has(prop as string)) { let ref = namedArgs.get(prop as string); - consume(ref.tag); + consumeTag(ref.tag); return ref.value(); } else if (prop === CUSTOM_TAG_FOR) { @@ -257,7 +257,7 @@ export default class CustomComponentManager configurable: true, get() { let ref = namedArgs.get(name); - consume(ref.tag); + consumeTag(ref.tag); return ref.value(); }, diff --git a/packages/@ember/-internals/glimmer/lib/component.ts b/packages/@ember/-internals/glimmer/lib/component.ts index ca16516243d..c328a133e76 100644 --- a/packages/@ember/-internals/glimmer/lib/component.ts +++ b/packages/@ember/-internals/glimmer/lib/component.ts @@ -15,7 +15,7 @@ import { assert, deprecate } from '@ember/debug'; import { DEBUG } from '@glimmer/env'; import { UPDATE_REFERENCED_VALUE } from '@glimmer/reference'; import { normalizeProperty } from '@glimmer/runtime'; -import { createTag, dirty } from '@glimmer/validator'; +import { createTag, dirtyTag } from '@glimmer/validator'; import { Namespace } from '@simple-dom/interface'; export const DIRTY_TAG = symbol('DIRTY_TAG'); @@ -774,7 +774,7 @@ const Component = CoreView.extend( }, rerender() { - dirty(this[DIRTY_TAG]); + dirtyTag(this[DIRTY_TAG]); this._super(); }, diff --git a/packages/@ember/-internals/glimmer/lib/helper.ts b/packages/@ember/-internals/glimmer/lib/helper.ts index 8b85ba4eb11..210974b6eac 100644 --- a/packages/@ember/-internals/glimmer/lib/helper.ts +++ b/packages/@ember/-internals/glimmer/lib/helper.ts @@ -7,7 +7,7 @@ import { FrameworkObject, setFrameworkClass } from '@ember/-internals/runtime'; import { symbol } from '@ember/-internals/utils'; import { join } from '@ember/runloop'; import { Dict } from '@glimmer/interfaces'; -import { createTag, dirty } from '@glimmer/validator'; +import { createTag, dirtyTag } from '@glimmer/validator'; export const RECOMPUTE_TAG = symbol('RECOMPUTE_TAG'); @@ -122,7 +122,7 @@ let Helper = FrameworkObject.extend({ @since 1.13.0 */ recompute() { - join(() => dirty(this[RECOMPUTE_TAG])); + join(() => dirtyTag(this[RECOMPUTE_TAG])); }, /** diff --git a/packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts b/packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts index 26054743da6..19886ddb58b 100644 --- a/packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts +++ b/packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts @@ -4,7 +4,7 @@ import { tagForProperty } from '@ember/-internals/metal'; import { VMArguments } from '@glimmer/interfaces'; import { VersionedPathReference } from '@glimmer/reference'; -import { combine, createUpdatableTag, Tag, update } from '@glimmer/validator'; +import { combine, createUpdatableTag, Tag, updateTag } from '@glimmer/validator'; /** This reference is used to get the `[]` tag of iterables, so we can trigger @@ -24,7 +24,7 @@ class TrackArrayReference implements VersionedPathReference { let tag = tagForProperty(iterable, '[]'); - update(this.valueTag, tag); + updateTag(this.valueTag, tag); return iterable; } diff --git a/packages/@ember/-internals/glimmer/lib/helpers/each-in.ts b/packages/@ember/-internals/glimmer/lib/helpers/each-in.ts index a22e21133aa..9af103f4f62 100644 --- a/packages/@ember/-internals/glimmer/lib/helpers/each-in.ts +++ b/packages/@ember/-internals/glimmer/lib/helpers/each-in.ts @@ -6,7 +6,7 @@ import { _contentFor } from '@ember/-internals/runtime'; import { isProxy } from '@ember/-internals/utils'; import { VMArguments } from '@glimmer/interfaces'; import { VersionedPathReference } from '@glimmer/reference'; -import { combine, createUpdatableTag, Tag, update } from '@glimmer/validator'; +import { combine, createUpdatableTag, Tag, updateTag } from '@glimmer/validator'; /** The `{{#each}}` helper loops over elements in a collection. It is an extension @@ -173,7 +173,7 @@ class EachInReference implements VersionedPathReference { iterable = _contentFor(iterable); } - update(this.valueTag, tag); + updateTag(this.valueTag, tag); return new EachInWrapper(iterable); } diff --git a/packages/@ember/-internals/glimmer/lib/modifiers/custom.ts b/packages/@ember/-internals/glimmer/lib/modifiers/custom.ts index 000b43a2ec7..9aacfbc375a 100644 --- a/packages/@ember/-internals/glimmer/lib/modifiers/custom.ts +++ b/packages/@ember/-internals/glimmer/lib/modifiers/custom.ts @@ -10,7 +10,7 @@ import { Tag, track, untrack, - update, + updateTag, } from '@glimmer/validator'; import { SimpleElement } from '@simple-dom/interface'; import debugRenderMessage from '../utils/debug-render-message'; @@ -151,7 +151,7 @@ class InteractiveCustomModifierManager DEBUG && debugRenderMessage!(`(instance of a \`${getDebugName!(modifier)}\` modifier)`) ); - update(tag, combinedTrackingTag); + updateTag(tag, combinedTrackingTag); } } @@ -166,7 +166,7 @@ class InteractiveCustomModifierManager () => delegate.updateModifier(modifier, args.value()), DEBUG && debugRenderMessage!(`(instance of a \`${getDebugName!(modifier)}\` modifier)`) ); - update(tag, combinedTrackingTag); + updateTag(tag, combinedTrackingTag); } } diff --git a/packages/@ember/-internals/glimmer/lib/renderer.ts b/packages/@ember/-internals/glimmer/lib/renderer.ts index 67c7ab59173..cb68782d049 100644 --- a/packages/@ember/-internals/glimmer/lib/renderer.ts +++ b/packages/@ember/-internals/glimmer/lib/renderer.ts @@ -31,7 +31,12 @@ import { UNDEFINED_REFERENCE, } from '@glimmer/runtime'; import { unwrapHandle, unwrapTemplate } from '@glimmer/util'; -import { CURRENT_TAG, runInAutotrackingTransaction, validate, value } from '@glimmer/validator'; +import { + CURRENT_TAG, + runInAutotrackingTransaction, + validateTag, + valueForTag, +} from '@glimmer/validator'; import { SimpleDocument, SimpleElement, SimpleNode } from '@simple-dom/interface'; import RSVP from 'rsvp'; import CompileTimeResolver from './compile-time-lookup'; @@ -461,7 +466,7 @@ export abstract class Renderer { } } - this._lastRevision = value(CURRENT_TAG); + this._lastRevision = valueForTag(CURRENT_TAG); }); } while (roots.length > initialRootsLength); @@ -495,7 +500,7 @@ export abstract class Renderer { completedWithoutError = true; } finally { if (!completedWithoutError) { - this._lastRevision = value(CURRENT_TAG); + this._lastRevision = valueForTag(CURRENT_TAG); } this._inRenderTransaction = false; } @@ -523,7 +528,9 @@ export abstract class Renderer { } _isValid() { - return this._destroyed || this._roots.length === 0 || validate(CURRENT_TAG, this._lastRevision); + return ( + this._destroyed || this._roots.length === 0 || validateTag(CURRENT_TAG, this._lastRevision) + ); } _revalidate() { diff --git a/packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts b/packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts index 0197957f24f..937c6651573 100644 --- a/packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts +++ b/packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts @@ -1,7 +1,7 @@ import { clearElementView, clearViewElement, getViewElement } from '@ember/-internals/views'; import { CapturedNamedArguments } from '@glimmer/interfaces'; import { ComponentRootReference, VersionedReference } from '@glimmer/reference'; -import { Revision, value } from '@glimmer/validator'; +import { Revision, valueForTag } from '@glimmer/validator'; import { EmberVMEnvironment } from '../environment'; import { Renderer } from '../renderer'; import { Factory as TemplateFactory, OwnedTemplate } from '../template'; @@ -51,7 +51,7 @@ export default class ComponentStateBucket { public hasWrappedElement: boolean ) { this.classRef = null; - this.argsRevision = args === null ? 0 : value(args.tag); + this.argsRevision = args === null ? 0 : valueForTag(args.tag); this.rootRef = new ComponentRootReference(component, environment); } diff --git a/packages/@ember/-internals/glimmer/lib/utils/iterator.ts b/packages/@ember/-internals/glimmer/lib/utils/iterator.ts index 3c47c999284..765af517819 100644 --- a/packages/@ember/-internals/glimmer/lib/utils/iterator.ts +++ b/packages/@ember/-internals/glimmer/lib/utils/iterator.ts @@ -3,7 +3,7 @@ import { _contentFor } from '@ember/-internals/runtime'; import { EmberArray, HAS_NATIVE_SYMBOL, isEmberArray, isObject } from '@ember/-internals/utils'; import { Option } from '@glimmer/interfaces'; import { IteratorDelegate } from '@glimmer/reference'; -import { consume, isTracking } from '@glimmer/validator'; +import { consumeTag, isTracking } from '@glimmer/validator'; import { EachInWrapper } from '../helpers/each-in'; export default function toIterator(iterable: unknown): Option { @@ -131,10 +131,10 @@ class ObjectIterator extends BoundedIterator { // Add the tag of the returned value if it is an array, since arrays // should always cause updates if they are consumed and then changed if (isTracking()) { - consume(tagForProperty(obj, key)); + consumeTag(tagForProperty(obj, key)); if (Array.isArray(value) || isEmberArray(value)) { - consume(tagForProperty(value, '[]')); + consumeTag(tagForProperty(value, '[]')); } } diff --git a/packages/@ember/-internals/glimmer/lib/utils/outlet.ts b/packages/@ember/-internals/glimmer/lib/utils/outlet.ts index 079156bb984..7f705129da8 100644 --- a/packages/@ember/-internals/glimmer/lib/utils/outlet.ts +++ b/packages/@ember/-internals/glimmer/lib/utils/outlet.ts @@ -1,6 +1,6 @@ import { Owner } from '@ember/-internals/owner'; import { Reference, VersionedPathReference } from '@glimmer/reference'; -import { combine, createTag, dirty, Tag } from '@glimmer/validator'; +import { combine, createTag, dirtyTag, Tag } from '@glimmer/validator'; import { Factory as TemplateFactory, OwnedTemplate } from '../template'; export interface RenderState { @@ -82,7 +82,7 @@ export class RootOutletReference implements VersionedPathReference update(state: OutletState) { this.outletState.outlets.main = state; - dirty(this.tag); + dirtyTag(this.tag); } } diff --git a/packages/@ember/-internals/glimmer/lib/utils/references.ts b/packages/@ember/-internals/glimmer/lib/utils/references.ts index 0dd43c129a2..97892686435 100644 --- a/packages/@ember/-internals/glimmer/lib/utils/references.ts +++ b/packages/@ember/-internals/glimmer/lib/utils/references.ts @@ -4,7 +4,7 @@ import { DEBUG } from '@glimmer/env'; import { CapturedArguments, Environment } from '@glimmer/interfaces'; import { HelperRootReference, RootReference, VersionedPathReference } from '@glimmer/reference'; import { PrimitiveReference } from '@glimmer/runtime'; -import { consume, deprecateMutationsInAutotrackingTransaction } from '@glimmer/validator'; +import { consumeTag, deprecateMutationsInAutotrackingTransaction } from '@glimmer/validator'; import { HelperInstance, isSimpleHelper, RECOMPUTE_TAG, SimpleHelper } from '../helper'; export class EmberHelperRootReference extends HelperRootReference { @@ -33,7 +33,7 @@ export class EmberHelperRootReference extends HelperRootReference { observer.tag = combine(getChainTagsForKey(target, observer.path)); - observer.lastRevision = value(observer.tag); + observer.lastRevision = valueForTag(observer.tag); }); } if (SYNC_OBSERVERS.has(target)) { SYNC_OBSERVERS.get(target)!.forEach(observer => { observer.tag = combine(getChainTagsForKey(target, observer.path)); - observer.lastRevision = value(observer.tag); + observer.lastRevision = valueForTag(observer.tag); }); } } @@ -175,7 +175,7 @@ export function revalidateObservers(target: object) { let lastKnownRevision = 0; export function flushAsyncObservers(shouldSchedule = true) { - let currentRevision = value(CURRENT_TAG); + let currentRevision = valueForTag(CURRENT_TAG); if (lastKnownRevision === currentRevision) { return; } @@ -191,13 +191,13 @@ export function flushAsyncObservers(shouldSchedule = true) { } activeObservers.forEach((observer, eventName) => { - if (!validate(observer.tag, observer.lastRevision)) { + if (!validateTag(observer.tag, observer.lastRevision)) { let sendObserver = () => { try { sendEvent(target, eventName, [target, observer.path], undefined, meta); } finally { observer.tag = combine(getChainTagsForKey(target, observer.path)); - observer.lastRevision = value(observer.tag); + observer.lastRevision = valueForTag(observer.tag); } }; @@ -225,13 +225,13 @@ export function flushSyncObservers() { } activeObservers.forEach((observer, eventName) => { - if (!observer.suspended && !validate(observer.tag, observer.lastRevision)) { + if (!observer.suspended && !validateTag(observer.tag, observer.lastRevision)) { try { observer.suspended = true; sendEvent(target, eventName, [target, observer.path], undefined, meta); } finally { observer.tag = combine(getChainTagsForKey(target, observer.path)); - observer.lastRevision = value(observer.tag); + observer.lastRevision = valueForTag(observer.tag); observer.suspended = false; } } diff --git a/packages/@ember/-internals/metal/lib/property_get.ts b/packages/@ember/-internals/metal/lib/property_get.ts index 7f66249ff45..feb503394f9 100644 --- a/packages/@ember/-internals/metal/lib/property_get.ts +++ b/packages/@ember/-internals/metal/lib/property_get.ts @@ -5,7 +5,7 @@ import { HAS_NATIVE_PROXY, isEmberArray, isProxy, symbol } from '@ember/-interna import { assert } from '@ember/debug'; import { DEBUG } from '@glimmer/env'; import { - consume, + consumeTag, deprecateMutationsInAutotrackingTransaction, isTracking, } from '@glimmer/validator'; @@ -131,18 +131,18 @@ export function get(obj: object, keyName: string): any { } if (isObjectLike && isTracking()) { - consume(tagForProperty(obj, keyName)); + consumeTag(tagForProperty(obj, keyName)); // Add the tag of the returned value if it is an array, since arrays // should always cause updates if they are consumed and then changed if (Array.isArray(value) || isEmberArray(value)) { - consume(tagForProperty(value, '[]')); + consumeTag(tagForProperty(value, '[]')); } // Add the value of the content if the value is a proxy. This is because // content changes the truthiness/falsiness of the proxy. if (isProxy(value)) { - consume(tagForProperty(value, 'content')); + consumeTag(tagForProperty(value, 'content')); } } diff --git a/packages/@ember/-internals/metal/lib/tracked.ts b/packages/@ember/-internals/metal/lib/tracked.ts index 5af772db5de..8f415805486 100644 --- a/packages/@ember/-internals/metal/lib/tracked.ts +++ b/packages/@ember/-internals/metal/lib/tracked.ts @@ -1,7 +1,7 @@ import { isEmberArray } from '@ember/-internals/utils'; import { assert } from '@ember/debug'; import { DEBUG } from '@glimmer/env'; -import { consume, dirtyTagFor, trackedData } from '@glimmer/validator'; +import { consumeTag, dirtyTagFor, trackedData } from '@glimmer/validator'; import { Decorator, DecoratorPropertyDescriptor, isElementDescriptor } from './decorator'; import { setClassicDecorator } from './descriptor_map'; import { SELF_TAG, tagForProperty } from './tags'; @@ -160,7 +160,7 @@ function descriptorForField([_target, key, desc]: [ // Add the tag of the returned value if it is an array, since arrays // should always cause updates if they are consumed and then changed if (Array.isArray(value) || isEmberArray(value)) { - consume(tagForProperty(value, '[]')); + consumeTag(tagForProperty(value, '[]')); } return value; diff --git a/packages/@ember/-internals/metal/tests/alias_test.js b/packages/@ember/-internals/metal/tests/alias_test.js index 3484dc77563..f89531c25f4 100644 --- a/packages/@ember/-internals/metal/tests/alias_test.js +++ b/packages/@ember/-internals/metal/tests/alias_test.js @@ -11,7 +11,7 @@ import { } from '..'; import { Object as EmberObject } from '@ember/-internals/runtime'; import { moduleFor, AbstractTestCase, runLoopSettled } from 'internal-test-helpers'; -import { value, validate } from '@glimmer/validator'; +import { valueForTag, validateTag } from '@glimmer/validator'; let obj, count; @@ -122,10 +122,10 @@ moduleFor( get(obj, 'bar'); let tag = tagForProperty(obj, 'bar'); - let tagValue = value(tag); + let tagValue = valueForTag(tag); set(obj, 'foo.faz', 'BAR'); - assert.ok(!validate(tag, tagValue), 'setting the aliased key should dirty the object'); + assert.ok(!validateTag(tag, tagValue), 'setting the aliased key should dirty the object'); } ['@test setting alias on self should fail assertion']() { @@ -138,20 +138,20 @@ moduleFor( ['@test property tags are bumped when the source changes [GH#17243]'](assert) { function assertPropertyTagChanged(obj, keyName, callback) { let tag = tagForProperty(obj, keyName); - let before = value(tag); + let before = valueForTag(tag); callback(); - assert.notOk(validate(tag, before), `tagForProperty ${keyName} should change`); + assert.notOk(validateTag(tag, before), `tagForProperty ${keyName} should change`); } function assertPropertyTagUnchanged(obj, keyName, callback) { let tag = tagForProperty(obj, keyName); - let before = value(tag); + let before = valueForTag(tag); callback(); - assert.ok(validate(tag, before), `tagForProperty ${keyName} should not change`); + assert.ok(validateTag(tag, before), `tagForProperty ${keyName} should not change`); } defineProperty(obj, 'bar', alias('foo.faz')); diff --git a/packages/@ember/-internals/metal/tests/tracked/classic_classes_test.js b/packages/@ember/-internals/metal/tests/tracked/classic_classes_test.js index 90286c52401..550bf55d330 100644 --- a/packages/@ember/-internals/metal/tests/tracked/classic_classes_test.js +++ b/packages/@ember/-internals/metal/tests/tracked/classic_classes_test.js @@ -1,7 +1,7 @@ import { AbstractTestCase, moduleFor } from 'internal-test-helpers'; import { defineProperty, tracked, nativeDescDecorator } from '../..'; -import { track, value, validate } from '@glimmer/validator'; +import { track, valueForTag, validateTag } from '@glimmer/validator'; moduleFor( '@tracked decorator - classic classes', @@ -35,24 +35,24 @@ moduleFor( obj.last = 'Dale'; let tag = track(() => obj.full); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.equal(obj.full, 'Tom Dale', 'The full name starts correct'); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); - snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); obj.full = 'Melanie Sumner'; - assert.equal(validate(tag, snapshot), false); + assert.equal(validateTag(tag, snapshot), false); assert.equal(obj.full, 'Melanie Sumner'); assert.equal(obj.first, 'Melanie'); assert.equal(obj.last, 'Sumner'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } [`@test can pass a default value to the tracked decorator`](assert) { diff --git a/packages/@ember/-internals/metal/tests/tracked/validation_test.js b/packages/@ember/-internals/metal/tests/tracked/validation_test.js index 771db58b076..052f5c4ff14 100644 --- a/packages/@ember/-internals/metal/tests/tracked/validation_test.js +++ b/packages/@ember/-internals/metal/tests/tracked/validation_test.js @@ -10,7 +10,7 @@ import { import { EMBER_ARRAY } from '@ember/-internals/utils'; import { AbstractTestCase, moduleFor } from 'internal-test-helpers'; -import { track, value, validate } from '@glimmer/validator'; +import { track, valueForTag, validateTag } from '@glimmer/validator'; moduleFor( '@tracked get validation', @@ -26,22 +26,22 @@ moduleFor( let obj = new Tracked('Tom', 'Dale'); let tag = track(() => obj.first); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.equal(obj.first, 'Tom', 'The full name starts correct'); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); - snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); obj.first = 'Thomas'; - assert.equal(validate(tag, snapshot), false); + assert.equal(validateTag(tag, snapshot), false); assert.equal(obj.first, 'Thomas'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } [`@test autotracking should work with initializers`](assert) { @@ -53,13 +53,13 @@ moduleFor( let obj = new Tracked(); let tag = track(() => obj.first); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.equal(obj.first, 'first: second', 'The value initializes correctly'); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); - snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); obj.second = '2nd'; @@ -67,18 +67,18 @@ moduleFor( // assert.equal(validate(tag, snapshot), true); assert.equal(obj.first, 'first: second', 'The value stays the same once initialized'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); obj.first = 'FIRST!!!'; - assert.equal(validate(tag, snapshot), false); + assert.equal(validateTag(tag, snapshot), false); assert.equal(obj.first, 'FIRST!!!'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } [`@test autotracking should work with native getters`](assert) { @@ -98,22 +98,22 @@ moduleFor( let obj = new Tracked('Tom', 'Dale'); let tag = track(() => obj.full); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.equal(obj.full, 'Tom Dale', 'The full name starts correct'); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); - snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); obj.first = 'Thomas'; - assert.equal(validate(tag, snapshot), false); + assert.equal(validateTag(tag, snapshot), false); assert.equal(obj.full, 'Thomas Dale'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } [`@test autotracking should work with native setters`](assert) { @@ -140,24 +140,24 @@ moduleFor( let obj = new Tracked('Tom', 'Dale'); let tag = track(() => obj.full); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.equal(obj.full, 'Tom Dale', 'The full name starts correct'); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); - snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); obj.full = 'Melanie Sumner'; - assert.equal(validate(tag, snapshot), false); + assert.equal(validateTag(tag, snapshot), false); assert.equal(obj.full, 'Melanie Sumner'); assert.equal(obj.first, 'Melanie'); assert.equal(obj.last, 'Sumner'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } [`@test interaction with Ember object model (tracked property depending on Ember property)`]( @@ -180,25 +180,25 @@ moduleFor( let tag = track(() => obj.full); assert.equal(obj.full, 'Tom Dale'); - let snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + let snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); set(tom, 'first', 'Thomas'); - assert.equal(validate(tag, snapshot), false, 'invalid after setting with Ember set'); + assert.equal(validateTag(tag, snapshot), false, 'invalid after setting with Ember set'); assert.equal(obj.full, 'Thomas Dale'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); set(obj, 'name', { first: 'Ricardo', last: 'Mendes' }); - assert.equal(validate(tag, snapshot), false, 'invalid after setting with Ember set'); + assert.equal(validateTag(tag, snapshot), false, 'invalid after setting with Ember set'); assert.equal(obj.full, 'Ricardo Mendes'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } [`@test interaction with Ember object model (Ember computed property depending on tracked property)`]( @@ -236,16 +236,20 @@ moduleFor( let full = get(obj, 'full'); assert.equal(full, 'Tom Dale'); - let snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + let snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); tom.first = 'Thomas'; - assert.equal(validate(tag, snapshot), false, 'invalid after setting with tracked properties'); + assert.equal( + validateTag(tag, snapshot), + false, + 'invalid after setting with tracked properties' + ); assert.equal(get(obj, 'full'), 'Thomas Dale'); - snapshot = value(tag); + snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); } ['@test interaction with the Ember object model (paths going through tracked properties)']( @@ -293,23 +297,23 @@ moduleFor( let full = get(obj, 'full'); assert.equal(full, 'Tom Dale'); - let snapshot = value(tag); - assert.equal(validate(tag, snapshot), true); + let snapshot = valueForTag(tag); + assert.equal(validateTag(tag, snapshot), true); set(tom, 'first', 'Thomas'); - assert.equal(validate(tag, snapshot), false, 'invalid after setting with Ember.set'); + assert.equal(validateTag(tag, snapshot), false, 'invalid after setting with Ember.set'); assert.equal(get(obj, 'full'), 'Thomas Dale'); - snapshot = value(tag); + snapshot = valueForTag(tag); tom = contact.name = new EmberName('T', 'Dale'); - assert.equal(validate(tag, snapshot), false, 'invalid after setting with Ember.set'); + assert.equal(validateTag(tag, snapshot), false, 'invalid after setting with Ember.set'); assert.equal(get(obj, 'full'), 'T Dale'); - snapshot = value(tag); + snapshot = valueForTag(tag); set(tom, 'first', 'Tizzle'); - assert.equal(validate(tag, snapshot), false, 'invalid after setting with Ember.set'); + assert.equal(validateTag(tag, snapshot), false, 'invalid after setting with Ember.set'); assert.equal(get(obj, 'full'), 'Tizzle Dale'); } @@ -323,15 +327,15 @@ moduleFor( let array; let tag = track(() => (array = get(obj, 'array'))); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.deepEqual(array, []); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); array.push(1); notifyPropertyChange(array, '[]'); assert.equal( - validate(tag, snapshot), + validateTag(tag, snapshot), false, 'invalid after pushing an object and notifying on the array' ); @@ -346,15 +350,15 @@ moduleFor( let array; let tag = track(() => (array = obj.array)); - let snapshot = value(tag); + let snapshot = valueForTag(tag); assert.deepEqual(array, []); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); array.push(1); notifyPropertyChange(array, '[]'); assert.equal( - validate(tag, snapshot), + validateTag(tag, snapshot), false, 'invalid after pushing an object and notifying on the array' ); @@ -371,13 +375,13 @@ moduleFor( let emberArray; let tag = track(() => (emberArray = get(obj, 'emberArray'))); - let snapshot = value(tag); + let snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); notifyPropertyChange(emberArray, '[]'); assert.equal( - validate(tag, snapshot), + validateTag(tag, snapshot), false, 'invalid after setting a property on the object' ); @@ -394,13 +398,13 @@ moduleFor( let emberArray; let tag = track(() => (emberArray = obj.emberArray)); - let snapshot = value(tag); + let snapshot = valueForTag(tag); - assert.equal(validate(tag, snapshot), true); + assert.equal(validateTag(tag, snapshot), true); notifyPropertyChange(emberArray, '[]'); assert.equal( - validate(tag, snapshot), + validateTag(tag, snapshot), false, 'invalid after setting a property on the object' ); diff --git a/packages/@ember/-internals/runtime/lib/mixins/-proxy.js b/packages/@ember/-internals/runtime/lib/mixins/-proxy.js index cc28d06aebe..113bc83f5f7 100644 --- a/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +++ b/packages/@ember/-internals/runtime/lib/mixins/-proxy.js @@ -16,11 +16,11 @@ import { import { setProxy, setupMandatorySetter } from '@ember/-internals/utils'; import { assert } from '@ember/debug'; import { DEBUG } from '@glimmer/env'; -import { combine, update, tagFor } from '@glimmer/validator'; +import { combine, updateTag, tagFor } from '@glimmer/validator'; export function contentFor(proxy) { let content = get(proxy, 'content'); - update(tagForObject(proxy), tagForObject(content)); + updateTag(tagForObject(proxy), tagForObject(content)); return content; } diff --git a/packages/@ember/-internals/runtime/lib/system/array_proxy.js b/packages/@ember/-internals/runtime/lib/system/array_proxy.js index 02df7b1206d..11c666f47fc 100644 --- a/packages/@ember/-internals/runtime/lib/system/array_proxy.js +++ b/packages/@ember/-internals/runtime/lib/system/array_proxy.js @@ -17,7 +17,7 @@ import { import EmberObject from './object'; import { isArray, MutableArray } from '../mixins/array'; import { assert } from '@ember/debug'; -import { combine, validate, value, tagFor } from '@glimmer/validator'; +import { combine, validateTag, valueForTag, tagFor } from '@glimmer/validator'; const ARRAY_OBSERVER_MAPPING = { willChange: '_arrangedContentArrayWillChange', @@ -306,7 +306,7 @@ export default class ArrayProxy extends EmberObject { if ( this._arrangedContentTag === null || - !validate(this._arrangedContentTag, this._arrangedContentRevision) + !validateTag(this._arrangedContentTag, this._arrangedContentRevision) ) { if (this._arrangedContentTag === null) { // This is the first time the proxy has been setup, only add the observer @@ -319,7 +319,7 @@ export default class ArrayProxy extends EmberObject { } this._arrangedContentTag = combine(getChainTagsForKey(this, 'arrangedContent')); - this._arrangedContentRevision = value(this._arrangedContentTag); + this._arrangedContentRevision = valueForTag(this._arrangedContentTag); } } } diff --git a/packages/@ember/object/compat.ts b/packages/@ember/object/compat.ts index 68399170b10..ff987096979 100644 --- a/packages/@ember/object/compat.ts +++ b/packages/@ember/object/compat.ts @@ -7,7 +7,7 @@ import { tagForProperty, } from '@ember/-internals/metal'; import { assert } from '@ember/debug'; -import { consume, track, UpdatableTag, update } from '@glimmer/validator'; +import { consumeTag, track, UpdatableTag, updateTag } from '@glimmer/validator'; let wrapGetterSetter = function(_target: object, key: string, desc: PropertyDescriptor) { let { get: originalGet } = desc; @@ -21,8 +21,8 @@ let wrapGetterSetter = function(_target: object, key: string, desc: PropertyDesc ret = originalGet!.call(this); }); - update(propertyTag, tag); - consume(tag); + updateTag(propertyTag, tag); + consumeTag(tag); return ret; }; diff --git a/yarn.lock b/yarn.lock index 05f0766b102..83a7a4a5db3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -847,142 +847,142 @@ resolved "https://registry.yarnpkg.com/@ember/edition-utils/-/edition-utils-1.2.0.tgz#a039f542dc14c8e8299c81cd5abba95e2459cfa6" integrity sha512-VmVq/8saCaPdesQmftPqbFtxJWrzxNGSQ+e8x8LLe3Hjm36pJ04Q8LeORGZkAeOhldoUX9seLGmSaHeXkIqoog== -"@glimmer/compiler@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/compiler/-/compiler-0.49.0.tgz#5011b7513004624de4963200d49a5cb97f282648" - integrity sha512-I0vV1fxYkziXfgxi4lDrntIebszgkG25Jes/zyOss8LHRjwZEnCWC+x4pAjfzADq/INSUm6vLzWB2mnnHu61wA== - dependencies: - "@glimmer/interfaces" "^0.49.0" - "@glimmer/syntax" "^0.49.0" - "@glimmer/util" "^0.49.0" - "@glimmer/wire-format" "^0.49.0" +"@glimmer/compiler@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/compiler/-/compiler-0.50.0.tgz#ace8e05fa1b768b73571ad945dbbfab4178793de" + integrity sha512-jhruI6Y2hmchiPE0olCRhTY5HMZVe1Mm3V2tZh8Vatq1s74/uvUu8XaaK87Ij3eBNFVTAa7KhrTtkuEA85J5nw== + dependencies: + "@glimmer/interfaces" "^0.50.0" + "@glimmer/syntax" "^0.50.0" + "@glimmer/util" "^0.50.0" + "@glimmer/wire-format" "^0.50.0" "@simple-dom/interface" "^1.4.0" -"@glimmer/encoder@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/encoder/-/encoder-0.49.0.tgz#554ab3d991d6d1dcd10bc32b8d85a241977c9978" - integrity sha512-o30ZIMs29Kzyte0oP/33fb3KEyTV3e11ulMMDr88s+s8ik+dlo8pfNuu7GBvJqhxxLICViE78FbbWZhRfDo1Rg== +"@glimmer/encoder@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/encoder/-/encoder-0.50.0.tgz#96c1b52928f8b97aadb52c66158a3577ed883e45" + integrity sha512-rcoh/zlbsRDhHjWb1gWNIpjfrV44gI9Na0ktCscPhifZGnyNbkRtFB1ybRZRywStshmTcFHytC3l4StM60XQtg== dependencies: - "@glimmer/interfaces" "^0.49.0" - "@glimmer/vm" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/vm" "^0.50.0" "@glimmer/env@0.1.7", "@glimmer/env@^0.1.7": version "0.1.7" resolved "https://registry.yarnpkg.com/@glimmer/env/-/env-0.1.7.tgz#fd2d2b55a9029c6b37a6c935e8c8871ae70dfa07" integrity sha1-/S0rVakCnGs3psk16MiHGucN+gc= -"@glimmer/interfaces@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.49.0.tgz#230c05162dd46b49c392628627a2b67c2acffb45" - integrity sha512-WNVoB9ypa16vqrWeNFrpENPo8GuiE/TmJ4RSdHLqNwz85JFftIjBSiNYaFlPteoWZOB2RjButiJqncil+VSMiA== +"@glimmer/interfaces@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.0.tgz#ad556592ecccd44afb5bbd08906734d63a178d02" + integrity sha512-z62FdxACLmIiAaM9sx34kTVGnip4OaKcUHbrtRhKR54o3XdR/wyJ4iibIRqGR8xLPz2XbOoyarDQ1QmYJBU8Mg== dependencies: "@simple-dom/interface" "^1.4.0" -"@glimmer/low-level@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/low-level/-/low-level-0.49.0.tgz#c99942263e04ef5a9502d2ce6755b91b7e3cf5d8" - integrity sha512-X6vyNTCATJrQM4g0IEmDNdYlhl49/efbITlvPwkDWiPAbDsH3eYgROcUyE2z4kJIa9PKVvMNXp2eRr/Io0O2hQ== +"@glimmer/low-level@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/low-level/-/low-level-0.50.0.tgz#e013e0cd3c6a223499f59699e7d809136379bb41" + integrity sha512-PwCeYk61UUl6ZfGBg7X4qXc3NqezTHbytsZbdsnZCMQvsnzeuQMUUQKof4a0bY5tVlA7LdpgAnt6lajw2Hj6aw== -"@glimmer/node@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/node/-/node-0.49.0.tgz#e1a24e700406e54a65fe6ef3b68a166573249c32" - integrity sha512-xGPOs78D4wucSjqWZiSX3u8cR72BpEwOimYkdIuMbQeLZunl/9UXxNmutVpdOPVjhLnKcY/q91Gye7k6OcMkww== +"@glimmer/node@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/node/-/node-0.50.0.tgz#e9eccf3f79066f0f19b1aa8ac6711f1ed44dc2f9" + integrity sha512-HaVxd971efNEDa5FTG1HNdEjVBMdJ8WgOQB4x3CSZXBNuBRSAfD7pbPn71AlCFSHaZNdnfhSI82yt7qOrl858Q== dependencies: - "@glimmer/interfaces" "^0.49.0" - "@glimmer/runtime" "^0.49.0" - "@glimmer/util" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/runtime" "^0.50.0" + "@glimmer/util" "^0.50.0" "@simple-dom/document" "^1.4.0" "@simple-dom/interface" "^1.4.0" -"@glimmer/opcode-compiler@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/opcode-compiler/-/opcode-compiler-0.49.0.tgz#f6189d22fcf174d6695d4a9f626dd97d1bb31abb" - integrity sha512-gch4QGKu1CAXu6BrOvrH3UMjTuAWIqU5856KNQW4256y7FXOzVCk2p4ZLlmfrq7d43Pto/jv+rpCgdxfaX4E1A== - dependencies: - "@glimmer/encoder" "^0.49.0" - "@glimmer/interfaces" "^0.49.0" - "@glimmer/program" "^0.49.0" - "@glimmer/reference" "^0.49.0" - "@glimmer/util" "^0.49.0" - "@glimmer/vm" "^0.49.0" - "@glimmer/wire-format" "^0.49.0" - -"@glimmer/program@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/program/-/program-0.49.0.tgz#f452b7bd108e3972b6c6d7c6e63cc22144d706c0" - integrity sha512-OfogyOAQJOS+TDDnYYzBmMaWfAqFwue45GM4t/RbJ1OUNs4hnobMZUryxqHRnBKUU60jIQJ7qXroCnBeGIrBjA== - dependencies: - "@glimmer/encoder" "^0.49.0" - "@glimmer/interfaces" "^0.49.0" - "@glimmer/util" "^0.49.0" - -"@glimmer/reference@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/reference/-/reference-0.49.0.tgz#3a2cc3497bd1f97bde710c9558a379415e5371ff" - integrity sha512-ml9Lz7yJtVyrT3fgw6d8NMHZ92SutvM7+CkLu3A4ImKEz7MKBa+F8BIHYypcxXqY6bKf2FbqtbeflPcN7MJ6bQ== +"@glimmer/opcode-compiler@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/opcode-compiler/-/opcode-compiler-0.50.0.tgz#a9af840b957721e14792596d9605a1df536823ad" + integrity sha512-26qfK5kMzVkRaaQdlEgR41YburJz5DTWsVI7g2pyqMm2GKPMMGhs17URqkDAhZqL4KNr7H1NCJQgtl394/oJxg== + dependencies: + "@glimmer/encoder" "^0.50.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/program" "^0.50.0" + "@glimmer/reference" "^0.50.0" + "@glimmer/util" "^0.50.0" + "@glimmer/vm" "^0.50.0" + "@glimmer/wire-format" "^0.50.0" + +"@glimmer/program@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/program/-/program-0.50.0.tgz#751ffbf3af988ea51f0f38088f26de2eef072a14" + integrity sha512-XH6MjptzCwBwTjfNRaWmJhTNfDBYzc+11mLsIZQFbtrJaaPKRBXFcc6w/FwUihppt4wPwwF/vsvC/8t4yz5VRA== + dependencies: + "@glimmer/encoder" "^0.50.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/util" "^0.50.0" + +"@glimmer/reference@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/reference/-/reference-0.50.0.tgz#700aa689d488865c4431811ed8d04bc445c70a75" + integrity sha512-h4ckpgY+LIagoQYAXPuF0HhFR6Sb1F23zJALqSq9VwuqIVzbGf7i29JnCsS1XeXKj/sFkvitzpaFjbJQnbQtRg== dependencies: "@glimmer/env" "^0.1.7" - "@glimmer/interfaces" "^0.49.0" - "@glimmer/util" "^0.49.0" - "@glimmer/validator" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/util" "^0.50.0" + "@glimmer/validator" "^0.50.0" -"@glimmer/runtime@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/runtime/-/runtime-0.49.0.tgz#b9b1e6c663c0ffa3be3090bd3966af4d5147fb60" - integrity sha512-0sItXUveea3Pe8Q/TdykBCwsnGFyrQFgjnAF9koQui4blBaSsX6kGRQkv1U0bomqJvGpw9cuIAXVzfog0RWOBQ== +"@glimmer/runtime@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/runtime/-/runtime-0.50.0.tgz#a42cea89092eee4d01db73aefbfbcf9ec269b299" + integrity sha512-gx6tR4129k/6i6lZuohV7hXMXNnwYARnkBLYyoMgfJQK+xRZu8OyfNkj7LeD1pcP1ZkTXbaGx58BNjvFyaj2kg== dependencies: "@glimmer/env" "0.1.7" - "@glimmer/interfaces" "^0.49.0" - "@glimmer/low-level" "^0.49.0" - "@glimmer/program" "^0.49.0" - "@glimmer/reference" "^0.49.0" - "@glimmer/util" "^0.49.0" - "@glimmer/validator" "^0.49.0" - "@glimmer/vm" "^0.49.0" - "@glimmer/wire-format" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/low-level" "^0.50.0" + "@glimmer/program" "^0.50.0" + "@glimmer/reference" "^0.50.0" + "@glimmer/util" "^0.50.0" + "@glimmer/validator" "^0.50.0" + "@glimmer/vm" "^0.50.0" + "@glimmer/wire-format" "^0.50.0" "@simple-dom/interface" "^1.4.0" -"@glimmer/syntax@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.49.0.tgz#bf47429de4823a0bdb5e3e5f817a2074271c1e2d" - integrity sha512-j6rNMM7eHIZYzaBVwBWsrtrUV4LlbzYWoslUEulVAW2P8Zw09sI+RJq3Ep1VTph4oGxLQcYyLnOnJvWwEnvRgw== +"@glimmer/syntax@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.0.tgz#a56eac20972e3fc60f55b39112d1e113b55f0652" + integrity sha512-T04MubWW8fkc54Dg9py6Y/PaWI+o0CDK+LVj0z9oIiTO+ehEmntUpIcuuVDpAB+/5GCqEOZhuxq/agnm5m6EIw== dependencies: - "@glimmer/interfaces" "^0.49.0" - "@glimmer/util" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/util" "^0.50.0" handlebars "^4.5.1" simple-html-tokenizer "^0.5.9" -"@glimmer/util@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.49.0.tgz#0b2a1c4584acc6ad51caa83e6754d9778b62ec83" - integrity sha512-VN5/gz0vHxkGm9jASs4Eb6uk6Kzb8xaY95l5beHcQMEpeqyfz+9llA4sxqO6Nh/kLdFYcLbkDWwlnl1SUVrxBg== +"@glimmer/util@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.0.tgz#cdb930f822a59083a52cbac6aa0dd7b514428448" + integrity sha512-mzSyXtd/cMOgISODsWbaUrx97gbo8sNqQ7+l+7hZrlWjltoaSjsV7rGn+Oc8V7Du76XBS8Ctu/EqfcOeJS8YBA== dependencies: "@glimmer/env" "0.1.7" - "@glimmer/interfaces" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" "@simple-dom/interface" "^1.4.0" -"@glimmer/validator@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/validator/-/validator-0.49.0.tgz#68e773d83ac241e05a328a66c8ccc00c941fc386" - integrity sha512-aB7UURQaSy7pY3vWAwQQe5R30sGJLBzz5FZqoUbmhBXt5dKlzxBxizRuRb3ZWsieBJOXdi0qk1oDkFNAJfqRiQ== +"@glimmer/validator@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/validator/-/validator-0.50.0.tgz#3c099785c778f2feb827773569cbe809e0898acd" + integrity sha512-BkKtbWOMT4kw7q8GNfGRY6+sxxF+NNva6L149apf1BUKVRC94rnTFamLyvetsoqzZhR9HWleg0S8Cyrs+7wruQ== dependencies: "@glimmer/env" "^0.1.7" -"@glimmer/vm@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/vm/-/vm-0.49.0.tgz#5f10b0af59d973eb355422e7257d76790a76b640" - integrity sha512-v4yU8PiIYGvStkEhxu2+B9CKP3/rWWDtC6DMmBcuKnhsd23m8y9F9CjKlB3P21b26N+hFbFsLRUWZym+4iaTLQ== +"@glimmer/vm@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/vm/-/vm-0.50.0.tgz#2867b08aabc9f839847eefacc5d0aa075fe490ed" + integrity sha512-LJXunrLa9rxECItuAuXeFuN795CvHQcpPB/rncDiiguv5m/sLG617Dz0VQ+TRuj1HNdPoSyiKY2/lBL+5uAPig== dependencies: - "@glimmer/interfaces" "^0.49.0" - "@glimmer/util" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/util" "^0.50.0" -"@glimmer/wire-format@^0.49.0": - version "0.49.0" - resolved "https://registry.yarnpkg.com/@glimmer/wire-format/-/wire-format-0.49.0.tgz#a879939688c32d95ed1eefa58d4c54f574064820" - integrity sha512-Q1BuBYbHF7pTavj/3V2gAPgw1VU5Z/A+UUq9kI2Een+/mGEyMZcCAGcMUyCDxPut8VziCpyNvGe4yhSlJ414Og== +"@glimmer/wire-format@^0.50.0": + version "0.50.0" + resolved "https://registry.yarnpkg.com/@glimmer/wire-format/-/wire-format-0.50.0.tgz#ee39d34abca91903c58d161b5b710e01696fea9f" + integrity sha512-omvQ2/I0SkAbl584RdmZMLZLeTZz5Pd0m/Ce9x2JQLpG2gR62UIJo+IfL0RgtTMeNYYnEhddYBM/bNRFZ1fcUw== dependencies: - "@glimmer/interfaces" "^0.49.0" - "@glimmer/util" "^0.49.0" + "@glimmer/interfaces" "^0.50.0" + "@glimmer/util" "^0.50.0" "@simple-dom/document@^1.4.0": version "1.4.0"