"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/hoppscotch-app/helpers/lenses/htmlLens.ts" between
hoppscotch-2.2.1.tar.gz and hoppscotch-3.0.0.tar.gz

About: Hoppscotch is a light-weight, web based API development suite.

htmlLens.ts  (hoppscotch-2.2.1):htmlLens.ts  (hoppscotch-3.0.0)
import { defineAsyncComponent } from "vue"
import { Lens } from "./lenses" import { Lens } from "./lenses"
const htmlLens: Lens = { const htmlLens: Lens = {
lensName: "response.html", lensName: "response.html",
isSupportedContentType: (contentType) => isSupportedContentType: (contentType) =>
/\btext\/html|application\/xhtml\+xml\b/i.test(contentType), /\btext\/html|application\/xhtml\+xml\b/i.test(contentType),
renderer: "htmlres", renderer: "htmlres",
rendererImport: () => rendererImport: defineAsyncComponent(
import("~/components/lenses/renderers/HTMLLensRenderer.vue"), () => import("~/components/lenses/renderers/HTMLLensRenderer.vue")
),
} }
export default htmlLens export default htmlLens
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)