Bump deps (#38)

This commit is contained in:
Jaco Greeff
2020-12-30 16:34:54 +01:00
committed by GitHub
parent 2ca5e27413
commit fb58687e33
6 changed files with 421 additions and 373 deletions
+9 -1
View File
@@ -1,10 +1,18 @@
# CHANGELOG
## 0.4.0-x
Changes:
- Added polkadotfund.com
- Add test for sites with www prefix
## 0.3.1 Dec 13, 2020
Contributed:
- Add polkadot.com.se (Thanks to https://github.com/gdixon)
- Added polkadot.com.se (Thanks to https://github.com/gdixon)
Changes:
-1
View File
@@ -4,7 +4,6 @@
"dothereum-polkadot.net",
"polkadot-dot.info",
"polkadotfund.com",
"www.polkadotfund.com",
"polkawallets.site",
"polkodot.network",
"polkadot.com.se"
+1 -1
View File
@@ -20,7 +20,7 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@polkadot/dev": "^0.61.13",
"@polkadot/dev": "^0.61.18",
"@types/jest": "^26.0.19"
},
"version": "0.3.3"
+1 -1
View File
@@ -14,7 +14,7 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/phishing#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/x-fetch": "^5.1.1"
"@polkadot/x-fetch": "^5.2.2"
},
"devDependencies": {
"@types/js-yaml": "^3.12.5",
+7 -1
View File
@@ -22,13 +22,19 @@ describe('checkIfDenied', (): void => {
).toEqual(true);
});
it('returns true when host in list (www-prefix)', async (): Promise<void> => {
expect(
await checkIfDenied('www.polkadotfund.com')
).toEqual(true);
});
it('returns true when host in list (protocol)', async (): Promise<void> => {
expect(
await checkIfDenied('https://polkawallets.site')
).toEqual(true);
});
it('returns true when host in list (path)', async (): Promise<void> => {
it('returns true when host in list (protocol + path)', async (): Promise<void> => {
expect(
await checkIfDenied('https://polkawallets.site/something/index.html')
).toEqual(true);
+403 -368
View File
File diff suppressed because it is too large Load Diff