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

kaku-core

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kaku-core - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

3

models/track/BaseTrack.js

@@ -40,3 +40,4 @@ var UniqueId = require('../../modules/UniqueId');

'SoundCloudTrack': require('./SoundCloudTrack'),
'VimeoTrack': require('./VimeoTrack')
'VimeoTrack': require('./VimeoTrack'),
'MixCloudTrack': require('./MixCloudTrack')
};

@@ -43,0 +44,0 @@

@@ -18,3 +18,4 @@ const BaseTrack = require('./BaseTrack');

console.error(options);
} else {
}
else {
this.platformId = options.url.replace(this._trackUrlPrefix, '');

@@ -21,0 +22,0 @@

@@ -9,3 +9,6 @@ const request = require('request');

MixCloudSearcher.prototype.search = function(keyword, limit = 20) {
let queryURL = `https://api.mixcloud.com/search/?limit=${limit}&q=${keyword}&type=cloudcast`;
keyword = encodeURIComponent(keyword);
let type = 'cloudcast';
let queryURL =
`https://api.mixcloud.com/search/?limit=${limit}&q=${keyword}&type=${type}`;

@@ -17,3 +20,4 @@ return new Promise((resolve, reject) => {

reject(err);
} else {
}
else {
const rawTracks = JSON.parse(body);

@@ -20,0 +24,0 @@ const mixCloudTracks = rawTracks['data'].map(rawTrack => {

{
"name": "kaku-core",
"version": "0.0.10",
"version": "0.0.11",
"description": "This repo keeps shared scripts that can be reused in differnt clients",

@@ -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