@adguard/agtree 1.1.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,42 +9,22 @@
9
9
  <h3 align="center">Universal adblock filter list parser</h3>
10
10
  <p align="center">Supported syntaxes:</p>
11
11
  <p align="center">
12
- <a href="https://adguard.com">
13
- <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" />
14
- AdGuard
15
- </a>
16
- |
17
- <a href="https://github.com/gorhill/uBlock">
18
- <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px" />
19
- uBlock Origin
20
- </a>
21
- |
22
- <a href="https://getadblock.com">
23
- <img src="https://cdn.adguard.com/website/github.com/AGLint/ab_logo.svg" width="14px" />
24
- AdBlock
25
- </a>
26
- |
27
- <a href="https://adblockplus.org">
28
- <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px" />
29
- Adblock Plus
30
- </a>
12
+ <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" alt="AdGuard logo" /> <a href="https://adguard.com">AdGuard</a>
13
+ | <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px" alt="uBlock Origin logo" /> <a href="https://github.com/gorhill/uBlock">uBlock Origin</a>
14
+ | <img src="https://cdn.adguard.com/website/github.com/AGLint/ab_logo.svg" width="14px" alt="AdBlock logo" /><a href="https://getadblock.com">AdBlock</a>
15
+ | <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px" alt="Adblock Plus logo" /><a href="https://adblockplus.org">Adblock Plus</a>
31
16
  </p>
32
17
  <p align="center">
33
- <a href="https://www.npmjs.com/package/@adguard/agtree">
34
- <img src="https://img.shields.io/npm/v/@adguard/agtree" alt="NPM version" />
35
- </a>
36
- <a href="https://www.npmjs.com/package/@adguard/agtree">
37
- <img src="https://img.shields.io/npm/dm/@adguard/agtree" alt="NPM Downloads" />
38
- </a>
39
- <a href="https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/LICENSE">
40
- <img src="https://img.shields.io/npm/l/@adguard/agtree" alt="License" />
41
- </a>
18
+ <a href="https://www.npmjs.com/package/@adguard/agtree"><img src="https://img.shields.io/npm/v/@adguard/agtree" alt="NPM version" /></a>
19
+ <a href="https://www.npmjs.com/package/@adguard/agtree"><img src="https://img.shields.io/npm/dm/@adguard/agtree" alt="NPM Downloads" /></a>
20
+ <a href="https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/LICENSE"><img src="https://img.shields.io/npm/l/@adguard/agtree" alt="License" /></a>
42
21
  </p>
43
22
  <!-- markdownlint-restore -->
44
23
 
45
24
  Table of Contents:
46
25
 
47
26
  - [Introduction](#introduction)
27
+ - [Browser compatibility](#browser-compatibility)
48
28
  - [Development \& Contribution](#development--contribution)
49
29
  - [Ideas \& Questions](#ideas--questions)
50
30
  - [License](#license)
@@ -61,10 +41,23 @@ AGTree is a universal tool for working with adblock filter lists. It contains th
61
41
 
62
42
  AGTree supports all syntaxes currently in use:
63
43
 
64
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px"> [AdGuard][adg-url]
65
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px"> [uBlock Origin][ubo-url]
66
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px"> [Adblock Plus][abp-url]
67
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/ab_logo.svg" width="14px"> [AdBlock][ab-url]
44
+ <!--markdownlint-disable MD013-->
45
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" alt="AdGuard logo" width="14px"> [AdGuard][adg-url]
46
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" alt="uBlock Origin logo" width="14px"> [uBlock Origin][ubo-url]
47
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" alt="Adblock Plus logo" width="14px"> [Adblock Plus][abp-url]
48
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/ab_logo.svg" alt="AdBlock logo" width="14px"> [AdBlock][ab-url]
49
+ <!--markdownlint-enable MD013-->
50
+
51
+ ## Browser compatibility
52
+
53
+ | Browser | Version |
54
+ |-----------------------|:----------|
55
+ | Chrome | ✅ 80 |
56
+ | Firefox | ✅ 78 |
57
+ | Edge | ✅ 80 |
58
+ | Opera | ✅ 67 |
59
+ | Safari | ✅ 14 |
60
+ | Internet Explorer | ❌ |
68
61
 
69
62
  ## Development & Contribution
70
63
 
@@ -86,21 +79,19 @@ resources, please let us know.
86
79
 
87
80
  <!--markdownlint-disable MD013-->
88
81
  - Syntax documentation:
89
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px"> [AdGuard: *How to create your own ad filters*][adg-filters]
90
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px"> [uBlock Origin: *Static filter syntax*][ubo-filters]
91
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px"> [Adblock Plus: *How to write filters*][abp-filters]
82
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" alt="AdGuard logo"> [AdGuard: *How to create your own ad filters*][adg-filters]
83
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px" alt="uBlock Origin logo"> [uBlock Origin: *Static filter syntax*][ubo-filters]
84
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px" alt="Adblock Plus logo"> [Adblock Plus: *How to write filters*][abp-filters]
92
85
  - Extended CSS documentation:
93
86
  - [MDN: *CSS selectors*][mdn-css-selectors]
94
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px"> [AdGuard: *Extended CSS capabilities*][adg-ext-css]
95
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px"> [uBlock Origin: *Procedural cosmetic filters*][ubo-procedural]
96
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px"> [Adblock Plus: *Extended CSS selectors*][abp-ext-css]
87
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" alt="AdGuard logo"> [AdGuard: *Extended CSS capabilities*][adg-ext-css]
88
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px" alt="uBlock Origin logo"> [uBlock Origin: *Procedural cosmetic filters*][ubo-procedural]
89
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px" alt="Adblock Plus logo"> [Adblock Plus: *Extended CSS selectors*][abp-ext-css]
97
90
  - Scriptlets:
98
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px"> [AdGuard scriptlets][adg-scriptlets]
99
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px"> [uBlock Origin scriptlets][ubo-scriptlets]
100
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px"> [Adblock Plus snippets][abp-snippets]
101
- - Third party libraries:
102
- - <img src="https://raw.githubusercontent.com/csstree/csstree/master/assets/csstree-logo-rounded.svg" width="14px"> [CSSTree docs][css-tree-docs]
103
- - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px"> [AdGuard's compatibility table][adg-compatibility-table]
91
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" alt="AdGuard logo"> [AdGuard scriptlets][adg-scriptlets]
92
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px" alt="uBlock Origin logo"> [uBlock Origin scriptlets][ubo-scriptlets]
93
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px" alt="Adblock Plus logo"> [Adblock Plus snippets][abp-snippets]
94
+ - <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" alt="AdGuard logo"> [AdGuard's compatibility table][adg-compatibility-table]
104
95
  <!--markdownlint-enable MD013-->
105
96
 
106
97
  [ab-url]: https://getadblock.com
@@ -116,7 +107,6 @@ resources, please let us know.
116
107
  [compatibility-tables-url]: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/src/compatibility-tables
117
108
  [contributing-url]: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/CONTRIBUTING.md
118
109
  [converter-url]: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/src/converter
119
- [css-tree-docs]: https://github.com/csstree/csstree/tree/master/docs
120
110
  [discussions-url]: https://github.com/AdguardTeam/tsurlfilter/discussions
121
111
  [license-url]: https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/LICENSE
122
112
  [mdn-css-selectors]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors