From 1e979a252c513ca24ffdff47f776a8679ae8d017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=C3=A1nh=20Ho=C3=A0ng?= Date: Fri, 1 Mar 2024 16:22:43 +0700 Subject: [PATCH] fix(test): correct lookup.ts file import Update keywords in package.json and README.md --- README.md | 2 +- package.json | 30 ++++++------------------------ src/lookup.test.ts | 2 +- 3 files changed, 8 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index db24254..158c004 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index 20cd499..8130fe7 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/lookup.test.ts b/src/lookup.test.ts index e80daba..f479d6c 100644 --- a/src/lookup.test.ts +++ b/src/lookup.test.ts @@ -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