Socket
Socket
Sign inDemoInstall

genius-lyrics-api

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

genius-lyrics-api - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

2

lib/searchSong.js

@@ -14,3 +14,3 @@ const axios = require('axios');

const song = optimizeQuery ? getTitle(title, artist) : `${title} ${artist}`;
const reqUrl = `${searchUrl}${encodeURI(song)}`;
const reqUrl = `${searchUrl}${encodeURIComponent(song)}`;
const headers = {

@@ -17,0 +17,0 @@ Authorization: 'Bearer ' + apiKey

{
"name": "genius-lyrics-api",
"version": "3.0.5",
"version": "3.0.6",
"main": "index.js",

@@ -5,0 +5,0 @@ "author": {

@@ -108,3 +108,3 @@ # genius-lyrics-api [![npm version](https://img.shields.io/npm/v/genius-lyrics-api.svg?style=flat)](https://www.npmjs.com/package/genius-lyrics-api)

Accepts an [options](#types) object. <br/>
Returns a promise that resolves to an object of type [searchResult](#types). Returns `null` if no matches are found.
Returns a promise that resolves to an array of type [searchResult](#types). Returns `null` if no matches are found.

@@ -111,0 +111,0 @@ ### `getSongById(id: (number | string))`

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