ytmusic_api_unofficial
Advanced tools
Comparing version 1.1.0-beta.1.10.0 to 1.1.0-beta.1.10.1
"use strict"; | ||
/* | ||
!> **Warning** This module is not yet stable and is subject to change. | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -3,0 +6,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; |
@@ -16,4 +16,2 @@ "use strict"; | ||
const requestManager_1 = require("../utils/requestManager"); | ||
const fs_1 = __importDefault(require("fs")); | ||
const path_1 = __importDefault(require("path")); | ||
const decodeCipher_1 = require("../utils/decodeCipher"); | ||
@@ -58,3 +56,2 @@ const DownloadQuality_1 = require("../types/DownloadQuality"); | ||
return reject(res.playabilityStatus); | ||
fs_1.default.writeFileSync(path_1.default.join(__dirname, './test.json'), JSON.stringify(res, null, 2)); | ||
let download = res.streamingData.adaptiveFormats.filter((item) => { | ||
@@ -61,0 +58,0 @@ if ((type === 'mp4' || type === 'webm') && !!item.audioQuality) |
{ | ||
"name": "ytmusic_api_unofficial", | ||
"version": "1.1.0-beta.1.10.0", | ||
"version": "1.1.0-beta.1.10.1", | ||
"description": "A simple API to get music from YouTube Music", | ||
@@ -9,3 +9,4 @@ "scripts": { | ||
"build": "tsc", | ||
"build_auto": "nodemon --watch src --exec \"npm run build\"" | ||
"build_auto": "nodemon --watch src --exec \"npm run build\"", | ||
"docs:build": "node docs/build.js && docsify serve docs" | ||
}, | ||
@@ -44,2 +45,3 @@ "nodemonConfig": { | ||
"@types/node": "^20.1.0", | ||
"fs-extra": "^11.1.1", | ||
"nodemon": "^2.0.22", | ||
@@ -46,0 +48,0 @@ "typescript": "^5.0.4" |
@@ -18,3 +18,8 @@ { | ||
"node_modules" | ||
], | ||
"include": [ | ||
"src/index.ts", | ||
"src/*.ts", | ||
"src/**/*.ts", | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
62
0
0
567725
4
5402