Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cody-music

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cody-music - npm Package Compare versions

Comparing version 2.9.1 to 2.9.2

5

dist/lib/playerstate.js

@@ -71,2 +71,5 @@ "use strict";

async getSpotifyDevices(clearCache = false) {
if (clearCache) {
cacheMgr.set("spotify-devices", null);
}
const accessToken = musicStore.spotifyAccessToken;

@@ -77,3 +80,3 @@ if (!accessToken) {

let devices = cacheMgr.get("spotify-devices");
if (!clearCache && devices && devices.length) {
if (devices && devices.length) {
return devices;

@@ -80,0 +83,0 @@ }

@@ -87,2 +87,5 @@ import { MusicUtil } from "./util";

): Promise<PlayerDevice[]> {
if (clearCache) {
cacheMgr.set("spotify-devices", null);
}
const accessToken = musicStore.spotifyAccessToken;

@@ -93,3 +96,3 @@ if (!accessToken) {

let devices = cacheMgr.get("spotify-devices");
if (!clearCache && devices && devices.length) {
if (devices && devices.length) {
return devices;

@@ -96,0 +99,0 @@ }

2

package.json
{
"name": "cody-music",
"version": "2.9.1",
"version": "2.9.2",
"description": "mac osx spotify and itunes music player controller, spotify audio features, itunes and spotify genre, and playlist control",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc