uni-string
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -6,2 +6,18 @@ # Change Log | ||
## [1.1.11](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.10...uni-string@1.1.11) (2021-07-05) | ||
### 📦 Code Refactoring | ||
* **typescript:** update override ([3e438f9](https://github.com/bluelovers/ws-string/commit/3e438f9e69e8f7a29f0bd1dffc7e6c3a1bdd8034)) | ||
### 🛠 Build System | ||
* **typescript:** importHelpers ([0716543](https://github.com/bluelovers/ws-string/commit/07165434bf3e251a31c4d27966ea53136e5bc2e0)) | ||
## [1.1.10](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.9...uni-string@1.1.10) (2020-06-20) | ||
@@ -8,0 +24,0 @@ |
{ | ||
"name": "uni-string", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Unicode String object", | ||
@@ -53,5 +53,6 @@ "keywords": [ | ||
"es6-class-prototype": "^1.0.4", | ||
"runes2": "^0.4.14" | ||
"runes2": "^0.4.15", | ||
"tslib": "^2.3.0" | ||
}, | ||
"gitHead": "66e34618cb203573f90cfe506f314bc3b3fbcb9e" | ||
"gitHead": "c754a575003606c63dff94c3694ae2213e930677" | ||
} |
@@ -5,9 +5,7 @@ "use strict"; | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UString = exports.STRING_PROTOTYPE = void 0; | ||
const runes_1 = __importDefault(require("runes2/runes")); | ||
const es6_class_prototype_1 = __importDefault(require("es6-class-prototype")); | ||
const tslib_1 = require("tslib"); | ||
const runes_1 = (0, tslib_1.__importDefault)(require("runes2/runes")); | ||
const es6_class_prototype_1 = (0, tslib_1.__importDefault)(require("es6-class-prototype")); | ||
exports.STRING_PROTOTYPE = Object.getOwnPropertyNames(String.prototype); | ||
@@ -34,7 +32,7 @@ class UString extends String { | ||
} | ||
return runes_1.default(String(str)); | ||
return (0, runes_1.default)(String(str)); | ||
} | ||
toArray() { | ||
if (!this._arr) { | ||
this._arr = runes_1.default(String(this)); | ||
this._arr = (0, runes_1.default)(String(this)); | ||
} | ||
@@ -172,3 +170,3 @@ return this._arr; | ||
static get support() { | ||
let prototype = es6_class_prototype_1.default(this); | ||
let prototype = (0, es6_class_prototype_1.default)(this); | ||
return Object.keys(prototype).reduce(function (a, b) { | ||
@@ -175,0 +173,0 @@ if (exports.STRING_PROTOTYPE.includes(b)) { |
Sorry, the diff of this file is not supported yet
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
32878
3
322
+ Addedtslib@^2.3.0
Updatedrunes2@^0.4.15