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.8.5 to 2.8.6

10

dist/lib/controller.js

@@ -129,2 +129,12 @@ "use strict";

launchResult = await this.startWindowsPlayer("%APPDATA%/Spotify/Spotify.exe");
if (launchResult && launchResult.error) {
// try it with START
launchResult = await this.startWindowsPlayer("START SPOTIFY");
if (launchResult && launchResult.error) {
launchResult = await this.startWindowsPlayer("spotify");
if (launchResult && launchResult.error) {
launchResult = await this.startWindowsPlayer("spotify.exe");
}
}
}
}

@@ -131,0 +141,0 @@ return launchResult;

2

dist/test/spotify/test.js

@@ -97,2 +97,4 @@ "use strict";

expect(songName).to.not.equal("");
const runningTrack = await CodyMusic.getRunningTrack();
console.log("running track from the desktop: ", runningTrack);
result = await CodyMusic.getState(CodyMusic.PlayerName.SpotifyWeb);

@@ -99,0 +101,0 @@ songName = result.name;

@@ -148,2 +148,16 @@ import { MusicUtil } from "./util";

);
if (launchResult && launchResult.error) {
// try it with START
launchResult = await this.startWindowsPlayer(
"START SPOTIFY"
);
if (launchResult && launchResult.error) {
launchResult = await this.startWindowsPlayer("spotify");
if (launchResult && launchResult.error) {
launchResult = await this.startWindowsPlayer(
"spotify.exe"
);
}
}
}
}

@@ -150,0 +164,0 @@ return launchResult;

2

package.json
{
"name": "cody-music",
"version": "2.8.5",
"version": "2.8.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",

@@ -6,2 +6,3 @@ const expect = require("chai").expect;

import { TestUtil } from "../util";
import { Track } from "../../lib/models";

@@ -101,2 +102,5 @@ const testUtil = new TestUtil();

const runningTrack: Track = await CodyMusic.getRunningTrack();
console.log("running track from the desktop: ", runningTrack);
result = await CodyMusic.getState(

@@ -103,0 +107,0 @@ CodyMusic.PlayerName.SpotifyWeb

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