@adguard/agtree 2.0.2 → 2.1.1
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 +17 -35
- package/dist/agtree.d.ts +6 -5
- package/dist/agtree.js +12377 -21707
- package/dist/agtree.mjs +12325 -21655
- package/dist/compatibility-table-data.js +12634 -0
- package/package.json +18 -12
- package/dist/build.txt +0 -1
- package/dist/compatibility-tables.json +0 -12555
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adguard/agtree",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "Tool set for working with adblock filter lists",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adblock",
|
|
7
7
|
"filter",
|
|
8
8
|
"list",
|
|
9
|
+
"rule",
|
|
9
10
|
"parser",
|
|
10
|
-
"ast"
|
|
11
|
+
"ast",
|
|
12
|
+
"converter",
|
|
13
|
+
"validator",
|
|
14
|
+
"generator",
|
|
15
|
+
"serialize",
|
|
16
|
+
"deserialize"
|
|
11
17
|
],
|
|
12
18
|
"author": "Adguard Software Ltd.",
|
|
13
19
|
"license": "MIT",
|
|
@@ -31,19 +37,21 @@
|
|
|
31
37
|
}
|
|
32
38
|
},
|
|
33
39
|
"files": [
|
|
34
|
-
"dist"
|
|
40
|
+
"dist/agtree.d.ts",
|
|
41
|
+
"dist/agtree.js",
|
|
42
|
+
"dist/agtree.mjs",
|
|
43
|
+
"dist/compatibility-table-data.js"
|
|
35
44
|
],
|
|
36
45
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
46
|
+
"node": ">=18"
|
|
38
47
|
},
|
|
39
48
|
"devDependencies": {
|
|
40
|
-
"@babel/core": "^7.22.5",
|
|
41
|
-
"@babel/preset-env": "^7.22.5",
|
|
42
49
|
"@rollup/plugin-alias": "^5.0.0",
|
|
43
|
-
"@rollup/plugin-babel": "^6.0.3",
|
|
44
50
|
"@rollup/plugin-commonjs": "^25.0.2",
|
|
45
51
|
"@rollup/plugin-json": "^6.0.0",
|
|
46
52
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
53
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
54
|
+
"@rollup/plugin-swc": "^0.4.0",
|
|
47
55
|
"@rollup/plugin-typescript": "^11.1.2",
|
|
48
56
|
"@swc/core": "^1.7.24",
|
|
49
57
|
"@swc/helpers": "^0.5.3",
|
|
@@ -101,17 +109,15 @@
|
|
|
101
109
|
"tldts": "^5.7.112",
|
|
102
110
|
"xregexp": "^5.1.1",
|
|
103
111
|
"zod": "3.21.4",
|
|
104
|
-
"@adguard/css-tokenizer": "^1.
|
|
112
|
+
"@adguard/css-tokenizer": "^1.1.1"
|
|
105
113
|
},
|
|
106
114
|
"scripts": {
|
|
107
|
-
"build": "pnpm clean && pnpm build-
|
|
115
|
+
"build": "pnpm clean && pnpm build-txt && pnpm build-compatibility-tables && pnpm build-compatibility-tables-wiki && pnpm rollup --config rollup.config.ts --configPlugin typescript && rimraf dist/types && rimraf dist/compatibility-table-data.json",
|
|
108
116
|
"build-txt": "tsx scripts/build-txt.ts",
|
|
109
|
-
"build-types": "tsc --declaration --emitDeclarationOnly --outdir dist/types",
|
|
110
117
|
"build-compatibility-tables": "tsx scripts/build-compatibility-tables.ts",
|
|
111
118
|
"build-compatibility-tables-wiki": "tsx scripts/build-compatibility-tables-wiki.ts",
|
|
112
119
|
"check-types": "tsc --noEmit",
|
|
113
120
|
"clean": "rimraf dist",
|
|
114
|
-
"clean-types": "rimraf dist/types",
|
|
115
121
|
"coverage": "jest --runInBand --coverage",
|
|
116
122
|
"increment": "pnpm version patch --no-git-tag-version",
|
|
117
123
|
"lint": "pnpm check-types && pnpm lint:ts && pnpm lint:md",
|
package/dist/build.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version=2.0.2
|