New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

languagejs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

languagejs - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+4
-1
index.js

@@ -40,6 +40,9 @@ const englishNameToNativeName = require('./jsons/EnglishNameToNativeName.json')

const isRTL = (code) => {
if (!code in symbolToEnglishName) {
throw new Error(`Symbol ${code} is not exist or supported`)
}
if (!code in symbolToRtlWriting) {
return symbolToRtlWriting[code]
}
throw new Error(`Symbol ${code} is not exist or supported`)
return false
}

@@ -46,0 +49,0 @@

+1
-1
{
"name": "languagejs",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

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