
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@owngames/spotify
Advanced tools
@owngames/spotifyCustom API for ygorluizgerald.com/music.
nowPlaying: Current TracktopArtists: Top ArtiststopTracks: Top TracksMust provide:
const {
SPOTIFY_CLIENT_ID: clientId,
SPOTIFY_CLIENT_SECRET: clientSecret,
SPOTIFY_REFRESH_TOKEN: refreshToken,
} = process.env
const credentials = {
clientId,
clientSecret,
refreshToken,
}
const spotify: ClientProps = new Client({ ...credentials })
This will get the Authorization Token for the Bearer and consistently apply for API calls on your behalf.
📝️ Note: Need to verify w. 2.0.1 release what happens if the token expires 😅️ (before we were getting the token on every request)
Following functions are exposed via spotify.get.*:
nowPlaying: Current TracktopArtists: Top ArtiststopTracks: Top TracksExample:
spotify.get.topArtists({
limit,
offset,
time_range,
withImages: true,
})
artistFor a track we create an artist key that maps across all available artists[artist.name].
withImagesIf this is passed we dynamically use plaiceholder to add an image key to:
nowPlaying: albumtopArtists: artisttopTracks: albumOnly call this via an API call.
FAQs
Spotify Wrapper for: Now Playing, Top Artists, & Top Tracks
We found that @owngames/spotify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.