uni-string
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -5,8 +5,2 @@ /** | ||
import { UString } from './src/core'; | ||
export { UString }; | ||
export default UString; | ||
declare const _default: typeof UString & { | ||
default: typeof UString; | ||
UString: typeof UString; | ||
}; | ||
export = _default; | ||
export = UString; |
@@ -6,5 +6,3 @@ "use strict"; | ||
const core_1 = require("./src/core"); | ||
exports.default = core_1.UString; | ||
// @ts-ignore | ||
core_1.UString.default = core_1.UString.UString = core_1.UString; | ||
module.exports = core_1.UString; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7O0dBRUc7QUFFSCxxQ0FBcUM7QUFFckMsaUJBQVMsY0FBTyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDcmVhdGVkIGJ5IHVzZXIgb24gMjAxOC8zLzE2LzAxNi5cbiAqL1xuXG5pbXBvcnQgeyBVU3RyaW5nIH0gZnJvbSAnLi9zcmMvY29yZSc7XG5cbmV4cG9ydCA9IFVTdHJpbmc7XG4iXX0= |
{ | ||
"name": "uni-string", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Unicode String object", | ||
@@ -40,9 +40,16 @@ "keywords": [ | ||
"scripts": { | ||
"prepublishOnly": "npm run test", | ||
"coverage": "npx nyc npm run test", | ||
"lint": "npx eslint **/*.ts", | ||
"ncu": "npx yarn-tool ncu -u", | ||
"prepublishOnly": "npm run ncu && npm run sort-package-json && npm run test", | ||
"sort-package-json": "npx sort-package-json ./package.json", | ||
"test": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"" | ||
}, | ||
"dependencies": { | ||
"es6-class-prototype": "^1.0.3", | ||
"runes2": "^0.4.4" | ||
"es6-class-prototype": "^1.0.4", | ||
"runes2": "^0.4.6" | ||
}, | ||
"devDependencies": { | ||
"@bluelovers/tsconfig": "^1.0.3" | ||
} | ||
} |
@@ -23,2 +23,6 @@ /** | ||
padStart(targetLength: number, padString: string): string; | ||
/** | ||
* 𠮷 134071 20bb7 | ||
*/ | ||
codePointAt(pos: number): number; | ||
static UString: typeof UString; | ||
@@ -30,2 +34,5 @@ /** | ||
static create(str: any, ...argv: any[]): UString; | ||
/** | ||
* 顯示 目前支援 unicode 的 method | ||
*/ | ||
static readonly support: { | ||
@@ -43,2 +50,3 @@ split?: boolean; | ||
padStart?: boolean; | ||
codePointAt?: boolean; | ||
[key: string]: boolean; | ||
@@ -63,3 +71,7 @@ }; | ||
static size(str: any): number; | ||
/** | ||
* 𠮷 134071 20bb7 | ||
*/ | ||
static codePointAt(str: any, pos: number): number; | ||
} | ||
export default UString; |
@@ -129,2 +129,3 @@ "use strict"; | ||
padString += padString.repeat(targetLength / pad.length); //append to original to ensure we are longer than needed | ||
// @ts-ignore | ||
pad = new UString(padString); | ||
@@ -147,2 +148,3 @@ } | ||
padString += padString.repeat(targetLength / pad.length); //append to original to ensure we are longer than needed | ||
// @ts-ignore | ||
pad = new UString(padString); | ||
@@ -153,5 +155,14 @@ } | ||
} | ||
/** | ||
* 𠮷 134071 20bb7 | ||
*/ | ||
codePointAt(pos) { | ||
return this.toArray()[pos].codePointAt(0); | ||
} | ||
static create(str, ...argv) { | ||
return new this(str, ...argv); | ||
} | ||
/** | ||
* 顯示 目前支援 unicode 的 method | ||
*/ | ||
static get support() { | ||
@@ -211,2 +222,8 @@ let prototype = es6_class_prototype_1.default(this); | ||
} | ||
/** | ||
* 𠮷 134071 20bb7 | ||
*/ | ||
static codePointAt(str, pos) { | ||
return this.create(str).codePointAt(pos); | ||
} | ||
} | ||
@@ -226,1 +243,2 @@ UString.UString = UString; | ||
exports = Object.freeze(exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5qcyIsInNvd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RyZXR1cm4gdGhpcy5jcmVhdGUoc3RyKS5zdGFydHNXaXRoKHNlYXJjaCwgcG9zKTtcblx0fVxuXG5cdHN0YXRpYyBlbmRzV2l0aChzdHIsIHNlYXJjaDogc3RyaW5nLCBsZW5ndGg/OiBudW1iZXIpXG5cdHtcblx0XHRyZXR1cm4gdGhpcy5jcmVhdGUoc3RyKS5lbmRzV2l0aChzZWFyY2gsIGxlbmd0aCk7XG5cdH1cblxuXHRnZXQgY2hhckxlbmd0aCgpXG5cdHtcblx0XHRyZXR1cm4gVVN0cmluZy50b0FycmF5KHRoaXMpLmxlbmd0aDtcblx0fVxuXG5cdHNpemUoKVxuXHR7XG5cdFx0cmV0dXJuIFVTdHJpbmcudG9BcnJheSh0aGlzKS5sZW5ndGg7XG5cdH1cblxuXHRzdGF0aWMgc2l6ZShzdHIpXG5cdHtcblx0XHRyZXR1cm4gdGhpcy5jcmVhdGUoc3RyKS5zaXplKCk7XG5cdH1cblxuXHQvKipcblx0ICog8KCutyAxMzQwNzEgMjBiYjdcblx0ICovXG5cdHN0YXRpYyBjb2RlUG9pbnRBdChzdHIsIHBvczogbnVtYmVyKTogbnVtYmVyXG5cdHtcblx0XHRyZXR1cm4gdGhpcy5jcmVhdGUoc3RyKS5jb2RlUG9pbnRBdChwb3MpXG5cdH1cblxufVxuXG5leHBvcnQgZGVmYXVsdCBVU3RyaW5nO1xuXG4vLyBAdHMtaWdub3JlXG5PYmplY3QuZGVmaW5lUHJvcGVydHkoVVN0cmluZywgXCJfX2VzTW9kdWxlXCIsIHsgdmFsdWU6IHRydWUgfSk7XG5cbi8vIEB0cy1pZ25vcmVcblVTdHJpbmcuZGVmYXVsdCA9IFVTdHJpbmcuVVN0cmluZyA9IFVTdHJpbmc7XG5cbi8vIEB0cy1pZ25vcmVcbmV4cG9ydHMgPSBPYmplY3QuZnJlZXplKGV4cG9ydHMpXG4iXX0= |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35928
322
1
Updatedes6-class-prototype@^1.0.4
Updatedrunes2@^0.4.6