UNPKG

@adguard/agtree

Version:
23 lines (21 loc) 674 B
/* * AGTree v3.4.3 (build date: Thu, 11 Dec 2025 13:43:19 GMT) * (c) 2025 Adguard Software Ltd. * Released under the MIT license * https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme */ /** * Property map for binary serialization. This helps to reduce the size of the serialized data, * as it allows us to use a single byte to represent a property. * * ! IMPORTANT: If you change values here, please update the {@link BINARY_SCHEMA_VERSION}! * * @note Only 256 values can be represented this way. */ const ValueNodeMarshallingMap = { Value: 1, FrequentValue: 2, Start: 3, End: 4, }; export { ValueNodeMarshallingMap };