File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
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 @@ -7,11 +7,11 @@ import fs from 'node:fs/promises'
77import process from 'node:process'
88import test from 'node:test'
99import { isHidden } from 'is-hidden'
10- import { fromXml } from '../index.js '
10+ import { fromXml } from 'xast-util-from-xml '
1111
1212test ( 'fromXml' , async function ( t ) {
1313 await t . test ( 'should expose the public api' , async function ( ) {
14- assert . deepEqual ( Object . keys ( await import ( '../index.js ' ) ) . sort ( ) , [
14+ assert . deepEqual ( Object . keys ( await import ( 'xast-util-from-xml ' ) ) . sort ( ) , [
1515 'fromXml'
1616 ] )
1717 } )
You can’t perform that action at this time.
0 commit comments