@ghostery/trackerdb 1.0.257 → 1.0.259
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 +1 -1
- package/dist/cjs/index.d.ts +3 -3
- package/dist/cjs/index.js +2 -2
- package/dist/mjs/index.d.ts +3 -3
- package/dist/mjs/index.js +1 -1
- package/dist/trackerdb.db +0 -0
- package/dist/trackerdb.engine +0 -0
- package/dist/trackerdb.json +2 -2
- package/package.json +10 -10
package/cli.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { readFileSync } from 'node:fs';
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import * as url from 'url';
|
|
6
|
-
import { FiltersEngine, Request } from '@
|
|
6
|
+
import { FiltersEngine, Request } from '@ghostery/adblocker';
|
|
7
7
|
|
|
8
8
|
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
|
|
9
9
|
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FiltersEngine, Request } from '@
|
|
1
|
+
import { FiltersEngine, Request } from '@ghostery/adblocker';
|
|
2
2
|
export { Request as AdblockerRequest };
|
|
3
3
|
type FromRawDetailsParams = Parameters<typeof Request.fromRawDetails>;
|
|
4
4
|
type DeserializeParams = Parameters<typeof FiltersEngine.deserialize>;
|
|
@@ -7,6 +7,6 @@ export default function loadTrackerDBEngine(engineBytes: DeserializeParams[0]):
|
|
|
7
7
|
engine: FiltersEngine;
|
|
8
8
|
matchUrl(requestArgs: FromRawDetailsParams[0], getPatternMetadataParams?: {
|
|
9
9
|
getDomainMetadata: boolean;
|
|
10
|
-
}): import("@
|
|
11
|
-
matchDomain(domain: string): import("@
|
|
10
|
+
}): import("@ghostery/adblocker/dist/commonjs/engine/metadata").IPatternLookupResult[];
|
|
11
|
+
matchDomain(domain: string): import("@ghostery/adblocker/dist/commonjs/engine/metadata").IPatternLookupResult[];
|
|
12
12
|
}>;
|
package/dist/cjs/index.js
CHANGED
|
@@ -10,7 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AdblockerRequest = void 0;
|
|
13
|
-
|
|
13
|
+
exports.default = loadTrackerDBEngine;
|
|
14
|
+
const adblocker_1 = require("@ghostery/adblocker");
|
|
14
15
|
Object.defineProperty(exports, "AdblockerRequest", { enumerable: true, get: function () { return adblocker_1.Request; } });
|
|
15
16
|
function loadTrackerDBEngine(engineBytes) {
|
|
16
17
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,4 +35,3 @@ function loadTrackerDBEngine(engineBytes) {
|
|
|
34
35
|
};
|
|
35
36
|
});
|
|
36
37
|
}
|
|
37
|
-
exports.default = loadTrackerDBEngine;
|
package/dist/mjs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FiltersEngine, Request } from '@
|
|
1
|
+
import { FiltersEngine, Request } from '@ghostery/adblocker';
|
|
2
2
|
export { Request as AdblockerRequest };
|
|
3
3
|
type FromRawDetailsParams = Parameters<typeof Request.fromRawDetails>;
|
|
4
4
|
type DeserializeParams = Parameters<typeof FiltersEngine.deserialize>;
|
|
@@ -7,6 +7,6 @@ export default function loadTrackerDBEngine(engineBytes: DeserializeParams[0]):
|
|
|
7
7
|
engine: FiltersEngine;
|
|
8
8
|
matchUrl(requestArgs: FromRawDetailsParams[0], getPatternMetadataParams?: {
|
|
9
9
|
getDomainMetadata: boolean;
|
|
10
|
-
}): import("@
|
|
11
|
-
matchDomain(domain: string): import("@
|
|
10
|
+
}): import("@ghostery/adblocker/dist/commonjs/engine/metadata").IPatternLookupResult[];
|
|
11
|
+
matchDomain(domain: string): import("@ghostery/adblocker/dist/commonjs/engine/metadata").IPatternLookupResult[];
|
|
12
12
|
}>;
|
package/dist/mjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FiltersEngine, Request, ENGINE_VERSION } from '@
|
|
1
|
+
import { FiltersEngine, Request, ENGINE_VERSION } from '@ghostery/adblocker';
|
|
2
2
|
export { Request as AdblockerRequest };
|
|
3
3
|
export default async function loadTrackerDBEngine(engineBytes) {
|
|
4
4
|
const engine = FiltersEngine.deserialize(engineBytes);
|
package/dist/trackerdb.db
CHANGED
|
Binary file
|
package/dist/trackerdb.engine
CHANGED
|
Binary file
|
package/dist/trackerdb.json
CHANGED
|
@@ -6314,11 +6314,11 @@
|
|
|
6314
6314
|
},
|
|
6315
6315
|
"delta_projects": {
|
|
6316
6316
|
"name": "Delta Projects",
|
|
6317
|
-
"description": "
|
|
6317
|
+
"description": "Deltas Projects products (DSP, DMP + Adserver) deliver cost-effective media investments through programmatic media purchases.",
|
|
6318
6318
|
"website_url": "https://www.deltaprojects.com/",
|
|
6319
6319
|
"country": "US",
|
|
6320
6320
|
"privacy_policy_url": "https://www.deltaprojects.com/data-collection-policy/",
|
|
6321
|
-
"privacy_contact": "
|
|
6321
|
+
"privacy_contact": "dpo@azerion.com",
|
|
6322
6322
|
"ghostery_id": "1955"
|
|
6323
6323
|
},
|
|
6324
6324
|
"deluxe": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghostery/trackerdb",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.259",
|
|
4
4
|
"description": "Ghostery Tracker Database",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
"node": ">=18.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"better-sqlite3": "^
|
|
47
|
+
"@ghostery/adblocker": "2.0.2",
|
|
48
|
+
"better-sqlite3": "^11.5.0",
|
|
49
49
|
"enolib": "^0.8.2",
|
|
50
50
|
"iso-3166-1-alpha-2": "^1.0.2",
|
|
51
|
-
"tldts-experimental": "^6.1.
|
|
51
|
+
"tldts-experimental": "^6.1.57"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/node": "
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "
|
|
56
|
-
"@typescript-eslint/parser": "
|
|
54
|
+
"@types/node": "22.8.2",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "8.12.2",
|
|
56
|
+
"@typescript-eslint/parser": "8.12.2",
|
|
57
57
|
"chalk": "5.3.0",
|
|
58
58
|
"ejs": "3.1.10",
|
|
59
59
|
"eslint": "8.57.0",
|
|
60
60
|
"eslint-config-prettier": "9.1.0",
|
|
61
|
-
"eslint-plugin-prettier": "5.1
|
|
62
|
-
"prettier": "3.
|
|
63
|
-
"typescript": "5.
|
|
61
|
+
"eslint-plugin-prettier": "5.2.1",
|
|
62
|
+
"prettier": "3.3.3",
|
|
63
|
+
"typescript": "5.6.3"
|
|
64
64
|
}
|
|
65
65
|
}
|