@adguard/filters-compiler 3.1.3 → 3.1.4

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=3.1.3
1
+ version=3.1.4
package/dist/index.cjs CHANGED
@@ -349,9 +349,12 @@ const removeGroupDescriptions$1 = function (rawGroups) {
349
349
 
350
350
  // eslint-disable-next-line no-restricted-syntax
351
351
  for (const g of rawGroups) {
352
- const copy = { ...g };
353
-
354
- delete copy.groupDescription;
352
+ // Explicitly keep only the required fields for backward compatibility
353
+ const copy = {
354
+ groupId: g.groupId,
355
+ groupName: g.groupName,
356
+ displayNumber: g.displayNumber,
357
+ };
355
358
 
356
359
  groups.push(copy);
357
360
  }
package/dist/index.js CHANGED
@@ -346,9 +346,12 @@ const removeGroupDescriptions$1 = function (rawGroups) {
346
346
 
347
347
  // eslint-disable-next-line no-restricted-syntax
348
348
  for (const g of rawGroups) {
349
- const copy = { ...g };
350
-
351
- delete copy.groupDescription;
349
+ // Explicitly keep only the required fields for backward compatibility
350
+ const copy = {
351
+ groupId: g.groupId,
352
+ groupName: g.groupName,
353
+ displayNumber: g.displayNumber,
354
+ };
352
355
 
353
356
  groups.push(copy);
354
357
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adguard/filters-compiler",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "AdGuard filters compiler",
5
5
  "homepage": "http://adguard.com",
6
6
  "type": "module",
@@ -18,13 +18,13 @@
18
18
  "node": ">=22"
19
19
  },
20
20
  "dependencies": {
21
- "@adguard/agtree": "^3.2.4",
21
+ "@adguard/agtree": "^3.2.5",
22
22
  "@adguard/ecss-tree": "^1.1.0",
23
23
  "@adguard/extended-css": "^2.1.1",
24
24
  "@adguard/filters-downloader": "^2.4.0",
25
25
  "@adguard/logger": "^2.0.0",
26
- "@adguard/scriptlets": "^2.2.11",
27
- "@adguard/tsurlfilter": "^3.2.7",
26
+ "@adguard/scriptlets": "^2.2.12",
27
+ "@adguard/tsurlfilter": "^3.2.8",
28
28
  "ajv": "^8.17.1",
29
29
  "child_process": ">=1.0.2",
30
30
  "jsdom": "^21.1.1",