diff --git a/package/lib/utils.ts b/package/lib/utils.ts index a97a833..20f17d4 100644 --- a/package/lib/utils.ts +++ b/package/lib/utils.ts @@ -1,10 +1,7 @@ /**@ts-expect-error */ import { renderJSX } from "astro/runtime/server/jsx"; import { jsx as h } from "astro/jsx-runtime"; - import { transform } from "ultrahtml"; -/**@ts-expect-error */ -//This Will get removed once the export is fixed. still works with error! import { __unsafeHTML } from "ultrahtml"; import sanitize from "ultrahtml/transformers/sanitize"; import swap from "ultrahtml/transformers/swap"; diff --git a/package/package.json b/package/package.json index dd513dc..2a528ed 100644 --- a/package/package.json +++ b/package/package.json @@ -48,7 +48,7 @@ "marked": "^12.0.0", "marked-footnote": "^1.2.2", "marked-smartypants": "^1.1.6", - "ultrahtml": "^1.5.2" + "ultrahtml": "^1.5.3" }, "devDependencies": { "astro": "^4.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d70dbb9..01bed24 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: ^1.1.6 version: 1.1.6(marked@12.0.0) ultrahtml: - specifier: ^1.5.2 - version: 1.5.2 + specifier: ^1.5.3 + version: 1.5.3 devDependencies: astro: specifier: ^4.0.0 @@ -4254,8 +4254,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - /ultrahtml@1.5.2: - resolution: {integrity: sha512-qh4mBffhlkiXwDAOxvSGxhL0QEQsTbnP9BozOK3OYPEGvPvdWzvAUaXNtUSMdNsKDtuyjEbyVUPFZ52SSLhLqw==} + /ultrahtml@1.5.3: + resolution: {integrity: sha512-GykOvZwgDWZlTQMtp5jrD4BVL+gNn2NVlVafjcFUJ7taY20tqYdwdoWBFy6GBJsNTZe1GkGPkSl5knQAjtgceg==} dev: false /unbox-primitive@1.0.2: