translatte
Advanced tools
Comparing version 2.5.4 to 2.5.5
@@ -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 @@ |
AI detected security risk
Supply chain riskAI has determined that this package may contain potential security issues or vulnerabilities.
Found 1 instance in 1 package
643031
596
1