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 2424 ],
2525 "sideEffects" : false ,
2626 "type" : " module" ,
27- "main" : " index.js" ,
28- "types" : " index.d.ts" ,
27+ "exports" : " ./index.js" ,
2928 "files" : [
3029 " lib/" ,
3130 " index.d.ts" ,
Original file line number Diff line number Diff line change 55
66import assert from 'node:assert/strict'
77import test from 'node:test'
8+ import { isLiteral } from 'nlcst-is-literal'
89import { ParseEnglish } from 'parse-english'
910import { visit } from 'unist-util-visit'
10- import { isLiteral } from './index.js'
1111
1212test ( 'isLiteral' , 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 ( 'nlcst-is-literal ' ) ) . sort ( ) , [
1515 'isLiteral'
1616 ] )
1717 } )
You can’t perform that action at this time.
0 commit comments