Socket
Socket
Sign inDemoInstall

remark-html

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-html - npm Package Compare versions

Comparing version 15.0.1 to 15.0.2

17

index.d.ts

@@ -1,7 +0,10 @@

/**
* Plugin to serialize markdown as HTML.
*
* @type {import('unified').Plugin<[Options?]|void[], Root, string>}
*/
export default function remarkHtml(settings?: void | Options | undefined): void
export default function remarkHtml(
this: import('unified').Processor<
void,
import('mdast').Root,
import('mdast').Root,
string
>,
...settings: [(Options | undefined)?] | []
): void
export type Root = import('mdast').Root

@@ -24,4 +27,4 @@ export type Schema = import('hast-util-sanitize').Schema

*/
handlers?: import('mdast-util-to-hast/lib').Handlers | undefined
handlers?: import('mdast-util-to-hast').Handlers | undefined
}
export type Options = import('hast-util-to-html').Options & ExtraOptionsFields

@@ -22,3 +22,4 @@ /**

*
* @type {import('unified').Plugin<[Options?]|void[], Root, string>}
* @this {import('unified').Processor}
* @type {import('unified').Plugin<[Options?] | [], Root, string>}
*/

@@ -25,0 +26,0 @@ export default function remarkHtml(settings = {}) {

{
"name": "remark-html",
"version": "15.0.1",
"version": "15.0.2",
"description": "remark plugin to compile Markdown to HTML",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -81,13 +81,13 @@ # remark-html

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:
```js
import remarkHtml from 'https://cdn.skypack.dev/remark-html@15?dts'
import remarkHtml from 'https://esm.sh/remark-html@15'
```
In browsers with [Skypack][]:
In browsers with [`esm.sh`][esmsh]:
```html
<script type="module">
import remarkHtml from 'https://cdn.skypack.dev/remark-html@15?min'
import remarkHtml from 'https://esm.sh/remark-html@15?bundle'
</script>

@@ -247,3 +247,3 @@ ```

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

@@ -250,0 +250,0 @@ [health]: https://github.com/remarkjs/.github

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc