chinese-numbers-converter
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -35,3 +35,6 @@ const SINGLE_ARABIC_NUMBER_REGEX = /\d/; | ||
'參': 3, | ||
// Outdated financial number variant which is commonly used as a normal word, | ||
// which causes false positives: | ||
// '參': 3, | ||
'叁': 3, | ||
@@ -38,0 +41,0 @@ '三': 3, |
{ | ||
"name": "chinese-numbers-converter", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Converts Chinese numerals in a string into Arabic numerals.", | ||
@@ -5,0 +5,0 @@ "main": "chinese-numbers.js", |
@@ -71,2 +71,3 @@ const should = require('should'); | ||
{ before: 'sample0123@example.com', after: 'sample0123@example.com' }, // do not convert 0123 to 123 inside a word | ||
{ before: '參', after: '參' }, // do not convert outdated financial variant | ||
]; | ||
@@ -73,0 +74,0 @@ |
24011
471