@texting/charset-fullwidth
Advanced tools
Comparing version 0.0.6 to 0.0.9
@@ -55,17 +55,2 @@ 'use strict'; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
/** | ||
@@ -102,3 +87,3 @@ * Full-angle string -> Half-angle string | ||
_defineProperty(Conv, "cjkAndFullChars", text => { | ||
Conv.cjkAndFullChars = text => { | ||
let tx = '', | ||
@@ -112,5 +97,5 @@ i = 0, | ||
return tx; | ||
}); | ||
}; | ||
_defineProperty(Conv, "fullChars", text => { | ||
Conv.fullChars = text => { | ||
let tx = '', | ||
@@ -124,3 +109,3 @@ i = 0, | ||
return tx; | ||
}); | ||
}; | ||
@@ -127,0 +112,0 @@ class CharConv { |
@@ -51,17 +51,2 @@ import { parseNum as parseNum$1 } from '@typen/num-strict'; | ||
function _defineProperty(obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
/** | ||
@@ -98,3 +83,3 @@ * Full-angle string -> Half-angle string | ||
_defineProperty(Conv, "cjkAndFullChars", text => { | ||
Conv.cjkAndFullChars = text => { | ||
let tx = '', | ||
@@ -108,5 +93,5 @@ i = 0, | ||
return tx; | ||
}); | ||
}; | ||
_defineProperty(Conv, "fullChars", text => { | ||
Conv.fullChars = text => { | ||
let tx = '', | ||
@@ -120,3 +105,3 @@ i = 0, | ||
return tx; | ||
}); | ||
}; | ||
@@ -123,0 +108,0 @@ class CharConv { |
{ | ||
"name": "@texting/charset-fullwidth", | ||
"version": "0.0.6", | ||
"version": "0.0.9", | ||
"description": "Convert between half-width and full-width", | ||
@@ -18,6 +18,6 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@texting/charset-ansi": "^0.0.6", | ||
"@texting/enum-chars": "^0.0.6", | ||
"@texting/enum-chars-fullwidth": "^0.0.6", | ||
"@texting/lange": "^0.0.6", | ||
"@texting/charset-ansi": "^0.0.9", | ||
"@texting/enum-chars": "^0.0.9", | ||
"@texting/enum-chars-fullwidth": "^0.0.9", | ||
"@texting/lange": "^0.0.9", | ||
"@typen/num-strict": "^0.1.16" | ||
@@ -41,3 +41,3 @@ }, | ||
"homepage": "https://github.com/gadge/spare#readme", | ||
"gitHead": "09d4e20b4248bf0926710f5bba043492a1f47253" | ||
"gitHead": "ae20cb666203c42e8aa0140981d7dca4d3a52a10" | ||
} |
10296
252
+ Added@texting/charset-ansi@0.0.9(transitive)
+ Added@texting/enum-chars@0.0.9(transitive)
+ Added@texting/enum-chars-fullwidth@0.0.9(transitive)
+ Added@texting/lange@0.0.9(transitive)
+ Added@texting/regex-charset@0.0.9(transitive)
- Removed@texting/charset-ansi@0.0.6(transitive)
- Removed@texting/enum-chars@0.0.6(transitive)
- Removed@texting/enum-chars-fullwidth@0.0.6(transitive)
- Removed@texting/lange@0.0.6(transitive)
- Removed@texting/regex-charset@0.0.6(transitive)
Updated@texting/charset-ansi@^0.0.9
Updated@texting/enum-chars@^0.0.9
Updated@texting/lange@^0.0.9