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

NeteaseCloudMusicApi

Package Overview
Dependencies
Maintainers
1
Versions
336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NeteaseCloudMusicApi - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

4

build/component/getArtistAlbums.js

@@ -19,4 +19,4 @@ 'use strict';

var getArtistAlbums = function getArtistAlbums(id, callback) {
var limit = arguments.length <= 2 || arguments[2] === undefined ? 3 : arguments[2];
var offset = arguments.length <= 3 || arguments[3] === undefined ? 0 : arguments[3];
var limit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
var offset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;

@@ -23,0 +23,0 @@ var option = (0, _util.deepCopy)(_config.globalOption);

@@ -19,4 +19,4 @@ 'use strict';

var lrc = function lrc(id) {
var callback = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
var lv = arguments.length <= 2 || arguments[2] === undefined ? -1 : arguments[2];
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
var lv = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;

@@ -23,0 +23,0 @@ var option = (0, _util.deepCopy)(_config.globalOption);

@@ -19,10 +19,10 @@ 'use strict';

var search = function search() {
var name = arguments.length <= 0 || arguments[0] === undefined ? null : arguments[0];
var callback = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
var onlySong = arguments.length <= 2 || arguments[2] === undefined ? true : arguments[2];
var limit = arguments.length <= 3 || arguments[3] === undefined ? 3 : arguments[3];
var offset = arguments.length <= 4 || arguments[4] === undefined ? 0 : arguments[4];
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
var onlySong = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
var limit = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 3;
var offset = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
var option = (0, _util.deepCopy)(_config.globalOption);
var url = _config.origin + '/api/search/suggest/web';
var url = _config.origin + '/api/search/get';
var form = {

@@ -29,0 +29,0 @@ s: name,

@@ -19,3 +19,3 @@ 'use strict';

var song = function song(id) {
var callback = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;

@@ -22,0 +22,0 @@ var option = (0, _util.deepCopy)(_config.globalOption);

{
"name": "NeteaseCloudMusicApi",
"version": "1.5.1",
"version": "1.5.2",
"description": "网易云音乐nodejs版接口模块",

@@ -5,0 +5,0 @@ "main": "build/app.js",

@@ -7,3 +7,3 @@ import request from 'request'

const option = deepCopy(globalOption)
const url = `${origin}/api/search/suggest/web`
const url = `${origin}/api/search/get`
const form = {

@@ -10,0 +10,0 @@ s: name,

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