Skip to content

Commit

Permalink
Updated tsurlfilter to the latest version (#2287)
Browse files Browse the repository at this point in the history
  • Loading branch information
ameshkov authored Oct 21, 2021
1 parent edc8331 commit 005235a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions packages/adblocker-benchmarks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ ubo-core: ./node_modules/@gorhill/ubo-core
adblockpluscore: ./node_modules/adblockpluscore

./node_modules/@adguard/tsurlfilter:
npm install --no-save @adguard/tsurlfilter@0.5.24
npx rollup ./node_modules/@adguard/tsurlfilter/dist/tsurlfilter.umd.js \
--file ./node_modules/@adguard/tsurlfilter/dist/bundle.min.cjs --format cjs \
--context global --plugin terser
npm install --no-save @adguard/tsurlfilter@0.7.26

tsurlfilter-node: ./node_modules/@adguard/tsurlfilter

Expand Down
2 changes: 1 addition & 1 deletion packages/adblocker-benchmarks/blockers/tsurlfilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const {
RuleStorage,
StringRuleList,
setConfiguration,
} = require('@adguard/tsurlfilter/dist/bundle.min.cjs');
} = require('@adguard/tsurlfilter/dist/tsurlfilter.umd.min.js');

const { extractHostname } = require('./utils.js');

Expand Down
2 changes: 1 addition & 1 deletion packages/adblocker-benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"url": "https://github.com/cliqz-oss/adblocker/issues"
},
"peerDependencies": {
"@adguard/tsurlfilter": "0.5.24",
"@adguard/tsurlfilter": "0.7.26",
"@gorhill/ubo-core": "0.1.7",
"adblock-rs": "0.3.15",
"adblockpluscore": "0.3.1",
Expand Down

0 comments on commit 005235a

Please sign in to comment.