@adguard/agtree 1.1.8 → 2.0.0-alpha.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 +23 -45
- package/dist/agtree.cjs +22680 -9142
- package/dist/agtree.d.ts +1964 -800
- package/dist/agtree.esm.js +22649 -9126
- package/dist/agtree.iife.min.js +10 -16
- package/dist/agtree.umd.min.js +10 -16
- package/dist/build.txt +1 -1
- package/dist/compatibility-tables.json +12367 -0
- package/package.json +30 -16
package/README.md
CHANGED
|
@@ -9,36 +9,15 @@
|
|
|
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
|
-
|
|
14
|
-
|
|
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
|
-
|
|
35
|
-
|
|
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
|
|
|
@@ -61,10 +40,12 @@ AGTree is a universal tool for working with adblock filter lists. It contains th
|
|
|
61
40
|
|
|
62
41
|
AGTree supports all syntaxes currently in use:
|
|
63
42
|
|
|
64
|
-
-
|
|
65
|
-
- <img src="https://cdn.adguard.com/website/github.com/AGLint/
|
|
66
|
-
- <img src="https://cdn.adguard.com/website/github.com/AGLint/
|
|
67
|
-
- <img src="https://cdn.adguard.com/website/github.com/AGLint/
|
|
43
|
+
<!--markdownlint-disable MD013-->
|
|
44
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" alt="AdGuard logo" width="14px"> [AdGuard][adg-url]
|
|
45
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" alt="uBlock Origin logo" width="14px"> [uBlock Origin][ubo-url]
|
|
46
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" alt="Adblock Plus logo" width="14px"> [Adblock Plus][abp-url]
|
|
47
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/ab_logo.svg" alt="AdBlock logo" width="14px"> [AdBlock][ab-url]
|
|
48
|
+
<!--markdownlint-enable MD013-->
|
|
68
49
|
|
|
69
50
|
## Development & Contribution
|
|
70
51
|
|
|
@@ -86,21 +67,19 @@ resources, please let us know.
|
|
|
86
67
|
|
|
87
68
|
<!--markdownlint-disable MD013-->
|
|
88
69
|
- 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]
|
|
70
|
+
- <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]
|
|
71
|
+
- <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]
|
|
72
|
+
- <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
73
|
- Extended CSS documentation:
|
|
93
74
|
- [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]
|
|
75
|
+
- <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]
|
|
76
|
+
- <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]
|
|
77
|
+
- <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
78
|
- 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
|
-
-
|
|
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]
|
|
79
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/adg_logo.svg" width="14px" alt="AdGuard logo"> [AdGuard scriptlets][adg-scriptlets]
|
|
80
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/ubo_logo.svg" width="14px" alt="uBlock Origin logo"> [uBlock Origin scriptlets][ubo-scriptlets]
|
|
81
|
+
- <img src="https://cdn.adguard.com/website/github.com/AGLint/abp_logo.svg" width="14px" alt="Adblock Plus logo"> [Adblock Plus snippets][abp-snippets]
|
|
82
|
+
- <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
83
|
<!--markdownlint-enable MD013-->
|
|
105
84
|
|
|
106
85
|
[ab-url]: https://getadblock.com
|
|
@@ -116,7 +95,6 @@ resources, please let us know.
|
|
|
116
95
|
[compatibility-tables-url]: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/src/compatibility-tables
|
|
117
96
|
[contributing-url]: https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree/CONTRIBUTING.md
|
|
118
97
|
[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
98
|
[discussions-url]: https://github.com/AdguardTeam/tsurlfilter/discussions
|
|
121
99
|
[license-url]: https://github.com/AdguardTeam/tsurlfilter/blob/master/packages/agtree/LICENSE
|
|
122
100
|
[mdn-css-selectors]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors
|