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

chinese-numbers-converter

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chinese-numbers-converter - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

5

chinese-numbers.js

@@ -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,

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc