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 2.0.0 to 2.0.1

8

lib/utils/index.js
const checkOptions = (apiKey, title, artist) => {
switch (undefined) {
case apiKey:
switch ('undefined') {
case typeof apiKey:
throw '"apiKey" property is missing from options';
case title:
case typeof title:
throw '"title" property is missing from options';
case artist:
case typeof artist:
throw '"artist" property is missing from options';

@@ -9,0 +9,0 @@ default:

{
"name": "genius-lyrics-api",
"version": "2.0.0",
"version": "2.0.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "author": "Faisal Arshed",

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