File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2828 ],
2929 "sideEffects" : false ,
3030 "type" : " module" ,
31- "main" : " index.js" ,
32- "types" : " index.d.ts" ,
31+ "exports" : " ./index.js" ,
3332 "files" : [
3433 " lib/" ,
3534 " index.d.ts" ,
Original file line number Diff line number Diff line change 11/**
2- * @typedef {import('../index. js').Plugin } Plugin
2+ * @typedef {import('esast-util-from- js').Plugin } Plugin
33 */
44
55import assert from 'node:assert/strict'
@@ -8,11 +8,11 @@ import test from 'node:test'
88import jsx from 'acorn-jsx'
99// @ts -expect-error: untyped.
1010import stage3 from 'acorn-stage3'
11- import { fromJs } from '../index. js'
11+ import { fromJs } from 'esast-util-from- js'
1212
1313test ( 'fromJs' , async function ( t ) {
1414 await t . test ( 'should expose the public api' , async function ( ) {
15- assert . deepEqual ( Object . keys ( await import ( '../index. js' ) ) . sort ( ) , [
15+ assert . deepEqual ( Object . keys ( await import ( 'esast-util-from- js' ) ) . sort ( ) , [
1616 'fromJs'
1717 ] )
1818 } )
You can’t perform that action at this time.
0 commit comments