@solely/simple-fm
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -161,3 +161,3 @@ import { convertImageSizes, createLastFmURL } from '../utils/convert.js'; | ||
tracks: trackMatches.map((track) => ({ | ||
dateAdded: new Date(Number(track.date.uts) * 1000), | ||
dateAdded: track.date ? new Date(Number(track.date.uts) * 1000) : undefined, | ||
name: track.name, | ||
@@ -164,0 +164,0 @@ mbid: track.mbid === '' ? undefined : track.mbid, |
@@ -78,3 +78,3 @@ import type { ArtistResponse, AlbumResponse, AttrResponse, ImageResponse, TagResponse, TrackResponse, UserResponse } from './index.js'; | ||
'#text': string; | ||
}; | ||
} | undefined; | ||
'@attr'?: { | ||
@@ -81,0 +81,0 @@ nowplaying: string; |
@@ -48,3 +48,3 @@ import type { AlbumType, ArtistType, ImageType, PersonalTag, SearchMeta, TagType, TrackType, UserType } from './index.js'; | ||
tracks: Array<TrackType & { | ||
dateAdded: Date; | ||
dateAdded: Date | undefined; | ||
mbid?: string; | ||
@@ -51,0 +51,0 @@ album: { |
{ | ||
"name": "@solely/simple-fm", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"license": "Zlib", | ||
@@ -5,0 +5,0 @@ "author": "Chloe Arciniega <solely@riseup.net> (https://arciniega.one)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90625