@adguard/filters-compiler 3.0.1 → 3.0.2
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 +1 -1
- package/dist/index.cjs +0 -3
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/build.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version=3.0.
|
|
1
|
+
version=3.0.2
|
package/dist/index.cjs
CHANGED
|
@@ -4615,9 +4615,6 @@ const platformsConfig = {
|
|
|
4615
4615
|
},
|
|
4616
4616
|
};
|
|
4617
4617
|
|
|
4618
|
-
// Sets RuleConverter to use logger of current library
|
|
4619
|
-
tsurlfilter.setLogger(logger);
|
|
4620
|
-
|
|
4621
4618
|
// Sets configuration compatibility
|
|
4622
4619
|
tsurlfilter.setConfiguration({ compatibility: tsurlfilter.CompatibilityTypes.Corelibs });
|
|
4623
4620
|
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
|
-
import { RuleFactory, CosmeticRule, NetworkRule,
|
|
2
|
+
import { RuleFactory, CosmeticRule, NetworkRule, setConfiguration, CompatibilityTypes } from '@adguard/tsurlfilter';
|
|
3
3
|
import fs from 'fs';
|
|
4
4
|
import md5 from 'md5';
|
|
5
5
|
import { FiltersDownloader } from '@adguard/filters-downloader';
|
|
@@ -4612,9 +4612,6 @@ const platformsConfig = {
|
|
|
4612
4612
|
},
|
|
4613
4613
|
};
|
|
4614
4614
|
|
|
4615
|
-
// Sets RuleConverter to use logger of current library
|
|
4616
|
-
setLogger(logger);
|
|
4617
|
-
|
|
4618
4615
|
// Sets configuration compatibility
|
|
4619
4616
|
setConfiguration({ compatibility: CompatibilityTypes.Corelibs });
|
|
4620
4617
|
|