Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cjk-conv

Package Overview
Dependencies
Maintainers
1
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cjk-conv - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

1

lib/jp/table.js

@@ -46,2 +46,3 @@ "use strict";

["宮", "宮", "宫"],
["殻", "殻", "壳"],
].forEach(function ([jp, zht, zhs]) {

@@ -48,0 +49,0 @@ addNew(exports.TABLE, jp, zht, zhs);

@@ -58,2 +58,4 @@ /**

["殻", "殻", "壳"],
//["兎", "兔", "兔"],

@@ -60,0 +62,0 @@ //["兔", "兔", "兔"],

@@ -21,4 +21,9 @@ "use strict";

'恶': '惡',
'苏': '蘇',
'壳': '殻',
});
exports.table_tw2cn = Object.assign(_table_tw2cn, {});
exports.table_tw2cn = Object.assign(_table_tw2cn, {
'殻': '壳',
'殼': '壳',
});
exports.REGEXP_TEST = /[\u4E00-\u9FFF]/g;

@@ -25,0 +30,0 @@ function _call(fn, text, options = {}, ...argv) {

5

lib/zh/convert/index.ts

@@ -34,6 +34,9 @@ /**

'恶': '惡',
'苏': '蘇',
'壳': '殻',
});
export let table_tw2cn: ITable = Object.assign(_table_tw2cn, {
'殻': '壳',
'殼': '壳',
});

@@ -40,0 +43,0 @@

export declare let _table_tw: {
'罗': string;
'恶': string;
'苏': string;
};

@@ -12,2 +13,4 @@ export declare let table_jp: {

'闇': string[];
'囌': string[];
'苏': string[];
};

@@ -22,2 +25,5 @@ export declare let table_plus: {

'兎': string[];
'坏': string[];
'殻': string[];
'像': string[];
};

@@ -24,0 +30,0 @@ export interface ISimpleTable {

@@ -12,2 +12,3 @@ "use strict";

'恶': '惡',
'苏': '蘇',
};

@@ -37,2 +38,12 @@ exports.table_jp = {

],
'囌': [
'苏',
'蘇',
'囌',
],
'苏': [
'苏',
'蘇',
'囌',
],
};

@@ -76,2 +87,16 @@ exports.table_plus = {

],
'坏': [
'坯',
'坏',
"壊",
"壞",
],
'殻': [
'殻',
'殼',
'壳',
],
'像': [
'象',
],
};

@@ -78,0 +103,0 @@ Object.keys(exports.table_plus)

@@ -12,2 +12,3 @@ /**

'恶': '惡',
'苏': '蘇',
};

@@ -38,2 +39,12 @@

],
'囌': [
'苏',
'蘇',
'囌',
],
'苏': [
'苏',
'蘇',
'囌',
],
};

@@ -79,2 +90,16 @@

],
'坏': [
'坯',
'坏',
"壊",
"壞",
],
'殻': [
'殻',
'殼',
'壳',
],
'像': [
'象',
],
};

@@ -81,0 +106,0 @@

{
"name": "cjk-conv",
"version": "1.0.12",
"version": "1.0.13",
"description": "convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )",

@@ -5,0 +5,0 @@ "keywords": [

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