Skip to content

Commit

Permalink
fix(test): correct lookup.ts file import
Browse files Browse the repository at this point in the history
Update keywords in package.json and README.md
  • Loading branch information
hckhanh committed Mar 1, 2024
1 parent a283319 commit 1e979a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ You can go to [Releases](https://github.com/hckhanh/google-safe-browsing/release

> [!NOTE]
> The Safe Browsing API is for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial
> purposes - meaning 'for sale or revenue-generating purposes' - please refer to the [Web Risk API](https://github.com/hckhanh/web-risk).
> purposes - meaning 'for sale or revenue-generating purposes' - please refer to the [Web Risk API](https://github.com/hckhanh/google-web-risk).
30 changes: 6 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,12 @@
},
"license": "MIT",
"keywords": [
"reader",
"read",
"number",
"vn",
"vietnam",
"vietnamese",
"vietnamese-language",
"vietnamese-currency",
"currency",
"vnd",
"vn-lang",
"lang",
"language",
"languages",
"language-processing",
"text-generation",
"helper",
"helpers",
"helpers-library",
"helper-tool",
"helper-methods",
"helper-class",
"helper-functions",
"helper-script"
"google",
"safe browsing",
"browsing",
"safe",
"api",
"url"
],
"devDependencies": {
"@edge-runtime/vm": "3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lookup.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest'
import { findThreadMatches } from './lookup.js'
import { findThreadMatches } from './lookup.ts'

const apiKey = process.env.GOOGLE_SAFE_BROWSING_API_KEY as string

Expand Down

0 comments on commit 1e979a2

Please sign in to comment.