@qpoint/rewrite-html
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,4 +0,4 @@ | ||
import { Context } from '@qpoint/router'; | ||
import { Context } from '@qpoint/endpoint'; | ||
export interface RewriteHtmlConfig { | ||
} | ||
export default function rewriteHtml(config?: RewriteHtmlConfig): (context: Context, next: Function) => any; |
{ | ||
"name": "@qpoint/rewrite-html", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A Qpoint adapter for rewriting the response html using the HtmlRewriter rules", | ||
@@ -21,3 +21,3 @@ "author": "Tyler Flint <tyler@qpoint.io>", | ||
"dependencies": { | ||
"@qpoint/router": "^0.2.0" | ||
"@qpoint/endpoint": "^0.0.1" | ||
}, | ||
@@ -27,4 +27,4 @@ "devDependencies": { | ||
"@types/node": "^17.0.25", | ||
"typescript": "^4.6.3" | ||
"typescript": "^4.9.5" | ||
} | ||
} |
@@ -10,6 +10,6 @@ # qpoint-rewrite-html | ||
```ts | ||
import Router from "@qpoint/router"; | ||
import Endpoint from "@qpoint/endpoint"; | ||
import rewriteHtml from "@qpoint/rewrite-html"; | ||
export default new Router() | ||
export default new Endpoint() | ||
.use(rewriteHtml()) | ||
@@ -16,0 +16,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14014
1
+ Added@qpoint/endpoint@^0.0.1
+ Added@qpoint/endpoint@0.0.1(transitive)
- Removed@qpoint/router@^0.2.0
- Removed@qpoint/router@0.2.1(transitive)