File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 "@tsdown/css" : " workspace:*" ,
9494 "@tsdown/exe" : " workspace:*" ,
9595 "@vitejs/devtools" : " *" ,
96- "publint" : " ^0.3.0 " ,
96+ "publint" : " ^0.3.8 " ,
9797 "tsx" : " *" ,
9898 "typescript" : " ^5.0.0 || ^6.0.0" ,
9999 "unplugin-unused" : " ^0.5.0" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export async function publint(
3535 options . publint . module ?. [ 1 ] ||
3636 ( await importWithError < typeof import ( 'publint/utils' ) > ( 'publint/utils' ) )
3737
38- const { messages } = await publint ( {
38+ const { messages, pkg } = await publint ( {
3939 ...options . publint ,
4040 pack : { tarball : tarball . buffer } ,
4141 } )
@@ -52,7 +52,7 @@ export async function publint(
5252 }
5353
5454 for ( const message of messages ) {
55- const formattedMessage = formatMessage ( message , options . pkg )
55+ const formattedMessage = formatMessage ( message , pkg )
5656 const logType = (
5757 { error : 'error' , warning : 'warn' , suggestion : 'info' } as const
5858 ) [ message . type ]
You can’t perform that action at this time.
0 commit comments