File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3131 ],
3232 "sideEffects" : false ,
3333 "type" : " module" ,
34- "main" : " index.js" ,
35- "types" : " index.d.ts" ,
34+ "exports" : " ./index.js" ,
3635 "files" : [
3736 " lib/" ,
3837 " index.d.ts" ,
Original file line number Diff line number Diff line change 66import assert from 'node:assert/strict'
77import test from 'node:test'
88import { u } from 'unist-builder'
9- import { remove } from './index.js '
9+ import { remove } from 'unist-util-remove '
1010
1111test ( 'remove' , async function ( t ) {
1212 await t . test ( 'should expose the public api' , async function ( ) {
13- assert . deepEqual ( Object . keys ( await import ( './index.js' ) ) . sort ( ) , [ 'remove' ] )
13+ assert . deepEqual ( Object . keys ( await import ( 'unist-util-remove' ) ) . sort ( ) , [
14+ 'remove'
15+ ] )
1416 } )
1517
1618 await t . test ( 'should compare nodes by partial properties' , function ( ) {
You can’t perform that action at this time.
0 commit comments