New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@huanlin/163music-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huanlin/163music-api - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

lib/config.d.ts

1

lib/core/album.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.album = void 0;
//import * as request from 'request';
const http_1 = require("http");

@@ -5,0 +6,0 @@ const util_1 = require("../util");

4

lib/core/artistAlbums.js

@@ -6,3 +6,5 @@ "use strict";

const util_1 = require("../util");
const artistAlbums = (id, callback, otherOptions = { limit: 10, offset: 0 }) => {
const artistAlbums = (id, // 歌手ID
callback, // 回调函数
otherOptions = { limit: 10, offset: 0 }) => {
let reqOption = (0, util_1.getRequestOption)(`/api/artist/albums/${id}?offset=${otherOptions.offset}&limit=${otherOptions.limit}`);

@@ -9,0 +11,0 @@ return new Promise((resolve, reject) => {

{
"name": "@huanlin/163music-api",
"version": "0.0.1",
"version": "0.0.2",
"description": "NeteaseMusicApi's TypeScript Version",

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

{
"compilerOptions": {
"target": "es6",
"rootDir": "src",
"outDir": "lib",
"target": "es2020",
"module": "commonjs",
"sourceMap": false,
"removeComments": true,
"outDir": "lib"
"declaration": true,
"composite": true,
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
},
"files": [
"src/main.ts"
"include": [
"src"
]
}
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