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.6 to 0.1.7

2

bower.json
{
"name": "soundcloud-audio",
"main": "dist/soundcloud-audio.js",
"version": "0.1.5",
"version": "0.1.7",
"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",

@@ -23,2 +23,9 @@ 'use strict';

SoundCloud.prototype.appendQueryParam = function(url, param, value) {
var regex = /\?(?:.*)$/;
var chr = regex.test(url) ? '&' : '?';
return url + chr + param + '=' + value;
};
SoundCloud.prototype.resolve = function (url, callback) {

@@ -117,3 +124,3 @@ if (!url) {

src += '?client_id=' + this._clientId;
src = this.appendQueryParam(src, 'client_id', this._clientId);

@@ -120,0 +127,0 @@ if (src !== this.audio.src) {

{
"name": "soundcloud-audio",
"version": "0.1.6",
"version": "0.1.7",
"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