@ghostery/trackerdb 1.0.505 → 1.0.506

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/cli.js CHANGED
@@ -7,7 +7,6 @@ import { FiltersEngine, Request } from '@ghostery/adblocker';
7
7
 
8
8
  const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
9
9
 
10
- // eslint-disable-next-line @typescript-eslint/no-empty-function
11
10
  const debug = process.env.DEBUG === 'true' ? console.log : () => {};
12
11
 
13
12
  (async () => {
package/dist/cjs/index.js CHANGED
@@ -13,6 +13,7 @@ exports.AdblockerRequest = void 0;
13
13
  exports.default = loadTrackerDBEngine;
14
14
  const adblocker_1 = require("@ghostery/adblocker");
15
15
  Object.defineProperty(exports, "AdblockerRequest", { enumerable: true, get: function () { return adblocker_1.Request; } });
16
+ // eslint-disable-next-line @typescript-eslint/require-await
16
17
  function loadTrackerDBEngine(engineBytes) {
17
18
  return __awaiter(this, void 0, void 0, function* () {
18
19
  const engine = adblocker_1.FiltersEngine.deserialize(engineBytes);
package/dist/mjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { FiltersEngine, Request, ENGINE_VERSION } from '@ghostery/adblocker';
2
2
  export { Request as AdblockerRequest };
3
+ // eslint-disable-next-line @typescript-eslint/require-await
3
4
  export default async function loadTrackerDBEngine(engineBytes) {
4
5
  const engine = FiltersEngine.deserialize(engineBytes);
5
6
  return {
package/dist/trackerdb.db CHANGED
Binary file
Binary file
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@ghostery/trackerdb",
3
- "version": "1.0.505",
3
+ "version": "1.0.506",
4
4
  "description": "Ghostery Tracker Database",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "rm -fr dist/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && ./fixup && npm run export",
8
8
  "test": "node test/index.js",
9
- "lint": "eslint --ignore-path .gitignore --ext .js,.ts .",
10
- "lint-fix": "eslint --fix --ignore-path .gitignore --ext .js,.ts .",
9
+ "lint": "eslint --ext .js,.ts .",
10
+ "lint-fix": "eslint --fix --ext .js,.ts .",
11
11
  "update-docs": "node scripts/update-docs.js",
12
12
  "export": "npm run export-json && npm run export-engine && npm run export-sql && npm run export-txt",
13
13
  "export-sql": "node scripts/export-sql/index.js",
@@ -44,22 +44,26 @@
44
44
  "node": ">=18.0"
45
45
  },
46
46
  "dependencies": {
47
- "@ghostery/adblocker": "2.0.2",
48
- "better-sqlite3": "^11.5.0",
47
+ "@ghostery/adblocker": "2.5.0",
48
+ "better-sqlite3": "^11.9.1",
49
49
  "enolib": "^0.8.2",
50
50
  "iso-3166-1-alpha-2": "^1.0.2",
51
- "tldts-experimental": "^6.1.57"
51
+ "tldts-experimental": "^6.1.85"
52
52
  },
53
53
  "devDependencies": {
54
- "@types/node": "22.8.2",
55
- "@typescript-eslint/eslint-plugin": "8.12.2",
56
- "@typescript-eslint/parser": "8.12.2",
57
- "chalk": "5.3.0",
54
+ "@eslint/js": "^9.24.0",
55
+ "@types/node": "22.14.0",
56
+ "@typescript-eslint/eslint-plugin": "8.29.0",
57
+ "@typescript-eslint/parser": "8.29.0",
58
+ "chalk": "5.4.1",
58
59
  "ejs": "3.1.10",
59
- "eslint": "8.57.0",
60
- "eslint-config-prettier": "9.1.0",
61
- "eslint-plugin-prettier": "5.2.1",
62
- "prettier": "3.3.3",
63
- "typescript": "5.6.3"
60
+ "eslint": "9.24.0",
61
+ "eslint-config-prettier": "^10.1.1",
62
+ "eslint-plugin-prettier": "^5.2.6",
63
+ "globals": "^16.0.0",
64
+ "prettier": "^3.5.3",
65
+ "tsx": "^4.19.3",
66
+ "typescript": "5.8.3",
67
+ "typescript-eslint": "^8.29.0"
64
68
  }
65
69
  }