
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
hyperhtml-serializer
Advanced tools
Jest snapshot serializer that beautifies hyperHTML snapshots.
This version is working with hyperhtml version >=2.19
For hyperhtml@2.4 - 2.18 versions consult the 1.x branch
This serializer it made to remove :
_hyper comments like <!--_hyper: (\d+);-->Before :
<foo-hyper-app>
<!-- This is my comment -->
<h1>Hello hyperHTML !</h1>
<!--_hyper: 123546789;-->
<h1>Hello world !</h1>
<!--_hyper: 123546789;-->
</foo-hyper-app>
After :
<foo-hyper-app>
<!-- This is my comment -->
<h1>Hello hyperHTML !</h1>
<h1>Hello world !</h1>
</foo-hyper-app>
$ npm install --save-dev hyperhtml-serializer
# or
$ yarn add -D hyperhtml-serializer
Add in your package.json.
{
"jest": {
"snapshotSerializers": ["hyperhtml-serializer"]
}
}
Copyright © 2018 Douglas Duteil <douglasduteil@gmail.com>
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See the LICENCE file for more details.
FAQs
Jest snapshot serializer that beautifies hyperHTML snapshots.
We found that hyperhtml-serializer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.