New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.5 to 2.0.6

11

dist/lib/apis.js

@@ -139,2 +139,13 @@ "use strict";

}
else if (track && !track["playerType"]) {
if (player === models_1.PlayerName.SpotifyWeb) {
track["playerType"] = models_1.PlayerType.WebSpotify;
}
else if (player === models_1.PlayerName.SpotifyDesktop) {
track["playerType"] = models_1.PlayerType.MacSpotifyDesktop;
}
else {
track["playerType"] = models_1.PlayerType.MacItunesDesktop;
}
}
return track;

@@ -141,0 +152,0 @@ }

2

dist/test/itunes/test.js

@@ -47,3 +47,3 @@ "use strict";

});
xit("Launch and test itunes track state", done => {
it("Launch and test itunes track state", done => {
CodyMusic.launchPlayer(CodyMusic.PlayerName.ItunesDesktop, {}).then(result => {

@@ -50,0 +50,0 @@ CodyMusic.getRunningTrack().then((track) => {

@@ -153,2 +153,10 @@ "use strict";

track = new Track();
} else if (track && !track["playerType"]) {
if (player === PlayerName.SpotifyWeb) {
track["playerType"] = PlayerType.WebSpotify;
} else if (player === PlayerName.SpotifyDesktop) {
track["playerType"] = PlayerType.MacSpotifyDesktop;
} else {
track["playerType"] = PlayerType.MacItunesDesktop;
}
}

@@ -155,0 +163,0 @@

{
"name": "cody-music",
"version": "2.0.5",
"version": "2.0.6",
"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",

@@ -43,3 +43,3 @@ import { MusicUtil } from "../../lib/util";

xit("Launch and test itunes track state", done => {
it("Launch and test itunes track state", done => {
CodyMusic.launchPlayer(CodyMusic.PlayerName.ItunesDesktop, {}).then(

@@ -46,0 +46,0 @@ result => {

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