New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.21 to 1.0.22

5

lib/novel/filename.js

@@ -27,3 +27,4 @@ "use strict";

.replace(/^プロローグ/, '序')
.replace(/^エピローグ/, '終章');
.replace(/^エピローグ/, '終章')
.replace(/総/g, '總');
}

@@ -48,3 +49,3 @@ exports.jp = jp;

.replace(/([今此])后/g, '$1後')
.replace(/[么预枪丛迈这个尔儿从龙]+/g, function (s) {
.replace(/[么预枪丛迈这个尔儿从龙丝风]+/ug, function (s) {
return convert_1.cn2tw(s);

@@ -51,0 +52,0 @@ });

3

lib/novel/filename.ts

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

.replace(/^エピローグ/, '終章')
.replace(/総/g, '總')
;

@@ -68,3 +69,3 @@ }

.replace(/[么预枪丛迈这个尔儿从龙]+/g, function (s)
.replace(/[么预枪丛迈这个尔儿从龙丝风]+/ug, function (s)
{

@@ -71,0 +72,0 @@ return cn2tw(s)

@@ -1,4 +0,1 @@

/**
* Created by user on 2017/12/9/009.
*/
export interface IcharCodeAtFn {

@@ -5,0 +2,0 @@ (char: any, charCode: any, str: any): any;

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

Object.defineProperty(exports, "__esModule", { value: true });
const uni_string_1 = require("uni-string");
function array_unique(array) {

@@ -14,3 +15,4 @@ return (array).filter(function (el, index, arr) {

function split(str) {
return str.toString().split('');
return uni_string_1.default.split(str, '');
//return str.toString().split('');
}

@@ -17,0 +19,0 @@ exports.split = split;

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

import UString from 'uni-string';
export interface IcharCodeAtFn

@@ -21,3 +23,4 @@ {

{
return str.toString().split('');
return UString.split(str, '');
//return str.toString().split('');
}

@@ -24,0 +27,0 @@

@@ -37,2 +37,3 @@ export declare let _table_tw: {

'諸': string[];
'尋': string[];
};

@@ -39,0 +40,0 @@ export interface ISimpleTable {

@@ -150,2 +150,7 @@ "use strict";

],
'尋': [
'尋',
'寻',
'𡬶',
],
};

@@ -152,0 +157,0 @@ Object.keys(exports.table_plus)

@@ -154,2 +154,7 @@ /**

],
'尋': [
'尋',
'寻',
'𡬶',
],
};

@@ -156,0 +161,0 @@

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

@@ -64,3 +64,4 @@ "keywords": [

"deepmerge-plus": "^2.1.1",
"japanese": "^1.2.0"
"japanese": "^1.2.0",
"uni-string": "^1.0.1"
},

@@ -67,0 +68,0 @@ "devDependencies": {

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