Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
use htmlrewriter package
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfriesen committed Jan 5, 2024
1 parent f1516fc commit 8d90edf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
20 changes: 15 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
},
"dependencies": {
"@qpoint/router": "^0.2.1",
"htmlrewriter": "^0.0.4"
"@qpoint/htmlrewriter": "^0.0.1"
}
}
4 changes: 1 addition & 3 deletions src/endpoint-harness.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Router, { Context } from '@qpoint/router';
import { HTMLRewriter } from 'htmlrewriter';
import { Queue } from './queue';

(globalThis as any).HTMLRewriter = HTMLRewriter;
import '@qpoint/htmlrewriter';

/**
* The `EndpointHarness` class is designed for testing Qpoint middleware. It features a router
Expand Down

0 comments on commit 8d90edf

Please sign in to comment.