uni-string
Advanced tools
Comparing version 1.1.12 to 1.1.15
@@ -6,2 +6,58 @@ # Change Log | ||
## [1.1.15](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.14...uni-string@1.1.15) (2022-08-26) | ||
### ♻️ Chores | ||
* **release:** publish ([94a6794](https://github.com/bluelovers/ws-string/commit/94a6794030893ceec691d20444d562f4579ba967)) | ||
### 🔖 Miscellaneous | ||
* . ([ab44fbb](https://github.com/bluelovers/ws-string/commit/ab44fbb3afc8931caea68a1528c74a4e873b0731)) | ||
## [1.1.14](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.14...uni-string@1.1.14) (2022-08-26) | ||
### 🔖 Miscellaneous | ||
* . ([ab44fbb](https://github.com/bluelovers/ws-string/commit/ab44fbb3afc8931caea68a1528c74a4e873b0731)) | ||
## [1.1.14](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.13...uni-string@1.1.14) (2022-08-26) | ||
### 🔖 Miscellaneous | ||
* . ([f02f008](https://github.com/bluelovers/ws-string/commit/f02f0084480b8c21f85f55f1c0d5f0e0e86306dc)) | ||
## [1.1.13](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.12...uni-string@1.1.13) (2022-08-26) | ||
### 📦 Code Refactoring | ||
* update import ([7bace20](https://github.com/bluelovers/ws-string/commit/7bace20f1efebf35b133e58e6dd107bb2ceeb562)) | ||
### 🚨 Tests | ||
* update configuration ([a695a63](https://github.com/bluelovers/ws-string/commit/a695a63cafc1a89b5f86cdbeb4cf1295933c9039)) | ||
### 🔖 Miscellaneous | ||
* . ([b04d67c](https://github.com/bluelovers/ws-string/commit/b04d67c8ca4b321cf88b01d82beb645f43a052e1)) | ||
* . ([5bae238](https://github.com/bluelovers/ws-string/commit/5bae23820b5f8032d9715292c485ed3272909c36)) | ||
## [1.1.12](https://github.com/bluelovers/ws-string/compare/uni-string@1.1.11...uni-string@1.1.12) (2022-01-17) | ||
@@ -8,0 +64,0 @@ |
{ | ||
"name": "uni-string", | ||
"version": "1.1.12", | ||
"version": "1.1.15", | ||
"description": "Unicode String object", | ||
@@ -41,10 +41,13 @@ "keywords": [ | ||
"test": "jest -u", | ||
"test:jest": "jest --passWithNoTests", | ||
"test:jest:snapshot": "yarn run test:jest -- -u", | ||
"test:snapshot": "yarn run test -- -u", | ||
"npm:publish": "npm publish", | ||
"npm:publish:lerna": "npx lerna publish --yes --cd-version patch", | ||
"preversion": "yarn run test", | ||
"prepublish:lockfile": "npx sync-lockfile .", | ||
"prepublishOnly": "yarn run test", | ||
"postpublish": "yarn run postpublishOnly:add", | ||
"postpublish_": "git commit -m \"chore(release): publish\" .", | ||
"postpublishOnly:add": "npx yarn-tool root run postpublishOnly:add uni-string", | ||
"ncu": "npx yarn-tool ncu -u", | ||
"postpublishOnly:add": "npx yarn-tool root run postpublishOnly:add uni-string", | ||
"sort-package-json": "npx yarn-tool sort" | ||
@@ -54,6 +57,6 @@ }, | ||
"es6-class-prototype": "^1.0.4", | ||
"runes2": "^0.4.16", | ||
"tslib": "^2.3.1" | ||
"runes2": "^1.0.5", | ||
"tslib": "^2" | ||
}, | ||
"gitHead": "3da406ac9aa41fc9073385d8ffa834b2e56ad38a" | ||
"gitHead": "7e116a09cb8c2ab91ae5ed9dd44bf74d192a1d1d" | ||
} |
@@ -7,5 +7,4 @@ "use strict"; | ||
exports.UString = exports.STRING_PROTOTYPE = void 0; | ||
const tslib_1 = require("tslib"); | ||
const runes_1 = tslib_1.__importDefault(require("runes2/runes")); | ||
const es6_class_prototype_1 = tslib_1.__importDefault(require("es6-class-prototype")); | ||
const runes2_1 = require("runes2"); | ||
const es6_class_prototype_1 = require("es6-class-prototype"); | ||
exports.STRING_PROTOTYPE = Object.getOwnPropertyNames(String.prototype); | ||
@@ -32,7 +31,7 @@ class UString extends String { | ||
} | ||
return (0, runes_1.default)(String(str)); | ||
return (0, runes2_1.runes)(String(str)); | ||
} | ||
toArray() { | ||
if (!this._arr) { | ||
this._arr = (0, runes_1.default)(String(this)); | ||
this._arr = (0, runes2_1.runes)(String(this)); | ||
} | ||
@@ -170,3 +169,3 @@ return this._arr; | ||
static get support() { | ||
let prototype = (0, es6_class_prototype_1.default)(this); | ||
let prototype = (0, es6_class_prototype_1.classPrototype)(this); | ||
return Object.keys(prototype).reduce(function (a, b) { | ||
@@ -173,0 +172,0 @@ if (exports.STRING_PROTOTYPE.includes(b)) { |
Sorry, the diff of this file is not supported yet
34707
321
+ Addedrunes2@1.1.4(transitive)
- Removedrunes2@0.4.16(transitive)
Updatedrunes2@^1.0.5
Updatedtslib@^2