File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
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 @@ -42,7 +42,7 @@ process.on('exit', function () {
4242
4343test ( 'unifiedDiff' , async function ( t ) {
4444 await t . test ( 'should expose the public api' , async function ( ) {
45- assert . deepEqual ( Object . keys ( await import ( '../index.js ' ) ) . sort ( ) , [
45+ assert . deepEqual ( Object . keys ( await import ( 'unified-diff ' ) ) . sort ( ) , [
4646 'default'
4747 ] )
4848 } )
Original file line number Diff line number Diff line change 55import { toString } from 'nlcst-to-string'
66import { ParseEnglish } from 'parse-english'
77import { unified } from 'unified'
8+ import unifiedDiff from 'unified-diff'
89import { visit } from 'unist-util-visit'
9- import unifiedDiff from '../index.js'
1010
1111// To do: use `retext-english`, `retext-stringify` when they are released.
1212// import retextEnglish from 'retext-english'
You can’t perform that action at this time.
0 commit comments