New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simple-translation

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-translation - npm Package Compare versions

Comparing version

to
1.0.9

2

package.json
{
"name": "simple-translation",
"version": "1.0.8",
"version": "1.0.9",
"description": "A super basic and simple way to do language translations. Auto detects language from the browser. Supports compiled strings. Aims to be an uncomplicated translation package",

@@ -5,0 +5,0 @@ "main": "simple-translation.js",

@@ -53,2 +53,7 @@ export default class SimpleTranslation{

languageCode = this.defaultLanguage
if (!(this.isLanguageSupported(languageCode))){
console.error(`Simple-Translation: The DEFAULT language definition of '${languageCode}' Not Found.`)
return `<span style="color:red;">The Default Language of '${languageCode}' is Not Found'</span>`
}
}

@@ -55,0 +60,0 @@

Sorry, the diff of this file is not supported yet