@alwatr/math
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08) | ||
### Features | ||
- **math:** simpleHashNumber ([dffb285](https://github.com/AliMD/alwatr/commit/dffb285e11cd9652d54d2d22956fc22177d16699)) | ||
# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06) | ||
@@ -8,0 +14,0 @@ |
@@ -145,2 +145,3 @@ import type { TransformRangeOptions } from './type.js'; | ||
export declare const calcDiscount: (price: number, finalPrice: number, decimal?: number, upSide?: boolean) => number; | ||
export declare const simpleHashNumber: (num: number) => string; | ||
//# sourceMappingURL=math.d.ts.map |
@@ -227,2 +227,5 @@ import { globalAlwatr } from '@alwatr/logger'; | ||
}; | ||
export const simpleHashNumber = (num) => { | ||
return (num >>> 0).toString(36); | ||
}; | ||
//# sourceMappingURL=math.js.map |
{ | ||
"name": "@alwatr/math", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "Simple useful Math library written in tiny TypeScript module.", | ||
@@ -33,6 +33,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@alwatr/logger": "^0.30.0", | ||
"@alwatr/logger": "^0.31.0", | ||
"tslib": "^2.5.0" | ||
}, | ||
"gitHead": "36f55780ccdcb1acc07400b0cdb3fe7b0df56cca" | ||
"gitHead": "896e64b58eed6e9048e870557ecf399d42705612" | ||
} |
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
55442
642
+ Added@alwatr/logger@0.31.0(transitive)
+ Added@alwatr/type@0.31.0(transitive)
- Removed@alwatr/logger@0.30.0(transitive)
- Removed@alwatr/type@0.30.0(transitive)
Updated@alwatr/logger@^0.31.0