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

@lazy-cjk/jp-table-convert

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lazy-cjk/jp-table-convert - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.0.9](https://github.com/bluelovers/ws-regexp/compare/@lazy-cjk/jp-table-convert@1.0.8...@lazy-cjk/jp-table-convert@1.0.9) (2020-06-06)
### Bug Fixes
* bug of split character ([2c6fd00](https://github.com/bluelovers/ws-regexp/commit/2c6fd0053cd8e914ef667f7b66df3c5163d4c56b))
## [1.0.8](https://github.com/bluelovers/ws-regexp/compare/@lazy-cjk/jp-table-convert@1.0.7...@lazy-cjk/jp-table-convert@1.0.8) (2020-06-06)

@@ -8,0 +19,0 @@

2

lib/index.d.ts

@@ -72,1 +72,3 @@ import { IFrom2To, IOptions } from './types';

export declare function cjk2zhs(str: any, options?: IOptions): string;
declare const _default: typeof import(".");
export default _default;

9

lib/index.js

@@ -31,3 +31,3 @@ "use strict";

options = Object.assign({}, defaultOptions, options);
return core_1.default.split(str)
return core_1.default.split(str, '')
.map(function (char) {

@@ -94,3 +94,3 @@ if (options.skip && options.skip.indexOf(char) != -1) {

options = Object.assign({}, defaultOptions, options);
return core_1.default.split(str)
return core_1.default.split(str, '')
.map(function (char) {

@@ -135,3 +135,3 @@ if (options.skip && options.skip.indexOf(char) != -1) {

options = Object.assign({}, defaultOptions, options);
return core_1.default.split(str)
return core_1.default.split(str, '')
.map(function (char) {

@@ -166,3 +166,3 @@ if (options.skip && options.skip.indexOf(char) != -1) {

options = Object.assign({}, defaultOptions, options);
return core_1.default.split(str)
return core_1.default.split(str, '')
.map(function (char) {

@@ -184,2 +184,3 @@ if (options.skip && options.skip.indexOf(char) != -1) {

exports.cjk2zhs = cjk2zhs;
exports.default = exports;
//# sourceMappingURL=index.js.map

@@ -6,8 +6,6 @@ "use strict";

function _getdata(char, from, to, safe) {
if (safe) {
return (table_1.TABLE_SAFE[from][char]) ? table_1.TABLE_SAFE[from][char][to] : null;
}
return (table_1.TABLE[from][char]) ? table_1.TABLE[from][char][to] : null;
var _a;
return (_a = (safe ? table_1.TABLE_SAFE : table_1.TABLE)[from][char]) === null || _a === void 0 ? void 0 : _a[to];
}
exports._getdata = _getdata;
//# sourceMappingURL=util.js.map
{
"name": "@lazy-cjk/jp-table-convert",
"version": "1.0.8",
"version": "1.0.9",
"description": "轉換 簡繁日 當中共通的 漢字",

@@ -87,3 +87,3 @@ "keywords": [

},
"gitHead": "4b6fac9a9c6c7ef5f31dc2a0a1f0f46a1a310da8"
"gitHead": "49d57e3e321cb2f41da8be597ecbc338c461bf8e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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