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 3030 ],
3131 "sideEffects" : false ,
3232 "type" : " module" ,
33- "main" : " index.js" ,
34- "types" : " index.d.ts" ,
33+ "exports" : " ./index.js" ,
3534 "files" : [
3635 " lib/" ,
3736 " index.d.ts" ,
Original file line number Diff line number Diff line change 55import assert from 'node:assert/strict'
66import test from 'node:test'
77import stringWidth from 'string-width'
8+ import { gfmTable } from 'micromark-extension-gfm-table'
89import { fromMarkdown } from 'mdast-util-from-markdown'
10+ import { gfmTableFromMarkdown , gfmTableToMarkdown } from 'mdast-util-gfm-table'
911import { toMarkdown } from 'mdast-util-to-markdown'
1012import { removePosition } from 'unist-util-remove-position'
11- import { gfmTable } from 'micromark-extension-gfm-table'
12- import { gfmTableFromMarkdown , gfmTableToMarkdown } from './index.js'
1313
1414test ( 'core' , async function ( t ) {
1515 await t . test ( 'should expose the public api' , async function ( ) {
16- assert . deepEqual ( Object . keys ( await import ( './index.js ' ) ) . sort ( ) , [
16+ assert . deepEqual ( Object . keys ( await import ( 'mdast-util-gfm-table ' ) ) . sort ( ) , [
1717 'gfmTableFromMarkdown' ,
1818 'gfmTableToMarkdown'
1919 ] )
You can’t perform that action at this time.
0 commit comments