@glimmer/validator
Advanced tools
Comparing version 0.94.4 to 0.94.5
@@ -1,59 +0,4 @@ | ||
declare const TYPE$1: unique symbol; | ||
type TagTypeSymbol = typeof TYPE$1; | ||
import { Tag, UpdatableTag, ConstantTag, MonomorphicTagId, TagTypeSymbol, TagComputeSymbol, DirtyableTag } from '@glimmer/interfaces'; | ||
export { CombinatorTag, ConstantTag, DirtyableTag, Tag, UpdatableTag } from '@glimmer/interfaces'; | ||
declare const COMPUTE$1: unique symbol; | ||
type TagComputeSymbol = typeof COMPUTE$1; | ||
type DIRTYABLE_TAG_ID = 0; | ||
type UPDATABLE_TAG_ID = 1; | ||
type COMBINATOR_TAG_ID = 2; | ||
type CONSTANT_TAG_ID = 3; | ||
/** | ||
* This union represents all of the possible tag types for the monomorphic tag class. | ||
* Other custom tag classes can exist, such as CurrentTag and VolatileTag, but for | ||
* performance reasons, any type of tag that is meant to be used frequently should | ||
* be added to the monomorphic tag. | ||
*/ | ||
type MonomorphicTagId = | ||
| DIRTYABLE_TAG_ID | ||
| UPDATABLE_TAG_ID | ||
| COMBINATOR_TAG_ID | ||
| CONSTANT_TAG_ID; | ||
type VOLATILE_TAG_ID = 100; | ||
type CURRENT_TAG_ID = 101; | ||
type PolymorphicTagId = VOLATILE_TAG_ID | CURRENT_TAG_ID; | ||
type TagId = MonomorphicTagId | PolymorphicTagId; | ||
type Revision$1 = number; | ||
interface Tag { | ||
readonly [TYPE$1]: TagId; | ||
readonly subtag?: Tag | Tag[] | null | undefined; | ||
[COMPUTE$1](): Revision$1; | ||
} | ||
interface MonomorphicTag extends Tag { | ||
readonly [TYPE$1]: MonomorphicTagId; | ||
} | ||
interface UpdatableTag extends MonomorphicTag { | ||
readonly [TYPE$1]: UPDATABLE_TAG_ID; | ||
} | ||
interface DirtyableTag extends MonomorphicTag { | ||
readonly [TYPE$1]: DIRTYABLE_TAG_ID; | ||
} | ||
interface ConstantTag extends MonomorphicTag { | ||
readonly [TYPE$1]: CONSTANT_TAG_ID; | ||
} | ||
interface CombinatorTag extends MonomorphicTag { | ||
readonly [TYPE$1]: COMBINATOR_TAG_ID; | ||
} | ||
interface DebugTransaction { | ||
@@ -166,2 +111,2 @@ beginTrackingTransaction?: undefined | ((debuggingContext?: string | false, deprecate?: boolean) => void); | ||
export { ALLOW_CYCLES, COMPUTE, CONSTANT, CONSTANT_TAG, CURRENT_TAG, type Cache, type CombinatorTag, type ConstantTag, CurrentTag, type DirtyableTag, INITIAL, type Revision, type Tag, type TagMeta, type UpdatableTag, VOLATILE, VOLATILE_TAG, VolatileTag, beginTrackFrame, beginUntrackFrame, bump, combine, consumeTag, createCache, createTag, createUpdatableTag, debug, DIRTY_TAG as dirtyTag, dirtyTagFor, endTrackFrame, endUntrackFrame, getValue, isConst, isConstTag, isTracking, resetTracking, tagFor, tagMetaFor, track, trackedData, untrack, UPDATE_TAG as updateTag, validateTag, valueForTag }; | ||
export { ALLOW_CYCLES, COMPUTE, CONSTANT, CONSTANT_TAG, CURRENT_TAG, type Cache, CurrentTag, INITIAL, type Revision, type TagMeta, VOLATILE, VOLATILE_TAG, VolatileTag, beginTrackFrame, beginUntrackFrame, bump, combine, consumeTag, createCache, createTag, createUpdatableTag, debug, DIRTY_TAG as dirtyTag, dirtyTagFor, endTrackFrame, endUntrackFrame, getValue, isConst, isConstTag, isTracking, resetTracking, tagFor, tagMetaFor, track, trackedData, untrack, UPDATE_TAG as updateTag, validateTag, valueForTag }; |
@@ -1,59 +0,4 @@ | ||
declare const TYPE$1: unique symbol; | ||
type TagTypeSymbol = typeof TYPE$1; | ||
import { Tag, UpdatableTag, ConstantTag, MonomorphicTagId, TagTypeSymbol, TagComputeSymbol, DirtyableTag } from '@glimmer/interfaces'; | ||
export { CombinatorTag, ConstantTag, DirtyableTag, Tag, UpdatableTag } from '@glimmer/interfaces'; | ||
declare const COMPUTE$1: unique symbol; | ||
type TagComputeSymbol = typeof COMPUTE$1; | ||
type DIRTYABLE_TAG_ID = 0; | ||
type UPDATABLE_TAG_ID = 1; | ||
type COMBINATOR_TAG_ID = 2; | ||
type CONSTANT_TAG_ID = 3; | ||
/** | ||
* This union represents all of the possible tag types for the monomorphic tag class. | ||
* Other custom tag classes can exist, such as CurrentTag and VolatileTag, but for | ||
* performance reasons, any type of tag that is meant to be used frequently should | ||
* be added to the monomorphic tag. | ||
*/ | ||
type MonomorphicTagId = | ||
| DIRTYABLE_TAG_ID | ||
| UPDATABLE_TAG_ID | ||
| COMBINATOR_TAG_ID | ||
| CONSTANT_TAG_ID; | ||
type VOLATILE_TAG_ID = 100; | ||
type CURRENT_TAG_ID = 101; | ||
type PolymorphicTagId = VOLATILE_TAG_ID | CURRENT_TAG_ID; | ||
type TagId = MonomorphicTagId | PolymorphicTagId; | ||
type Revision$1 = number; | ||
interface Tag { | ||
readonly [TYPE$1]: TagId; | ||
readonly subtag?: Tag | Tag[] | null | undefined; | ||
[COMPUTE$1](): Revision$1; | ||
} | ||
interface MonomorphicTag extends Tag { | ||
readonly [TYPE$1]: MonomorphicTagId; | ||
} | ||
interface UpdatableTag extends MonomorphicTag { | ||
readonly [TYPE$1]: UPDATABLE_TAG_ID; | ||
} | ||
interface DirtyableTag extends MonomorphicTag { | ||
readonly [TYPE$1]: DIRTYABLE_TAG_ID; | ||
} | ||
interface ConstantTag extends MonomorphicTag { | ||
readonly [TYPE$1]: CONSTANT_TAG_ID; | ||
} | ||
interface CombinatorTag extends MonomorphicTag { | ||
readonly [TYPE$1]: COMBINATOR_TAG_ID; | ||
} | ||
interface DebugTransaction { | ||
@@ -166,2 +111,2 @@ beginTrackingTransaction?: undefined | ((debuggingContext?: string | false, deprecate?: boolean) => void); | ||
export { ALLOW_CYCLES, COMPUTE, CONSTANT, CONSTANT_TAG, CURRENT_TAG, type Cache, type CombinatorTag, type ConstantTag, CurrentTag, type DirtyableTag, INITIAL, type Revision, type Tag, type TagMeta, type UpdatableTag, VOLATILE, VOLATILE_TAG, VolatileTag, beginTrackFrame, beginUntrackFrame, bump, combine, consumeTag, createCache, createTag, createUpdatableTag, debug, DIRTY_TAG as dirtyTag, dirtyTagFor, endTrackFrame, endUntrackFrame, getValue, isConst, isConstTag, isTracking, resetTracking, tagFor, tagMetaFor, track, trackedData, untrack, UPDATE_TAG as updateTag, validateTag, valueForTag }; | ||
export { ALLOW_CYCLES, COMPUTE, CONSTANT, CONSTANT_TAG, CURRENT_TAG, type Cache, CurrentTag, INITIAL, type Revision, type TagMeta, VOLATILE, VOLATILE_TAG, VolatileTag, beginTrackFrame, beginUntrackFrame, bump, combine, consumeTag, createCache, createTag, createUpdatableTag, debug, DIRTY_TAG as dirtyTag, dirtyTagFor, endTrackFrame, endUntrackFrame, getValue, isConst, isConstTag, isTracking, resetTracking, tagFor, tagMetaFor, track, trackedData, untrack, UPDATE_TAG as updateTag, validateTag, valueForTag }; |
{ | ||
"name": "@glimmer/validator", | ||
"version": "0.94.4", | ||
"version": "0.94.5", | ||
"license": "MIT", | ||
@@ -32,3 +32,3 @@ "description": "Objects used to track values and their dirtiness in Glimmer", | ||
"@glimmer/global-context": "0.93.2", | ||
"@glimmer/interfaces": "0.94.3" | ||
"@glimmer/interfaces": "0.94.4" | ||
}, | ||
@@ -40,5 +40,5 @@ "devDependencies": { | ||
"typescript": "*", | ||
"@glimmer-workspace/build-support": "0.92.0", | ||
"@glimmer-workspace/env": "0.92.0", | ||
"@glimmer/debug-util": "0.92.0" | ||
"@glimmer/debug-util": "0.92.0", | ||
"@glimmer-workspace/build-support": "0.92.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "scripts": { |
71910
651
+ Added@glimmer/interfaces@0.94.4(transitive)
- Removed@glimmer/interfaces@0.94.3(transitive)
Updated@glimmer/interfaces@0.94.4