-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #389 from caorushizi/feat/package-version
feat: ✨ update adblocker
- Loading branch information
Showing
9 changed files
with
101 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ DDTHH | |
deeplink | ||
esmfile | ||
execa | ||
ghostery | ||
idtype | ||
immer | ||
inversify | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ | |
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@cliqz/adblocker@1.27.3": "patches/@[email protected].patch" | ||
"@ghostery/adblocker@2.3.1": "patches/@[email protected].patch" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/dist/commonjs/fetch.js b/dist/commonjs/fetch.js | ||
index b610f9d3accead5b44693333598783e425f33ed9..ec538d5a0f15686d6983cd06c989e1ffd9cea987 100644 | ||
--- a/dist/commonjs/fetch.js | ||
+++ b/dist/commonjs/fetch.js | ||
@@ -41,7 +41,7 @@ function fetchWithRetry(fetch, url) { | ||
function fetchResource(fetch, url) { | ||
return fetchWithRetry(fetch, url).then((response) => response.text()); | ||
} | ||
-const PREFIX = 'https://raw.githubusercontent.com/ghostery/adblocker/master/packages/adblocker/assets'; | ||
+const PREFIX = 'https://static.ziying.site/adblocker'; | ||
exports.adsLists = [ | ||
`${PREFIX}/easylist/easylist.txt`, | ||
`${PREFIX}/peter-lowe/serverlist.txt`, | ||
diff --git a/dist/esm/fetch.js b/dist/esm/fetch.js | ||
index 2bc86ba508144053bda8d27fa663fdbe7846eed8..7a35c0d34945832dc09f0fc1b7429121ae2434eb 100644 | ||
--- a/dist/esm/fetch.js | ||
+++ b/dist/esm/fetch.js | ||
@@ -35,7 +35,7 @@ export function fetchWithRetry(fetch, url) { | ||
function fetchResource(fetch, url) { | ||
return fetchWithRetry(fetch, url).then((response) => response.text()); | ||
} | ||
-const PREFIX = 'https://raw.githubusercontent.com/ghostery/adblocker/master/packages/adblocker/assets'; | ||
+const PREFIX = 'https://static.ziying.site/adblocker'; | ||
export const adsLists = [ | ||
`${PREFIX}/easylist/easylist.txt`, | ||
`${PREFIX}/peter-lowe/serverlist.txt`, |
Oops, something went wrong.