Socket
Socket
Sign inDemoInstall

translatte

Package Overview
Dependencies
37
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.4 to 2.5.5

4

index.js

@@ -77,5 +77,5 @@ const querystring = require('querystring');

let texts = [];
['\\.\\s', ',\\s', '\\s'].forEach(t => {
['\\.\\s', ',\\s', '\\s', '$'].forEach(t => {
if (!texts || !texts.length) {
texts = text.match(new RegExp('[^]{1,' + chars + '}(' + t + '|$)', 'ig'));
texts = text.match(new RegExp('[^]{1,' + chars + '}(' + t + ')', 'ig'));
}

@@ -82,0 +82,0 @@ });

@@ -25,4 +25,5 @@ /**

'ny': 'Chichewa',
'zh-cn': 'Chinese Simplified',
'zh-tw': 'Chinese Traditional',
'zh': 'Chinese (Simplified)',
'zh-cn': 'Chinese (Simplified)',
'zh-tw': 'Chinese (Traditional)',
'co': 'Corsican',

@@ -48,2 +49,3 @@ 'hr': 'Croatian',

'haw': 'Hawaiian',
'he': 'Hebrew',
'iw': 'Hebrew',

@@ -86,3 +88,3 @@ 'hi': 'Hindi',

'pt': 'Portuguese',
'ma': 'Punjabi',
'pa': 'Punjabi',
'ro': 'Romanian',

@@ -89,0 +91,0 @@ 'ru': 'Russian',

{
"name": "translatte",
"version": "2.5.4",
"version": "2.5.5",
"description": "A free and unlimited translate for NodeJS",

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

@@ -73,3 +73,3 @@ /**

var window = {
TKK: config.get('TKK') || '0'
TKK: config.get('TKK') || '422854.923862967'
};

@@ -76,0 +76,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc