@byelabel/utils
Advanced tools
+1
-1
@@ -1,2 +0,2 @@ | ||
| export * from './utils/config'; | ||
| export { loadEnv } from './utils/config'; | ||
| export * from './utils/crypt'; | ||
@@ -3,0 +3,0 @@ export * from './utils/data'; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAElC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAEvC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAElC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAEvC,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC"} |
+3
-2
@@ -39,4 +39,5 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.redis = exports.rabbit = exports.db = exports.money = exports.number = void 0; | ||
| __exportStar(require("./utils/config"), exports); | ||
| exports.redis = exports.rabbit = exports.db = exports.money = exports.number = exports.loadEnv = void 0; | ||
| var config_1 = require("./utils/config"); | ||
| Object.defineProperty(exports, "loadEnv", { enumerable: true, get: function () { return config_1.loadEnv; } }); | ||
| __exportStar(require("./utils/crypt"), exports); | ||
@@ -43,0 +44,0 @@ __exportStar(require("./utils/data"), exports); |
@@ -15,3 +15,3 @@ "use strict"; | ||
| function getCurrencyDecimals(code = 'USD') { | ||
| const upper = code.toUpperCase(); | ||
| const upper = (code || 'USD').toUpperCase(); | ||
| if (ZERO_DECIMAL_CURRENCIES.has(upper)) | ||
@@ -18,0 +18,0 @@ return 0; |
+1
-1
| { | ||
| "name": "@byelabel/utils", | ||
| "version": "2.1.2", | ||
| "version": "2.1.3", | ||
| "description": "ByeLabel Utilities", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 3 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 3 instances in 1 package
184412
0.09%3070
0.03%