UNPKG

@adguard/agtree

Version:
24 lines (22 loc) 717 B
/* * AGTree v4.1.1 (build date: Thu, 23 Apr 2026 09:15:37 GMT) * (c) 2026 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 };