Socket
Socket
Sign inDemoInstall

remark-parse

Package Overview
Dependencies
46
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.1 to 10.0.2

5

index.d.ts

@@ -6,4 +6,5 @@ // This wrapper exists because JS in TS can’t export a `@type` of a function.

declare const remarkParse: Plugin<[Options?] | void[], string, Root>
declare const remarkParse: Plugin<[(Options | undefined)?], string, Root>
export default remarkParse
export type {Options}
export type {Options} from './lib/index.js'

4

index.js

@@ -1,3 +0,1 @@

import remarkParse from './lib/index.js'
export default remarkParse
export {default} from './lib/index.js'

@@ -1,6 +0,11 @@

/** @type {import('unified').Plugin<[Options?] | void[], string, Root>} */
export default function remarkParse(
options: void | import('mdast-util-from-markdown/lib').Options | undefined
this: import('unified').Processor<
import('mdast').Root,
import('mdast').Root,
void,
void
>,
...settings: [import('mdast-util-from-markdown').Options?] | void[]
): void
export type Root = import('mdast').Root
export type Options = import('mdast-util-from-markdown').Options

@@ -8,3 +8,6 @@ /**

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

@@ -11,0 +14,0 @@ /** @type {import('unified').ParserFunction<Root>} */

{
"name": "remark-parse",
"version": "10.0.1",
"version": "10.0.2",
"description": "remark plugin to add support for parsing markdown input",

@@ -49,4 +49,3 @@ "license": "MIT",

"scripts": {
"test": "node --conditions development test.js",
"build": "rimraf \"test.d.ts\" \"lib/**/*.d.ts\" && tsc && type-coverage"
"test": "node --conditions development test.js"
},

@@ -53,0 +52,0 @@ "xo": false,

@@ -80,13 +80,13 @@ # remark-parse

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

@@ -278,5 +278,13 @@ ```

<td width="20%" align="center" rowspan="2" colspan="2">
<a href="https://www.gitbook.com">GitBook</a><br><br>
<a href="https://www.gitbook.com"><img src="https://avatars1.githubusercontent.com/u/7111340?s=256&v=4" width="128"></a>
</td>
<td width="20%" align="center" rowspan="2" colspan="2">
<a href="https://www.gatsbyjs.org">Gatsby</a><br><br>
<a href="https://www.gatsbyjs.org"><img src="https://avatars1.githubusercontent.com/u/12551863?s=256&v=4" width="128"></a>
</td>
</tr>
<tr valign="middle">
</tr>
<tr valign="middle">
<td width="20%" align="center" rowspan="2" colspan="2">

@@ -287,6 +295,2 @@ <a href="https://www.netlify.com">Netlify</a><br><br>

</td>
</tr>
<tr valign="middle">
</tr>
<tr valign="middle">
<td width="10%" align="center">

@@ -305,4 +309,4 @@ <a href="https://www.coinbase.com">Coinbase</a><br><br>

<td width="10%" align="center">
<a href="https://boosthub.io">Boost Hub</a><br><br>
<a href="https://boosthub.io"><img src="https://images.opencollective.com/boosthub/6318083/logo/128.png" width="64"></a>
<a href="https://boostnote.io">Boost Note</a><br><br>
<a href="https://boostnote.io"><img src="https://images.opencollective.com/boosthub/6318083/logo/128.png" width="64"></a>
</td>

@@ -316,7 +320,5 @@ <td width="10%" align="center">

<td width="10%"></td>
<td width="10%"></td>
<td width="10%"></td>
</tr>
<tr valign="middle">
<td width="100%" align="center" colspan="10">
<td width="100%" align="center" colspan="8">
<br>

@@ -377,3 +379,3 @@ <a href="https://opencollective.com/unified"><strong>You?</strong></a>

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

@@ -380,0 +382,0 @@ [unified]: https://github.com/unifiedjs/unified

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc