Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libmuse

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libmuse - npm Package Compare versions

Comparing version 0.0.95 to 0.0.96

10

esm/parsers/browsing.js

@@ -488,3 +488,3 @@ import STRINGS from "../locales/strings.js";

const result = STRINGS[get_option("language")];
return result[id] ?? id;
return result?.[id] ?? id;
}

@@ -495,5 +495,7 @@ export function __(value) {

const result = STRINGS[get_option("language")];
for (const key in result) {
if (result[key] === value) {
return key;
if (result) {
for (const key in result) {
if (result[key] === value) {
return key;
}
}

@@ -500,0 +502,0 @@ }

2

package.json

@@ -6,3 +6,3 @@ {

"name": "libmuse",
"version": "0.0.95",
"version": "0.0.96",
"description": "A library to interact with the YouTube Music (InnerTube) api.",

@@ -9,0 +9,0 @@ "tags": [

@@ -516,3 +516,3 @@ "use strict";

const result = strings_js_1.default[(0, setup_js_1.get_option)("language")];
return result[id] ?? id;
return result?.[id] ?? id;
}

@@ -524,5 +524,7 @@ exports._ = _;

const result = strings_js_1.default[(0, setup_js_1.get_option)("language")];
for (const key in result) {
if (result[key] === value) {
return key;
if (result) {
for (const key in result) {
if (result[key] === value) {
return key;
}
}

@@ -529,0 +531,0 @@ }

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