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 27
27
],
28
28
"sideEffects" : false ,
29
29
"type" : " module" ,
30
- "main" : " index.js" ,
31
- "types" : " index.d.ts" ,
30
+ "exports" : " ./index.js" ,
32
31
"files" : [
33
32
" lib/" ,
34
33
" index.d.ts" ,
Original file line number Diff line number Diff line change 1
1
import assert from 'node:assert/strict'
2
2
import test from 'node:test'
3
- import { atom , rss } from './index.js '
3
+ import { atom , rss } from 'xast-util-feed '
4
4
5
5
// Hack so the tests don’t need updating everytime…
6
6
const ODate = global . Date
@@ -19,7 +19,7 @@ function wrapperDate(value) {
19
19
20
20
test ( 'core' , async function ( t ) {
21
21
await t . test ( 'should expose the public api' , async function ( ) {
22
- assert . deepEqual ( Object . keys ( await import ( './index.js ' ) ) . sort ( ) , [
22
+ assert . deepEqual ( Object . keys ( await import ( 'xast-util-feed ' ) ) . sort ( ) , [
23
23
'atom' ,
24
24
'rss'
25
25
] )
You can’t perform that action at this time.
0 commit comments