File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
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 11import assert from 'node:assert/strict'
22import test from 'node:test'
3- import { stringifyPosition } from './index.js '
3+ import { stringifyPosition } from 'unist-util-stringify-position '
44
55test ( 'stringifyPosition' , async function ( t ) {
66 await t . test ( 'should expose the public api' , async function ( ) {
7- assert . deepEqual ( Object . keys ( await import ( './index.js' ) ) . sort ( ) , [
8- 'stringifyPosition'
9- ] )
7+ assert . deepEqual (
8+ Object . keys ( await import ( 'unist-util-stringify-position' ) ) . sort ( ) ,
9+ [ 'stringifyPosition' ]
10+ )
1011 } )
1112
1213 await t . test (
You can’t perform that action at this time.
0 commit comments