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

soundcloud-audio

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soundcloud-audio - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

bower.json
{
"name": "soundcloud-audio",
"main": "dist/soundcloud-audio.js",
"version": "0.1.2",
"version": "0.1.4",
"homepage": "https://github.com/voronianski/soundcloud-audio.js",

@@ -6,0 +6,0 @@ "description": "Play SoundCloud tracks and playslists in modern browsers with HTML5 Audio API",

@@ -131,3 +131,7 @@ 'use strict';

SoundCloud.prototype.next = function () {
if (this._playlist && this._playlist.tracks.length) {
var tracksLength = this._playlist.tracks.length;
if (this._playlistIndex >= tracksLength-1) {
return;
}
if (this._playlist && tracksLength) {
this.play({playlistIndex: ++this._playlistIndex});

@@ -138,2 +142,5 @@ }

SoundCloud.prototype.previous = function () {
if (this._playlistIndex <= 0) {
return;
}
if (this._playlist && this._playlist.tracks.length) {

@@ -140,0 +147,0 @@ this.play({playlistIndex: --this._playlistIndex});

{
"name": "soundcloud-audio",
"version": "0.1.3",
"version": "0.1.4",
"description": "Play SoundCloud tracks and playslists in modern browsers with HTML5 Audio API",

@@ -5,0 +5,0 @@ "main": "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