File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2727 ],
2828 "sideEffects" : false ,
2929 "type" : " module" ,
30- "main" : " index.js" ,
31- "types" : " index.d.ts" ,
30+ "exports" : " ./index.js" ,
3231 "files" : [
3332 " lib/" ,
3433 " index.d.ts" ,
Original file line number Diff line number Diff line change 11/**
22 * @typedef {import('mdast').Root } Root
33 * @typedef {import('mdast-util-from-markdown').Options } FromMarkdownOptions
4- * @typedef {import('../index.js ').Options } Options
4+ * @typedef {import('mdast-util-to-nlcst ').Options } Options
55 */
66
77/**
@@ -19,18 +19,18 @@ import {isHidden} from 'is-hidden'
1919import { fromMarkdown } from 'mdast-util-from-markdown'
2020import { frontmatterFromMarkdown } from 'mdast-util-frontmatter'
2121import { gfmFromMarkdown } from 'mdast-util-gfm'
22+ import { toNlcst } from 'mdast-util-to-nlcst'
2223import { frontmatter } from 'micromark-extension-frontmatter'
2324import { gfm } from 'micromark-extension-gfm'
2425import { ParseLatin } from 'parse-latin'
2526import { ParseDutch } from 'parse-dutch'
2627import { ParseEnglish } from 'parse-english'
2728import { read } from 'to-vfile'
2829import { VFile } from 'vfile'
29- import { toNlcst } from '../index.js'
3030
3131test ( 'toNlcst' , async function ( t ) {
3232 await t . test ( 'should expose the public api' , async function ( ) {
33- assert . deepEqual ( Object . keys ( await import ( '../index.js ' ) ) . sort ( ) , [
33+ assert . deepEqual ( Object . keys ( await import ( 'mdast-util-to-nlcst ' ) ) . sort ( ) , [
3434 'toNlcst'
3535 ] )
3636 } )
You can’t perform that action at this time.
0 commit comments