File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 "hash-wasm" : " ^4.12.0" ,
2323 "history" : " ^5.3.0" ,
2424 "json-diff-kit" : " ^1.0.35" ,
25- "react" : " ^19.2.4 " ,
26- "react-dom" : " ^19.2.4 " ,
25+ "react" : " ^19.2.5 " ,
26+ "react-dom" : " ^19.2.5 " ,
2727 "react-router-dom" : " ^7.14.0" ,
2828 "ua-parser-js" : " ^2.0.9" ,
2929 "vanilla-jsoneditor" : " ^3.12.0" ,
3737 "@types/react" : " ^19" ,
3838 "@types/react-dom" : " ^19" ,
3939 "@types/react-router-dom" : " ^5.3.3" ,
40- "@typescript/native-preview" : " ^7.0.0-dev.20260407 .1" ,
40+ "@typescript/native-preview" : " ^7.0.0-dev.20260408 .1" ,
4141 "mitata" : " ^1.0.34" ,
4242 "tailwindcss" : " ^4.2.2" ,
4343 "typescript" : " ^6.0.2"
Original file line number Diff line number Diff line change @@ -18,8 +18,12 @@ const buildPackageMetricValue = ({
1818 buildTime,
1919} : Pick < Package , 'name' | 'buildTime' > ) => `${ name } _${ buildTime || 'unknown' } ` ;
2020
21- const isZeroTimestamp = ( timestamp : string ) => {
21+ const isIgnoredTimestamp = ( timestamp : string ) => {
2222 const normalizedTimestamp = timestamp . trim ( ) ;
23+ if ( normalizedTimestamp === 'unknown' ) {
24+ return true ;
25+ }
26+
2327 return normalizedTimestamp !== '' && Number ( normalizedTimestamp ) === 0 ;
2428} ;
2529
@@ -87,7 +91,7 @@ export const getPackageTimestampWarnings = ({
8791 const timestamp = metricValue . startsWith ( `${ matchedPackage . pkg . name } _` )
8892 ? metricValue . slice ( matchedPackage . pkg . name . length + 1 ) || 'unknown'
8993 : metricValue ;
90- if ( isZeroTimestamp ( timestamp ) ) {
94+ if ( isIgnoredTimestamp ( timestamp ) ) {
9195 continue ;
9296 }
9397 const currentWarningTimestamps =
You can’t perform that action at this time.
0 commit comments