+1
-1
@@ -6,3 +6,3 @@ declare const _default: (CURRENT_STAGE: string) => { | ||
| isDevEnv: () => boolean; | ||
| isBrazil: boolean; | ||
| isBrazil: () => boolean; | ||
| checkStageAvailable(exp: string): boolean; | ||
@@ -9,0 +9,0 @@ getCurrentStage: () => string; |
+1
-1
@@ -13,3 +13,3 @@ "use strict"; | ||
| isDevEnv: function () { return !/test|feat|prod/.test(CURRENT_STAGE); }, | ||
| isBrazil: /brazil/.test(CURRENT_STAGE), | ||
| isBrazil: function () { return /brazil/.test(CURRENT_STAGE); }, | ||
| checkStageAvailable: function (exp) { | ||
@@ -16,0 +16,0 @@ if (!exp || this.isDevEnv()) |
+1
-1
| { | ||
| "name": "@yqg/stage", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "Stage Util", | ||
@@ -5,0 +5,0 @@ "author": "YQG <developer@yangqianguan.com>", |
1962
1.55%