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 2525 ],
2626 "sideEffects" : false ,
2727 "type" : " module" ,
28- "main" : " index.js" ,
29- "types" : " index.d.ts" ,
28+ "exports" : " ./index.js" ,
3029 "files" : [
3130 " lib/" ,
3231 " index.d.ts" ,
Original file line number Diff line number Diff line change 11import assert from 'node:assert/strict'
22import test from 'node:test'
33import { h } from 'hastscript'
4+ import { phrasing } from 'hast-util-phrasing'
45import { u } from 'unist-builder'
5- import { phrasing } from './index.js'
66
77test ( 'phrasing()' , async function ( t ) {
88 await t . test ( 'should expose the public api' , async function ( ) {
9- assert . deepEqual ( Object . keys ( await import ( './index.js ' ) ) . sort ( ) , [
9+ assert . deepEqual ( Object . keys ( await import ( 'hast-util-phrasing ' ) ) . sort ( ) , [
1010 'phrasing'
1111 ] )
1212 } )
You can’t perform that action at this time.
0 commit comments