UNPKG

@adguard/agtree

Version:
24 lines (22 loc) 717 B
/* * AGTree v3.2.2 (build date: Tue, 08 Jul 2025 13:39:47 GMT) * (c) 2025 Adguard Software Ltd. * Released under the MIT license * https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme */ /** * Common class for the ABP snippet injection body. * This class contains shared constants and utilities for handling ABP snippet injection bodies. */ class AbpSnippetInjectionBodyCommon { /** * Error messages used by the parser and generator. */ static ERROR_MESSAGES = { /** * Error message indicating that an ABP snippet call is empty. */ EMPTY_SCRIPTLET_CALL: 'Empty ABP snippet call', }; } export { AbpSnippetInjectionBodyCommon };