Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

node-lyrics

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-lyrics - npm Package Compare versions

Comparing version
2.1.2
to
2.1.3
+12
lib/utils.js
'use strict';
exports.LYRICS_API = 'https://lyrics.fandom.com/api.php';
exports.parseJSON = function(data) {
try {
var text = data && data.replace(/^\s*|\s*$/g, '');
return text && JSON.parse(text);
} catch (e) {
throw new Error('There was an issue parsing the response.');
}
};
+1
-1

@@ -1,2 +0,2 @@

#!/usr/bin/env node --no-warnings
#!/usr/bin/env node

@@ -3,0 +3,0 @@ const { Readable } = require('stream');

{
"name": "node-lyrics",
"version": "2.1.2",
"version": "2.1.3",
"description": "Get the lyrics to your favorite songs",

@@ -5,0 +5,0 @@ "main": "index.js",

'use strict';
exports.LYRICS_API = 'https://lyrics.fandom.com/api.php';
exports.parseJSON = function(data) {
try {
var text = data && data.replace(/^\s*|\s*$/g, '');
return text && JSON.parse(text);
} catch (e) {
throw new Error('There was an issue parsing the response.');
}
};