return-style
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -5,2 +5,4 @@ # Changelog | ||
### [0.11.3](https://github.com/BlackGlory/return-style/compare/v0.11.2...v0.11.3) (2021-01-04) | ||
### [0.11.2](https://github.com/BlackGlory/return-style/compare/v0.11.1...v0.11.2) (2021-01-04) | ||
@@ -7,0 +9,0 @@ |
@@ -47,2 +47,3 @@ "use strict"; | ||
onSome(callback) { | ||
; | ||
(() => __awaiter(this, void 0, void 0, function* () { | ||
@@ -56,2 +57,3 @@ const result = yield __classPrivateFieldGet(this, _promise); | ||
onNone(callback) { | ||
; | ||
(() => __awaiter(this, void 0, void 0, function* () { | ||
@@ -58,0 +60,0 @@ const result = yield __classPrivateFieldGet(this, _promise); |
@@ -48,2 +48,3 @@ "use strict"; | ||
onOk(callback) { | ||
; | ||
(() => __awaiter(this, void 0, void 0, function* () { | ||
@@ -57,2 +58,3 @@ const [succ, ret] = yield get_success_promise_1.getSuccessPromise(__classPrivateFieldGet(this, _promise)); | ||
onErr(callback) { | ||
; | ||
(() => __awaiter(this, void 0, void 0, function* () { | ||
@@ -59,0 +61,0 @@ const [fail, err] = yield get_failure_promise_1.getFailurePromise(__classPrivateFieldGet(this, _promise)); |
@@ -38,2 +38,3 @@ "use strict"; | ||
onSome(callback) { | ||
; | ||
(async () => { | ||
@@ -47,2 +48,3 @@ const result = await __classPrivateFieldGet(this, _promise); | ||
onNone(callback) { | ||
; | ||
(async () => { | ||
@@ -49,0 +51,0 @@ const result = await __classPrivateFieldGet(this, _promise); |
@@ -39,2 +39,3 @@ "use strict"; | ||
onOk(callback) { | ||
; | ||
(async () => { | ||
@@ -48,2 +49,3 @@ const [succ, ret] = await get_success_promise_1.getSuccessPromise(__classPrivateFieldGet(this, _promise)); | ||
onErr(callback) { | ||
; | ||
(async () => { | ||
@@ -50,0 +52,0 @@ const [fail, err] = await get_failure_promise_1.getFailurePromise(__classPrivateFieldGet(this, _promise)); |
{ | ||
"name": "return-style", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "Non-intrusively convert the result of any function or promise to the user's desired style.", | ||
@@ -30,4 +30,2 @@ "keywords": [ | ||
"types": "lib/es2018/index.d.ts", | ||
"module": "dist/es2018/index.mjs", | ||
"browser": "dist/es2018/index.umd.js", | ||
"repository": "git@github.com:BlackGlory/return-style.git", | ||
@@ -58,3 +56,3 @@ "author": "BlackGlory <woshenmedoubuzhidao@blackglory.me>", | ||
"@blackglory/jest-matchers": "^0.1.7", | ||
"@blackglory/types": "^0.2.1", | ||
"@blackglory/types": "^0.2.4", | ||
"@commitlint/cli": "^11.0.0", | ||
@@ -69,6 +67,7 @@ "@commitlint/config-conventional": "^11.0.0", | ||
"husky": "^4.3.6", | ||
"iterable-operator": "^0.12.4", | ||
"iterable-operator": "^0.12.6", | ||
"jest": "^26.6.3", | ||
"jest-extended": "^0.11.5", | ||
"rollup": "^2.35.1", | ||
"rollup-plugin-analyzer": "^4.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
@@ -75,0 +74,0 @@ "standard-version": "^9.1.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
569432
5153
21