├── .eslintignore ├── .eslintrc.cjs ├── .github └── workflows │ ├── release.yml │ └── test.yaml ├── .gitignore ├── .husky └── pre-commit ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bamboo-specs ├── bamboo.yaml ├── build.yaml ├── deploy.yaml ├── increment.yaml ├── permissions.yaml ├── scripts │ └── cleanup.sh └── tests.yaml ├── index.js ├── package.json ├── pnpm-lock.yaml ├── rollup.config.js ├── schemas ├── filters.schema.json ├── filters_i18n.schema.json ├── mac │ ├── filters.schema.json │ └── filters_i18n.schema.json └── mac_v2 │ ├── filters.schema.json │ └── filters_i18n.schema.json ├── src ├── index.js └── main │ ├── builder.js │ ├── converter.js │ ├── json-validator.js │ ├── locales-validator.js │ ├── optimization.js │ ├── platforms-config.js │ ├── platforms │ ├── filter.js │ └── generator.js │ ├── rule │ └── rule-masks.js │ ├── utils │ ├── builder-utils.js │ ├── extended-css-validator.js │ ├── log.js │ ├── report.js │ ├── trust-levels │ │ ├── exclusions-full.txt │ │ ├── exclusions-high.txt │ │ └── exclusions-low.txt │ ├── utils.js │ ├── version.js │ ├── webutils.js │ └── workaround.js │ └── validator.js ├── tasks ├── build-schemas │ ├── build-filters-i18n-schema.cjs │ ├── build-filters-i18n-schema.js │ ├── build-filters-schema.cjs │ ├── build-filters-schema.js │ ├── constants.js │ ├── filters-i18n-defaults.js │ ├── helpers.js │ └── index.js └── build-txt.mjs ├── test ├── builder.test.js ├── bundle.test.js ├── converter.test.js ├── generator.test.js ├── json-validator.test.js ├── locales-validator.test.js ├── optimization.test.js ├── platforms-filter.test.js ├── resources │ ├── bad-filters │ │ ├── filter_8_Affinity │ │ │ ├── affinity-test.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ └── filter_9_Includes │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ ├── domains-blacklist.txt │ ├── filters │ │ ├── cname_trackers.txt │ │ ├── cname_trackers_2.txt │ │ ├── common.txt │ │ ├── common_1.txt │ │ ├── common_2.txt │ │ ├── exclude_1.txt │ │ ├── exclusions.txt │ │ ├── filter_10_addModifiers │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_11_ignoreTrustLevel │ │ │ ├── additional-rules.txt │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_12_removeRedundant │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_13_removeDiffPath │ │ │ ├── diff.txt │ │ │ ├── filter-with-diff-path.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_14_InvalidRules │ │ │ ├── metadata.json │ │ │ └── template.txt │ │ ├── filter_2_English │ │ │ ├── diff.txt │ │ │ ├── exclude.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_3_Test │ │ │ ├── exclude.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_4_Directives │ │ │ ├── diff.txt │ │ │ ├── exclude.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_5_TrustLevel │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ ├── filter_6_Obsolete │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ │ └── filter_7_Platforms │ │ │ ├── affinity-test.txt │ │ │ ├── diff.txt │ │ │ ├── filter.txt │ │ │ ├── metadata.json │ │ │ ├── revision.json │ │ │ └── template.txt │ ├── groups │ │ └── metadata.json │ ├── locales │ │ ├── en │ │ │ ├── filters.json │ │ │ ├── groups.json │ │ │ └── tags.json │ │ ├── ko │ │ │ ├── filters.json │ │ │ ├── groups.json │ │ │ └── tags.json │ │ └── ru │ │ │ ├── filters.json │ │ │ └── groups.json │ ├── log-report.txt │ ├── log_platforms-report.txt │ ├── platforms.json │ ├── schemas │ │ ├── filters.schema.json │ │ ├── filters_i18n.schema.json │ │ ├── mac │ │ │ ├── filters.schema.json │ │ │ └── filters_i18n.schema.json │ │ └── mac_v2 │ │ │ ├── filters.schema.json │ │ │ └── filters_i18n.schema.json │ └── tags │ │ └── metadata.json ├── utils │ └── builder-utils.test.js ├── validator.test.js └── version.test.js └── vitest.config.js /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/README.md -------------------------------------------------------------------------------- /bamboo-specs/bamboo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/bamboo.yaml -------------------------------------------------------------------------------- /bamboo-specs/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/build.yaml -------------------------------------------------------------------------------- /bamboo-specs/deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/deploy.yaml -------------------------------------------------------------------------------- /bamboo-specs/increment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/increment.yaml -------------------------------------------------------------------------------- /bamboo-specs/permissions.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/permissions.yaml -------------------------------------------------------------------------------- /bamboo-specs/scripts/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/scripts/cleanup.sh -------------------------------------------------------------------------------- /bamboo-specs/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/bamboo-specs/tests.yaml -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/rollup.config.js -------------------------------------------------------------------------------- /schemas/filters.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/schemas/filters.schema.json -------------------------------------------------------------------------------- /schemas/filters_i18n.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/schemas/filters_i18n.schema.json -------------------------------------------------------------------------------- /schemas/mac/filters.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/schemas/mac/filters.schema.json -------------------------------------------------------------------------------- /schemas/mac/filters_i18n.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/schemas/mac/filters_i18n.schema.json -------------------------------------------------------------------------------- /schemas/mac_v2/filters.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/schemas/mac_v2/filters.schema.json -------------------------------------------------------------------------------- /schemas/mac_v2/filters_i18n.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/schemas/mac_v2/filters_i18n.schema.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/index.js -------------------------------------------------------------------------------- /src/main/builder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/builder.js -------------------------------------------------------------------------------- /src/main/converter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/converter.js -------------------------------------------------------------------------------- /src/main/json-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/json-validator.js -------------------------------------------------------------------------------- /src/main/locales-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/locales-validator.js -------------------------------------------------------------------------------- /src/main/optimization.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/optimization.js -------------------------------------------------------------------------------- /src/main/platforms-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/platforms-config.js -------------------------------------------------------------------------------- /src/main/platforms/filter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/platforms/filter.js -------------------------------------------------------------------------------- /src/main/platforms/generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/platforms/generator.js -------------------------------------------------------------------------------- /src/main/rule/rule-masks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/rule/rule-masks.js -------------------------------------------------------------------------------- /src/main/utils/builder-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/builder-utils.js -------------------------------------------------------------------------------- /src/main/utils/extended-css-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/extended-css-validator.js -------------------------------------------------------------------------------- /src/main/utils/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/log.js -------------------------------------------------------------------------------- /src/main/utils/report.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/report.js -------------------------------------------------------------------------------- /src/main/utils/trust-levels/exclusions-full.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/trust-levels/exclusions-full.txt -------------------------------------------------------------------------------- /src/main/utils/trust-levels/exclusions-high.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/trust-levels/exclusions-high.txt -------------------------------------------------------------------------------- /src/main/utils/trust-levels/exclusions-low.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/trust-levels/exclusions-low.txt -------------------------------------------------------------------------------- /src/main/utils/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/utils.js -------------------------------------------------------------------------------- /src/main/utils/version.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/version.js -------------------------------------------------------------------------------- /src/main/utils/webutils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/webutils.js -------------------------------------------------------------------------------- /src/main/utils/workaround.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/utils/workaround.js -------------------------------------------------------------------------------- /src/main/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/src/main/validator.js -------------------------------------------------------------------------------- /tasks/build-schemas/build-filters-i18n-schema.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/build-filters-i18n-schema.cjs -------------------------------------------------------------------------------- /tasks/build-schemas/build-filters-i18n-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/build-filters-i18n-schema.js -------------------------------------------------------------------------------- /tasks/build-schemas/build-filters-schema.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/build-filters-schema.cjs -------------------------------------------------------------------------------- /tasks/build-schemas/build-filters-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/build-filters-schema.js -------------------------------------------------------------------------------- /tasks/build-schemas/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/constants.js -------------------------------------------------------------------------------- /tasks/build-schemas/filters-i18n-defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/filters-i18n-defaults.js -------------------------------------------------------------------------------- /tasks/build-schemas/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/helpers.js -------------------------------------------------------------------------------- /tasks/build-schemas/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-schemas/index.js -------------------------------------------------------------------------------- /tasks/build-txt.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/tasks/build-txt.mjs -------------------------------------------------------------------------------- /test/builder.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/builder.test.js -------------------------------------------------------------------------------- /test/bundle.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/bundle.test.js -------------------------------------------------------------------------------- /test/converter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/converter.test.js -------------------------------------------------------------------------------- /test/generator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/generator.test.js -------------------------------------------------------------------------------- /test/json-validator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/json-validator.test.js -------------------------------------------------------------------------------- /test/locales-validator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/locales-validator.test.js -------------------------------------------------------------------------------- /test/optimization.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/optimization.test.js -------------------------------------------------------------------------------- /test/platforms-filter.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/platforms-filter.test.js -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_8_Affinity/affinity-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_8_Affinity/affinity-test.txt -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_8_Affinity/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_8_Affinity/filter.txt -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_8_Affinity/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_8_Affinity/metadata.json -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_8_Affinity/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_8_Affinity/revision.json -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_8_Affinity/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_8_Affinity/template.txt -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_9_Includes/diff.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_9_Includes/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_9_Includes/filter.txt -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_9_Includes/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_9_Includes/metadata.json -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_9_Includes/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_9_Includes/revision.json -------------------------------------------------------------------------------- /test/resources/bad-filters/filter_9_Includes/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/bad-filters/filter_9_Includes/template.txt -------------------------------------------------------------------------------- /test/resources/domains-blacklist.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/domains-blacklist.txt -------------------------------------------------------------------------------- /test/resources/filters/cname_trackers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/cname_trackers.txt -------------------------------------------------------------------------------- /test/resources/filters/cname_trackers_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/cname_trackers_2.txt -------------------------------------------------------------------------------- /test/resources/filters/common.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/common.txt -------------------------------------------------------------------------------- /test/resources/filters/common_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/common_1.txt -------------------------------------------------------------------------------- /test/resources/filters/common_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/common_2.txt -------------------------------------------------------------------------------- /test/resources/filters/exclude_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/exclude_1.txt -------------------------------------------------------------------------------- /test/resources/filters/exclusions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/exclusions.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_10_addModifiers/diff.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/filters/filter_10_addModifiers/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_10_addModifiers/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_10_addModifiers/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_10_addModifiers/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_10_addModifiers/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_10_addModifiers/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_10_addModifiers/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_10_addModifiers/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_11_ignoreTrustLevel/additional-rules.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_11_ignoreTrustLevel/additional-rules.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_11_ignoreTrustLevel/diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_11_ignoreTrustLevel/diff.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_11_ignoreTrustLevel/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_11_ignoreTrustLevel/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_11_ignoreTrustLevel/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_11_ignoreTrustLevel/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_11_ignoreTrustLevel/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_11_ignoreTrustLevel/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_11_ignoreTrustLevel/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_11_ignoreTrustLevel/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_12_removeRedundant/diff.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/filters/filter_12_removeRedundant/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_12_removeRedundant/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_12_removeRedundant/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_12_removeRedundant/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_12_removeRedundant/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_12_removeRedundant/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_12_removeRedundant/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_12_removeRedundant/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_13_removeDiffPath/diff.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/filters/filter_13_removeDiffPath/filter-with-diff-path.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_13_removeDiffPath/filter-with-diff-path.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_13_removeDiffPath/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_13_removeDiffPath/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_13_removeDiffPath/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_13_removeDiffPath/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_13_removeDiffPath/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_13_removeDiffPath/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_13_removeDiffPath/template.txt: -------------------------------------------------------------------------------- 1 | @include ./filter-with-diff-path.txt 2 | -------------------------------------------------------------------------------- /test/resources/filters/filter_14_InvalidRules/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_14_InvalidRules/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_14_InvalidRules/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_14_InvalidRules/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_2_English/diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_2_English/diff.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_2_English/exclude.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_2_English/exclude.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_2_English/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_2_English/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_2_English/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_2_English/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_2_English/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_2_English/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_2_English/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_2_English/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_3_Test/exclude.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_3_Test/exclude.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_3_Test/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_3_Test/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_3_Test/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_3_Test/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_3_Test/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_3_Test/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_3_Test/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_3_Test/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_4_Directives/diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_4_Directives/diff.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_4_Directives/exclude.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/filters/filter_4_Directives/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_4_Directives/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_4_Directives/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_4_Directives/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_4_Directives/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_4_Directives/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_4_Directives/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_4_Directives/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_5_TrustLevel/diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_5_TrustLevel/diff.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_5_TrustLevel/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_5_TrustLevel/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_5_TrustLevel/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_5_TrustLevel/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_5_TrustLevel/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_5_TrustLevel/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_5_TrustLevel/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_5_TrustLevel/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_6_Obsolete/diff.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/filters/filter_6_Obsolete/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_6_Obsolete/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_6_Obsolete/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_6_Obsolete/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_6_Obsolete/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_6_Obsolete/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_6_Obsolete/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_6_Obsolete/template.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_7_Platforms/affinity-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_7_Platforms/affinity-test.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_7_Platforms/diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_7_Platforms/diff.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_7_Platforms/filter.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_7_Platforms/filter.txt -------------------------------------------------------------------------------- /test/resources/filters/filter_7_Platforms/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_7_Platforms/metadata.json -------------------------------------------------------------------------------- /test/resources/filters/filter_7_Platforms/revision.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_7_Platforms/revision.json -------------------------------------------------------------------------------- /test/resources/filters/filter_7_Platforms/template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/filters/filter_7_Platforms/template.txt -------------------------------------------------------------------------------- /test/resources/groups/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/groups/metadata.json -------------------------------------------------------------------------------- /test/resources/locales/en/filters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/en/filters.json -------------------------------------------------------------------------------- /test/resources/locales/en/groups.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/en/groups.json -------------------------------------------------------------------------------- /test/resources/locales/en/tags.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/en/tags.json -------------------------------------------------------------------------------- /test/resources/locales/ko/filters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/ko/filters.json -------------------------------------------------------------------------------- /test/resources/locales/ko/groups.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /test/resources/locales/ko/tags.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/ko/tags.json -------------------------------------------------------------------------------- /test/resources/locales/ru/filters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/ru/filters.json -------------------------------------------------------------------------------- /test/resources/locales/ru/groups.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/locales/ru/groups.json -------------------------------------------------------------------------------- /test/resources/log-report.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/log-report.txt -------------------------------------------------------------------------------- /test/resources/log_platforms-report.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/log_platforms-report.txt -------------------------------------------------------------------------------- /test/resources/platforms.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/platforms.json -------------------------------------------------------------------------------- /test/resources/schemas/filters.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/schemas/filters.schema.json -------------------------------------------------------------------------------- /test/resources/schemas/filters_i18n.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/schemas/filters_i18n.schema.json -------------------------------------------------------------------------------- /test/resources/schemas/mac/filters.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/schemas/mac/filters.schema.json -------------------------------------------------------------------------------- /test/resources/schemas/mac/filters_i18n.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/schemas/mac/filters_i18n.schema.json -------------------------------------------------------------------------------- /test/resources/schemas/mac_v2/filters.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/schemas/mac_v2/filters.schema.json -------------------------------------------------------------------------------- /test/resources/schemas/mac_v2/filters_i18n.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/schemas/mac_v2/filters_i18n.schema.json -------------------------------------------------------------------------------- /test/resources/tags/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/resources/tags/metadata.json -------------------------------------------------------------------------------- /test/utils/builder-utils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/utils/builder-utils.test.js -------------------------------------------------------------------------------- /test/validator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/validator.test.js -------------------------------------------------------------------------------- /test/version.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/test/version.test.js -------------------------------------------------------------------------------- /vitest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdguardTeam/FiltersCompiler/HEAD/vitest.config.js --------------------------------------------------------------------------------