node-lyrics
Advanced tools
+12
| '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'); |
+1
-1
| { | ||
| "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", |
-12
| '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.'); | ||
| } | ||
| }; |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
16188
-0.09%