Skip to content

Commit a33b8e7

Browse files
committed
chore: update depends
1 parent 14490e4 commit a33b8e7

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

builder/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"clean": "rm -rf dist && rm -rf .buildcache"
1010
},
1111
"dependencies": {
12-
"@types/node": "^24.12.0"
12+
"@types/node": "^24.12.2"
1313
},
1414
"devDependencies": {
1515
"@adguard/agtree": "^4.0.4",
@@ -19,10 +19,10 @@
1919
"@typescript-eslint/eslint-plugin": "^8.58.0",
2020
"@typescript-eslint/parser": "^8.58.0",
2121
"@typescriptprime/parsing": "^2.0.1",
22-
"@typescriptprime/securereq": "^1.2.1",
22+
"@typescriptprime/securereq": "^2.0.0",
2323
"chokidar": "^5.0.0",
24-
"esbuild": "^0.27.4",
25-
"eslint": "^10.1.0",
24+
"esbuild": "^0.28.0",
25+
"eslint": "^10.2.0",
2626
"semver": "^7.7.4",
2727
"tldts": "^7.0.27",
2828
"tsx": "^4.21.0",

builder/source/references/filterslists/ADG.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HTTPS2Request } from '@typescriptprime/securereq'
1+
import { SimpleSecureReq } from '@typescriptprime/securereq'
22
import * as AGTree from '@adguard/agtree'
33
import { AdShieldCDNDomains } from './keywords.js'
44

@@ -9,7 +9,7 @@ const AGBaseFilterListAdShieldKeys = {
99
}
1010

1111
export async function IndexAdShieldDomainsFromAG(): Promise<Set<string>> {
12-
const FiltersListContent = await HTTPS2Request(new URL(AGBaseFilterListSpecificURL), { ExpectedAs: 'String' })
12+
const FiltersListContent = await SimpleSecureReq.Request(new URL(AGBaseFilterListSpecificURL), { ExpectedAs: 'String' })
1313
const AGTreeFiltersList = AGTree.FilterListParser.parse(FiltersListContent.Body)
1414
let StartingLine = -1
1515
let EndingLine = -1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HTTPS2Request } from '@typescriptprime/securereq'
1+
import { SimpleSecureReq } from '@typescriptprime/securereq'
22

33
export const AdShieldCDNDomains: Set<string> = new Set([
44
'html-load.com',
@@ -7,7 +7,7 @@ export const AdShieldCDNDomains: Set<string> = new Set([
77
])
88

99
export async function IsAdShieldCDNDomain(Domain: string): Promise<boolean> {
10-
const AdShieldCDNCheckResponse = await HTTPS2Request(new URL(`https://${Domain}/`), { ExpectedAs: 'String' }).catch(() => false)
10+
const AdShieldCDNCheckResponse = await SimpleSecureReq.Request(new URL(`https://${Domain}/`), { ExpectedAs: 'String' }).catch(() => false)
1111
return typeof AdShieldCDNCheckResponse !== 'boolean' && AdShieldCDNCheckResponse.StatusCode === 200 &&
1212
AdShieldCDNCheckResponse.Body.includes('This domain is a part of the <a href="https://www.ad-shield.io/">Ad-Shield</a> (ad-shield.io) platform,')
1313
}

builder/source/references/filterslists/uBO.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HTTPS2Request } from '@typescriptprime/securereq'
1+
import { SimpleSecureReq } from '@typescriptprime/securereq'
22
import * as AGTree from '@adguard/agtree'
33
import { AdShieldCDNDomains } from './keywords.js'
44

@@ -9,7 +9,7 @@ const UBOFilterListAdShieldKeys = {
99
}
1010

1111
export async function IndexAdShieldDomainsFromUBO(): Promise<Set<string>> {
12-
const FiltersListContent = await HTTPS2Request(new URL(UBOFilterListSpecificURL), { ExpectedAs: 'String' })
12+
const FiltersListContent = await SimpleSecureReq.Request(new URL(UBOFilterListSpecificURL), { ExpectedAs: 'String' })
1313
const AGTreeFiltersList = AGTree.FilterListParser.parse(FiltersListContent.Body)
1414
let StartingLine = -1
1515
let EndingLine = -1

builder/source/references/iabsellers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import * as Zod from 'zod'
2-
import { HTTPSRequest } from '@typescriptprime/securereq'
2+
import { SimpleSecureReq } from '@typescriptprime/securereq'
33

44

55
const IABSellersJsonURL = 'https://info.ad-shield.io/sellers.json'
66

77
export async function FetchIABSellersJsonData(): Promise<string[]> {
8-
const IABSellersJsonResponse = await HTTPSRequest(new URL(IABSellersJsonURL), { ExpectedAs: 'JSON' })
8+
const IABSellersJsonResponse = await SimpleSecureReq.Request(new URL(IABSellersJsonURL), { ExpectedAs: 'JSON' })
99
let IABSellersJsonData = IABSellersJsonResponse.Body as {
1010
// eslint-disable-next-line @typescript-eslint/naming-convention
1111
sellers: Array<{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"devDependencies": {
3535
"@typescript-eslint/eslint-plugin": "^8.58.0",
3636
"@typescript-eslint/parser": "^8.58.0",
37-
"eslint": "^10.1.0",
37+
"eslint": "^10.2.0",
3838
"typescript-eslint": "^8.58.0"
3939
}
4040
}

userscript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"lint": "tsc --noEmit && eslint **/*.ts"
77
},
88
"devDependencies": {
9-
"@types/web": "^0.0.342",
9+
"@types/web": "^0.0.345",
1010
"@typescript-eslint/eslint-plugin": "^8.58.0",
1111
"@typescript-eslint/parser": "^8.58.0",
12-
"eslint": "^10.1.0",
12+
"eslint": "^10.2.0",
1313
"typescript-eslint": "^8.58.0"
1414
},
1515
"dependencies": {

0 commit comments

Comments
 (0)