-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to GoogleSafeBrowsing class instead of functions (#22)
BREAKING CHANGE: Replaced functions with the GoogleSafeBrowsing class for cleaner and more structured code. Updated relevant tests and import statements to align with the new class-based implementation. Adjusted documentation in README to reflect these changes, providing examples and updated descriptions for using the new class.
- Loading branch information
Showing
14 changed files
with
412 additions
and
519 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
exclude_paths: | ||
- 'src/**/*.test.ts' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ node_modules/ | |
|
||
# macOS | ||
.DS_Store | ||
|
||
# environment variables | ||
.env* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,13 @@ | |
"sideEffects": false, | ||
"scripts": { | ||
"test": "vitest related src/*.ts", | ||
"test:prettier": "prettier --check ." | ||
"test:prettier": "prettier --check .", | ||
"test:types": "deno check src/index.ts" | ||
}, | ||
"author": { | ||
"name": "Khánh Hoàng", | ||
"email": "hi@khanh.sh", | ||
"url": "https://khanh.sh" | ||
"email": "hi@khanh.id", | ||
"url": "https://khanh.id" | ||
}, | ||
"license": "MIT", | ||
"keywords": [ | ||
|
@@ -24,11 +25,11 @@ | |
"url" | ||
], | ||
"devDependencies": { | ||
"@edge-runtime/vm": "3.2.0", | ||
"@types/node": "22.10.0", | ||
"prettier": "3.2.5", | ||
"typescript": "5.4.3", | ||
"vitest": "1.3.1" | ||
"@edge-runtime/vm": "4.0.4", | ||
"@types/node": "22.10.1", | ||
"prettier": "3.4.1", | ||
"typescript": "5.7.2", | ||
"vitest": "2.1.6" | ||
}, | ||
"packageManager": "[email protected].3" | ||
"packageManager": "[email protected].4" | ||
} |
Oops, something went wrong.