@adguard/agtree 1.0.1 → 1.1.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/dist/build.txt CHANGED
@@ -1 +1 @@
1
- version=1.0.1
1
+ version=1.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adguard/agtree",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Universal adblock filter list parser.",
5
5
  "keywords": [
6
6
  "adblock",
@@ -13,12 +13,13 @@
13
13
  "license": "MIT",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/AdguardTeam/AGTree.git"
16
+ "url": "git+https://github.com/AdguardTeam/tsurlfilter.git",
17
+ "directory": "packages/agtree"
17
18
  },
18
19
  "bugs": {
19
- "url": "https://github.com/AdguardTeam/AGTree/issues"
20
+ "url": "https://github.com/AdguardTeam/tsurlfilter/issues"
20
21
  },
21
- "homepage": "https://github.com/AdguardTeam/AGTree#readme",
22
+ "homepage": "https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme",
22
23
  "type": "module",
23
24
  "main": "dist/agtree.cjs",
24
25
  "module": "dist/agtree.esm.js",
@@ -34,54 +35,66 @@
34
35
  "build": "yarn clean && yarn build-types && yarn build-txt && yarn rollup --config rollup.config.ts --configPlugin typescript && yarn clean-types",
35
36
  "build-txt": "ts-node-esm scripts/build-txt.ts",
36
37
  "build-types": "tsc --declaration --emitDeclarationOnly --outdir dist/types",
38
+ "check-compatibility-tables": "node --no-warnings --loader ts-node/esm --experimental-specifier-resolution=node scripts/check-compatibility-tables.ts",
37
39
  "check-types": "tsc --noEmit",
38
40
  "clean": "rimraf dist",
39
41
  "clean-types": "rimraf dist/types",
40
42
  "coverage": "jest --runInBand --coverage",
41
43
  "increment": "yarn version --patch --no-git-tag-version",
42
- "lint": "eslint . --ext .ts",
44
+ "lint": "yarn lint:ts && yarn lint:md",
45
+ "lint:md": "markdownlint .",
46
+ "lint:ts": "eslint . --cache --ext .ts",
43
47
  "precommit": "yarn check-types && yarn lint && yarn test",
44
48
  "test": "jest --runInBand"
45
49
  },
46
50
  "devDependencies": {
47
- "@babel/core": "^7.21.8",
48
- "@babel/preset-env": "^7.21.5",
51
+ "@babel/core": "^7.22.5",
52
+ "@babel/preset-env": "^7.22.5",
49
53
  "@rollup/plugin-alias": "^5.0.0",
50
54
  "@rollup/plugin-babel": "^6.0.3",
51
- "@rollup/plugin-commonjs": "^25.0.0",
55
+ "@rollup/plugin-commonjs": "^25.0.2",
52
56
  "@rollup/plugin-json": "^6.0.0",
53
- "@rollup/plugin-node-resolve": "^15.0.2",
57
+ "@rollup/plugin-node-resolve": "^15.1.0",
54
58
  "@rollup/plugin-terser": "^0.4.3",
55
- "@rollup/plugin-typescript": "^11.1.1",
56
- "@swc/core": "^1.3.59",
59
+ "@rollup/plugin-typescript": "^11.1.2",
60
+ "@rollup/plugin-yaml": "^4.1.1",
61
+ "@swc/core": "^1.3.66",
57
62
  "@swc/jest": "^0.2.26",
58
63
  "@types/clone-deep": "^4.0.1",
59
- "@types/jest": "^29.5.1",
64
+ "@types/jest": "^29.5.3",
65
+ "@types/js-yaml": "^4.0.5",
60
66
  "@types/node": "^20.2.3",
61
67
  "@types/semver": "^7.5.0",
62
- "@typescript-eslint/eslint-plugin": "^5.59.7",
63
- "@typescript-eslint/parser": "^5.59.7",
64
- "eslint": "^8.41.0",
68
+ "@typescript-eslint/eslint-plugin": "^5.60.1",
69
+ "@typescript-eslint/parser": "^5.60.1",
70
+ "eslint": "^8.43.0",
65
71
  "eslint-config-airbnb-typescript": "^17.0.0",
66
72
  "eslint-plugin-import": "^2.27.5",
67
73
  "eslint-plugin-import-newlines": "^1.3.1",
68
- "eslint-plugin-jsdoc": "^44.2.5",
74
+ "eslint-plugin-jsdoc": "^46.4.0",
75
+ "glob": "^9.3.2",
69
76
  "jest": "^29.5.0",
77
+ "js-yaml": "^4.1.0",
70
78
  "jsdoc": "^4.0.2",
79
+ "markdownlint": "^0.29.0",
80
+ "markdownlint-cli": "^0.35.0",
71
81
  "rimraf": "^5.0.1",
72
- "rollup": "^3.23.0",
82
+ "rollup": "^3.25.3",
73
83
  "rollup-plugin-dts": "^5.3.0",
74
- "rollup-plugin-node-externals": "^6.0.1",
84
+ "rollup-plugin-node-externals": "^6.1.1",
75
85
  "rollup-plugin-polyfill-node": "^0.12.0",
76
- "ts-jest": "^29.1.0",
86
+ "superstruct": "^1.0.3",
77
87
  "ts-node": "^10.9.1",
78
- "typescript": "^5.0.4"
88
+ "typescript": "^5.0.4",
89
+ "yaml-jest-transform": "^2.0.2"
79
90
  },
80
91
  "dependencies": {
81
92
  "@adguard/ecss-tree": "^1.0.8",
93
+ "@adguard/scriptlets": "^1.9.61",
82
94
  "clone-deep": "^4.0.1",
83
- "json5": "^2.2.1",
84
- "semver": "^7.5.1",
85
- "tldts": "^5.7.112"
95
+ "json5": "^2.2.3",
96
+ "semver": "^7.5.3",
97
+ "tldts": "^5.7.112",
98
+ "xregexp": "^5.1.1"
86
99
  }
87
100
  }