BREAKING CHANGE(UrlHaus): Rename UrlHouse to UrlHaus (public API change), migrate dev dependencies to @git.zone, bump runtime deps, adjust TS module resolution, and update tests/docs.

This commit is contained in:
2025-11-22 17:07:12 +00:00
parent 83fab5dbd3
commit 89b51ff9f7
13 changed files with 9022 additions and 4105 deletions

View File

@@ -1,23 +1,25 @@
import { expect, expectAsync, tap } from '@push.rocks/tapbundle';
import { tap, expect } from '@git.zone/tstest/tapbundle';
import * as abuseCh from '../ts/index.js';
tap.test('should deal with UrlHouse data', async () => {
const urlHouse = new abuseCh.UrlHouse();
const data = await urlHouse.getData();
tap.test('should deal with UrlHaus data', async () => {
const urlHaus = new abuseCh.UrlHaus();
const data = await urlHaus.getData();
console.log(data.length);
console.log(data[100]);
});
tap.test('should deal with UrlHouse data', async () => {
tap.test('should deal with ThreatFox data', async () => {
const threatFox = new abuseCh.ThreatFox();
const data = await threatFox.getData();
console.log(data.length);
console.log(data[100]);
});
tap.test('should deal with FeodoTracker data', async () => {
const feodoTracker = new abuseCh.FeodoTracker();
const data = await feodoTracker.getData();
console.log(data.length);
console.log(data[1]);
console.log(data[100]);
});
tap.start();
export default tap.start();